public class Revision extends BaseList<Item> implements IWithExtAttributes
<revision> element of the Chan
g e Tracking module.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
AUTHOR_ATTR_NAME
author attribute name. |
static java.lang.String |
DATETIME_ATTR_NAME
datetime attribute name. |
static java.lang.String |
TAG_NAME
The tag element name constant.
|
static java.lang.String |
VERSION_ATTR_NAME
version attribute name. |
| Constructor and Description |
|---|
Revision()
Creates a new
Revision object. |
Revision(Revision original)
Copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAttributesString()
Gets the attributes string.
|
java.lang.String |
getAuthor()
Gets the author attribute value.
|
java.lang.String |
getClosingTag()
Gets the complete
revision closing tag. |
java.lang.String |
getDatetime()
Gets the value of the datetime attribute.
|
ExtAttributes |
getExtAttributes()
Gets the
ExtAttributes object for the parent object. |
java.lang.String |
getExtAttributeValue(java.lang.String namespaceURI,
java.lang.String localName)
Gets the value for a given extension attribute.
|
java.lang.String |
getOpeningTagName()
Gets the opening
revision tag name. |
java.lang.String |
getVersion()
Gets the value of the version attribute.
|
boolean |
hasExtAttribute()
Indicates if at least one extension attribute is present.
|
void |
setAuthor(java.lang.String author)
Sets the value for the author attribute.
|
void |
setDatetime(java.lang.String datetime)
Sets the value of the datetime attribute.
|
void |
setExtAttributes(ExtAttributes attributes)
Sets the
ExtAttributes object associated with this object. |
void |
setVersion(java.lang.String version)
Sets the value of the version attribute.
|
public static final java.lang.String TAG_NAME
public static final java.lang.String AUTHOR_ATTR_NAME
author attribute name.public static final java.lang.String DATETIME_ATTR_NAME
datetime attribute name.public static final java.lang.String VERSION_ATTR_NAME
version attribute name.public Revision()
Revision object.public Revision(Revision original)
original - the original object to duplicate.public java.lang.String getAuthor()
public void setAuthor(java.lang.String author)
author - the value for the author attribute.public java.lang.String getDatetime()
public void setDatetime(java.lang.String datetime)
datetime - the value of the datetime attribute.public java.lang.String getVersion()
public void setVersion(java.lang.String version)
version - the value of the version attribute.public ExtAttributes getExtAttributes()
IWithExtAttributesExtAttributes object for the parent object.
If none exists, one is created.getExtAttributes in interface IWithExtAttributesExtAttributes object for the parent object, never null.public void setExtAttributes(ExtAttributes attributes)
IWithExtAttributesExtAttributes object associated with this object.setExtAttributes in interface IWithExtAttributesattributes - the ExtAttributes object associated with this object.
If null, a new ExtAttributes object is created.public boolean hasExtAttribute()
IWithExtAttributeshasExtAttribute in interface IWithExtAttributespublic java.lang.String getExtAttributeValue(java.lang.String namespaceURI,
java.lang.String localName)
IWithExtAttributesgetExtAttributeValue in interface IWithExtAttributesnamespaceURI - the URI of the namespace for the attribute.localName - the name of the attribute.public java.lang.String getAttributesString()
public java.lang.String getOpeningTagName()
revision tag name.revision tag name.public java.lang.String getClosingTag()
revision closing tag.revision closing tag.