public class XmlProperty extends Object
| Constructor and Description |
|---|
XmlProperty()
Creates a new instance of XmlProperty.
|
XmlProperty(String name,
String owner)
Creates a new instance of XmlProperty.
|
XmlProperty(String name,
String owner,
String value)
Creates a new instance of XmlProperty.
|
| Modifier and Type | Method and Description |
|---|---|
List<XmlChannel> |
getChannels()
Get the list of channels associated with this property
|
String |
getName()
Getter for property name.
|
String |
getOwner()
Getter for property owner.
|
String |
getValue()
Getter for property value.
|
void |
setChannels(List<XmlChannel> channels)
set the channels associated with this property
|
void |
setName(String name)
Setter for property name.
|
void |
setOwner(String owner)
Setter for property owner.
|
void |
setValue(String value)
Setter for property value.
|
static String |
toLog(XmlProperty data)
Creates a compact string representation for the log.
|
public XmlProperty()
public XmlProperty(String name, String owner)
name - - property nameowner - - property ownerpublic String getName()
public void setName(String name)
name - property namepublic String getValue()
public void setValue(String value)
value - property valuepublic String getOwner()
public void setOwner(String owner)
owner - property ownerpublic List<XmlChannel> getChannels()
List of channelspublic void setChannels(List<XmlChannel> channels)
channels - - channels to be set to the propertypublic static String toLog(XmlProperty data)
data - the XmlProperty to logCopyright © 2016. All Rights Reserved.