Class PassiveRackElement
java.lang.Object
org.netxms.client.objects.configs.PassiveRackElement
Rack element configuration entry
- 
Field SummaryFieldsModifier and TypeFieldDescriptionintlongintint
- 
Constructor SummaryConstructorsConstructorDescriptionCreate empty rack attribute entryPassiveRackElement(NXCPMessage msg, long baseId) Rack passive element constructorRack passive element copy constructor
- 
Method SummaryModifier and TypeMethodDescriptionvoidfillMessage(NXCPMessage msg, long baseId) Fill message with passive rack element dataintlonggetId()getName()Get element nameGet orientationintintGet attribute position in rackgetType()Get element typevoidsetFrontImage(UUID frontImage) voidsetHeight(int height) voidsetId(long id) voidSet element namevoidsetOrientation(RackOrientation orientation) Set attribute orientationvoidsetPortCount(int portCount) voidsetPosition(int position) Set attribute positionvoidsetRearImage(UUID rearImage) voidSet element typetoString()To string method for object
- 
Field Details- 
idpublic long id
- 
name
- 
type
- 
positionpublic int position
- 
heightpublic int height
- 
orientation
- 
portCountpublic int portCount
- 
frontImage
- 
rearImage
 
- 
- 
Constructor Details- 
PassiveRackElementpublic PassiveRackElement()Create empty rack attribute entry
- 
PassiveRackElementRack passive element constructor- Parameters:
- msg- message from server
- baseId- base field ID
 
- 
PassiveRackElementRack passive element copy constructor- Parameters:
- src- element to copy
 
 
- 
- 
Method Details- 
fillMessageFill message with passive rack element data- Parameters:
- msg- message to fill
- baseId- base id to start from
 
- 
setTypeSet element type- Parameters:
- type- to set
 
- 
getTypeGet element type- Returns:
- element type
 
- 
setPositionpublic void setPosition(int position) Set attribute position- Parameters:
- position- to set
 
- 
getPositionpublic int getPosition()Get attribute position in rack- Returns:
- position
 
- 
setOrientationSet attribute orientation- Parameters:
- orientation- to set
 
- 
getOrientationGet orientation- Returns:
- orientation
 
- 
getNameGet element name- Returns:
- element name
 
- 
setNameSet element name- Parameters:
- name- new element name
 
- 
getIdpublic long getId()- Returns:
- the id
 
- 
setIdpublic void setId(long id) - Parameters:
- id- the id to set
 
- 
getPortCountpublic int getPortCount()- Returns:
- the portCount
 
- 
setPortCountpublic void setPortCount(int portCount) - Parameters:
- portCount- the portCount to set
 
- 
getHeightpublic int getHeight()- Returns:
- the height
 
- 
setHeightpublic void setHeight(int height) - Parameters:
- height- the height to set
 
- 
getFrontImage- Returns:
- the frontImage
 
- 
setFrontImage- Parameters:
- frontImage- the frontImage to set
 
- 
getRearImage- Returns:
- the rearImage
 
- 
setRearImage- Parameters:
- rearImage- the rearImage to set
 
- 
toStringTo string method for object
 
-