Package org.netxms.client.maps.configs
Class MapDataSource
java.lang.Object
org.netxms.client.maps.configs.MapDataSource
- All Implemented Interfaces:
- NodeItemPair
- Direct Known Subclasses:
- MapImageDataSource,- MapLinkDataSource
DCI information for map line
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionDefault constructorMapDataSource(long nodeId, long dciId) Create DCI info for node/DCI ID pairMapDataSource(DciValue dci) Create DCI info from DciValue objectCopy constructor
- 
Method SummaryModifier and TypeMethodDescriptionvoidfillMessage(NXCPMessage msg, long baseId) Fill NXCP message with object datalonggetDciId()Get DCI idGet format string.longGet node IDintgetType()voidvoidsetDciId(long dciId) voidsetFormatString(String formatString) Set format string.voidsetInstance(String instance) voidsetNodeId(long nodeId) voidsetType(int type) 
- 
Field Details- 
ITEMpublic static final int ITEM- See Also:
 
- 
TABLEpublic static final int TABLE- See Also:
 
- 
nodeIdprotected long nodeId
- 
dciIdprotected long dciId
- 
typeprotected int type
- 
instance
- 
column
- 
formatString
 
- 
- 
Constructor Details- 
MapDataSourcepublic MapDataSource()Default constructor
- 
MapDataSourceCopy constructor- Parameters:
- src- source object
 
- 
MapDataSourceCreate DCI info from DciValue object- Parameters:
- dci- source DciValue object
 
- 
MapDataSourcepublic MapDataSource(long nodeId, long dciId) Create DCI info for node/DCI ID pair- Parameters:
- nodeId- node ID
- dciId- DCI ID
 
 
- 
- 
Method Details- 
fillMessageFill NXCP message with object data- Parameters:
- msg- NXCP message
- baseId- base field ID
 
- 
getFormatStringGet format string.- Returns:
- format string
 
- 
setFormatStringSet format string.- Parameters:
- formatString- new format string
 
- 
getInstance- Returns:
- the instance
 
- 
setInstance- Parameters:
- instance- the instance to set
 
- 
getColumn- Returns:
- the column
 
- 
setColumn- Parameters:
- column- the column to set
 
- 
getNodeIdpublic long getNodeId()Description copied from interface:NodeItemPairGet node ID- Specified by:
- getNodeIdin interface- NodeItemPair
- Returns:
- the nodeId
 
- 
setNodeIdpublic void setNodeId(long nodeId) - Parameters:
- nodeId- the nodeId to set
 
- 
getDciIdpublic long getDciId()Description copied from interface:NodeItemPairGet DCI id- Specified by:
- getDciIdin interface- NodeItemPair
- Returns:
- the dciId
 
- 
setDciIdpublic void setDciId(long dciId) - Parameters:
- dciId- the dciId to set
 
- 
getTypepublic int getType()- Returns:
- the type
 
- 
setTypepublic void setType(int type) - Parameters:
- type- the type to set
 
 
-