Package org.netxms.client.mt
Class MappingTableDescriptor
java.lang.Object
org.netxms.client.mt.MappingTableDescriptor
Information about mapping table without actual mapping data
-
Field Summary
-
Constructor Summary
ConstructorDescriptionMappingTableDescriptor
(int id, String name, String description, int flags) Create from scratch.MappingTableDescriptor
(NXCPMessage msg, long baseId) Create from NXCP message. -
Method Summary
-
Field Details
-
id
protected int id -
guid
-
name
-
description
-
flags
protected int flags
-
-
Constructor Details
-
MappingTableDescriptor
Create from NXCP message.- Parameters:
msg
- NXCP messagebaseId
- base field ID
-
MappingTableDescriptor
Create from scratch.- Parameters:
id
- mapping table IDname
- mapping table namedescription
- mapping table descriptionflags
- mapping table flags (currently onlyMappingTable.NUMERIC_KEYS
is supported)
-
-
Method Details
-
getId
public final int getId()Get mapping table ID.- Returns:
- mapping table ID
-
getName
- Returns:
- the name
-
getDescription
- Returns:
- the description
-
getFlags
public final int getFlags()- Returns:
- the flags
-
hashCode
public int hashCode() -
equals
-
getGuid
- Returns:
- the guid
-