Class PassiveRackElement

java.lang.Object
org.netxms.client.objects.configs.PassiveRackElement

public class PassiveRackElement extends Object
Rack element configuration entry
  • Field Details

    • id

      public long id
    • name

      public String name
    • type

    • position

      public int position
    • height

      public int height
    • orientation

      public RackOrientation orientation
    • portCount

      public int portCount
    • frontImage

      public UUID frontImage
    • rearImage

      public UUID rearImage
  • Constructor Details

    • PassiveRackElement

      public PassiveRackElement()
      Create empty rack attribute entry
    • PassiveRackElement

      public PassiveRackElement(NXCPMessage msg, long baseId)
      Rack passive element constructor
      Parameters:
      msg - message from server
      baseId - base field ID
    • PassiveRackElement

      public PassiveRackElement(PassiveRackElement src)
      Rack passive element copy constructor
      Parameters:
      src - element to copy
  • Method Details

    • fillMessage

      public void fillMessage(NXCPMessage msg, long baseId)
      Fill message with passive rack element data
      Parameters:
      msg - message to fill
      baseId - base id to start from
    • setType

      public void setType(PassiveRackElementType type)
      Set element type
      Parameters:
      type - to set
    • getType

      public PassiveRackElementType getType()
      Get element type
      Returns:
      element type
    • setPosition

      public void setPosition(int position)
      Set attribute position
      Parameters:
      position - to set
    • getPosition

      public int getPosition()
      Get attribute position in rack
      Returns:
      position
    • setOrientation

      public void setOrientation(RackOrientation orientation)
      Set attribute orientation
      Parameters:
      orientation - to set
    • getOrientation

      public RackOrientation getOrientation()
      Get orientation
      Returns:
      orientation
    • getName

      public String getName()
      Get element name
      Returns:
      element name
    • setName

      public void setName(String name)
      Set element name
      Parameters:
      name - new element name
    • getId

      public long getId()
      Returns:
      the id
    • setId

      public void setId(long id)
      Parameters:
      id - the id to set
    • getPortCount

      public int getPortCount()
      Returns:
      the portCount
    • setPortCount

      public void setPortCount(int portCount)
      Parameters:
      portCount - the portCount to set
    • getHeight

      public int getHeight()
      Returns:
      the height
    • setHeight

      public void setHeight(int height)
      Parameters:
      height - the height to set
    • getFrontImage

      public UUID getFrontImage()
      Returns:
      the frontImage
    • setFrontImage

      public void setFrontImage(UUID frontImage)
      Parameters:
      frontImage - the frontImage to set
    • getRearImage

      public UUID getRearImage()
      Returns:
      the rearImage
    • setRearImage

      public void setRearImage(UUID rearImage)
      Parameters:
      rearImage - the rearImage to set
    • toString

      public String toString()
      To string method for object
      Overrides:
      toString in class Object