Class ChassisPlacement

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

public class ChassisPlacement extends Object
Information about object placement
  • Constructor Details

    • ChassisPlacement

      public ChassisPlacement()
      Default constructor
    • ChassisPlacement

      public ChassisPlacement(UUID image, int height, int heightUnits, int width, int widthUnits, int positionHeight, int positionHeightUnits, int positionWidth, int positionWidthUnits, int oritentaiton)
      Create new placement definition from scratch.
      Parameters:
      image - GUID of representing image
      height - height inside chassis
      heightUnits - height units
      width - width inside chassis
      widthUnits - width units
      positionHeight - vertical position of top left corner
      positionHeightUnits - height units for positioning
      positionWidth - horizontal position of top left corner
      positionWidthUnits - width units for positioning
      oritentaiton - orientation
  • Method Details

    • createXml

      public String createXml() throws Exception
      Create XML from configuration.
      Returns:
      XML document
      Throws:
      Exception - if the schema for the object is not valid
    • getImage

      public UUID getImage()
      Returns image that will be used to display this element on chassis
      Returns:
      image UUID
    • getHeight

      public int getHeight()
      Returns:
      the height
    • getHeightUnits

      public int getHeightUnits()
      Returns:
      the heightUnits
    • getWidth

      public int getWidth()
      Returns:
      the width
    • getWidthUnits

      public int getWidthUnits()
      Returns:
      the widthUnits
    • getPositionHeight

      public int getPositionHeight()
      Returns:
      the positionHeight
    • getPositionHeightUnits

      public int getPositionHeightUnits()
      Returns:
      the positionHeightUnits
    • getPositionWidth

      public int getPositionWidth()
      Returns:
      the positionWidth
    • getPositionWidthUnits

      public int getPositionWidthUnits()
      Returns:
      the positionWidthUnits
    • getOritentaiton

      public int getOritentaiton()
      Returns:
      the oritentaiton
    • getPositionHeightInMm

      public double getPositionHeightInMm()
      Get unit position height in mm
      Returns:
      position height in mm
    • getPositionWidthInMm

      public double getPositionWidthInMm()
      Get unit position width in mm
      Returns:
      position width in mm
    • getHeightInMm

      public double getHeightInMm()
      Get unit height in mm
      Returns:
      unit height in mm
    • getWidthInMm

      public double getWidthInMm()
      Get unit unit in mm
      Returns:
      unit height in mm