Class MappingTableDescriptor

java.lang.Object
org.netxms.client.mt.MappingTableDescriptor

public class MappingTableDescriptor extends Object
Information about mapping table without actual mapping data
  • Field Details

    • id

      protected int id
    • guid

      protected UUID guid
    • name

      protected String name
    • description

      protected String description
    • flags

      protected int flags
  • Constructor Details

    • MappingTableDescriptor

      public MappingTableDescriptor(NXCPMessage msg, long baseId)
      Create from NXCP message.
      Parameters:
      msg - NXCP message
      baseId - base field ID
    • MappingTableDescriptor

      public MappingTableDescriptor(int id, String name, String description, int flags)
      Create from scratch.
      Parameters:
      id - mapping table ID
      name - mapping table name
      description - mapping table description
      flags - mapping table flags (currently only MappingTable.NUMERIC_KEYS is supported)
  • Method Details

    • getId

      public final int getId()
      Get mapping table ID.
      Returns:
      mapping table ID
    • getName

      public final String getName()
      Returns:
      the name
    • getDescription

      public final String getDescription()
      Returns:
      the description
    • getFlags

      public final int getFlags()
      Returns:
      the flags
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • getGuid

      public UUID getGuid()
      Returns:
      the guid