public class LinkConfig extends Object
Constructor and Description |
---|
LinkConfig()
Default constructor
|
LinkConfig(SingleDciConfig[] dciList,
Long[] objectStatusList,
int color,
int routing,
long[] bendPoints)
Constructor for creating XML
|
Modifier and Type | Method and Description |
---|---|
static LinkConfig |
createFromXml(String xml)
Create DCI list object from XML document
|
String |
createXml()
Create XML from configuration.
|
long[] |
getBendPoints() |
int |
getColor() |
SingleDciConfig[] |
getDciList() |
Long[] |
getObjectStatusList() |
int |
getRouting() |
void |
setBendPoints(long[] bendPoints) |
void |
setColor(int color) |
void |
setDciList(SingleDciConfig[] dciList) |
void |
setObjectStatusList(Long[] objectStatusList) |
void |
setRouting(int routing) |
String |
toString() |
public LinkConfig()
public LinkConfig(SingleDciConfig[] dciList, Long[] objectStatusList, int color, int routing, long[] bendPoints)
public static LinkConfig createFromXml(String xml) throws Exception
xml
- XML documentException
- if the object cannot be fully deserializedpublic String createXml() throws Exception
Exception
- if the schema for the object is not validpublic Long[] getObjectStatusList()
public void setObjectStatusList(Long[] objectStatusList)
objectStatusList
- the objectStatusList to setpublic SingleDciConfig[] getDciList()
public void setDciList(SingleDciConfig[] dciList)
dciList
- the dciList to setpublic int getColor()
public void setColor(int color)
color
- the color to setpublic int getRouting()
public void setRouting(int routing)
routing
- the routing to setpublic long[] getBendPoints()
public void setBendPoints(long[] bendPoints)
bendPoints
- the bendPoints to setCopyright © 2015. All rights reserved.