public class UDNodeProperties
extends java.lang.Object
UDNodeProperties
represents the user defined properties for a given node
The DIML format for properties is as follows
Constructor and Description |
---|
UDNodeProperties(java.lang.String diml)
Constructor
|
UDNodeProperties(java.lang.String location,
java.lang.String description,
boolean isLoad)
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
java.lang.StringBuffer |
getDIML() |
java.lang.String |
getLocation() |
boolean |
isLoad() |
void |
load(java.lang.String diml)
Loads this instance of
UDNodeProperties based on the given DIML |
void |
setDescription(java.lang.String description) |
void |
setLoad(boolean isLoad) |
void |
setLocation(java.lang.String location) |
public UDNodeProperties(java.lang.String diml)
Creates an instance of this class based on the given DIML
diml
- - the DIML describing these properties for the given nodepublic UDNodeProperties(java.lang.String location, java.lang.String description, boolean isLoad)
Creates an instance of this class based on the given location, description,
and isLoad
location
- - the location of the nodedescription
- - any exra notesisLoad
- - whether or not this node is the representation of a device which ispublic void load(java.lang.String diml)
UDNodeProperties
based on the given DIMLdiml
- - the DIML representation of UDNodePropertiespublic java.lang.StringBuffer getDIML()
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- the description to setpublic boolean isLoad()
public void setLoad(boolean isLoad)
isLoad
- the isLoad to setpublic java.lang.String getLocation()
public void setLocation(java.lang.String location)
location
- the location to set