public class RepoRecord
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
RepoRecord(java.lang.String name,
java.lang.String description,
java.lang.String value)
Constructs a new RepoRecord
|
protected |
RepoRecord(XNode node)
Constructs a new RepoRecord
|
Modifier and Type | Method and Description |
---|---|
protected void |
fromXML(java.lang.String xml)
Populate this record with values in an XML String
|
protected void |
fromXNode(XNode node)
Populate this record with values in an XNode
|
java.lang.String |
getDescription() |
protected RepoDescriptor |
getDescriptor() |
java.lang.String |
getName() |
java.lang.String |
getValue() |
protected void |
setDescription(java.lang.String description) |
protected void |
setName(java.lang.String name) |
protected void |
setValue(java.lang.String value) |
protected java.lang.String |
toXML()
Creates an XML representation of this record
|
protected XNode |
toXNode()
Creates an XNode representation of this record
|
protected RepoRecord(java.lang.String name, java.lang.String description, java.lang.String value)
name
- a name to reference the recorddescription
- a description of the recordvalue
- the record's valueprotected RepoRecord(XNode node)
node
- an XNode containing the record's name, description and valueprotected RepoDescriptor getDescriptor()
public java.lang.String getName()
protected void setName(java.lang.String name)
public java.lang.String getDescription()
protected void setDescription(java.lang.String description)
public java.lang.String getValue()
protected void setValue(java.lang.String value)
protected XNode toXNode()
protected java.lang.String toXML()
protected void fromXNode(XNode node)
node
- the populated XNodeprotected void fromXML(java.lang.String xml)
xml
- the populated XML String