public class XHeader
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
XHeader(com.uc4.util.XMLDocument doc)
Constructs a
XHeader using the specified XML document |
Modifier and Type | Method and Description |
---|---|
boolean |
addCustomAttribute(CustomAttribute customAttr)
Adds a
CustomAttribute to the object. |
java.util.Iterator<CustomAttribute> |
customAttributeIterator()
Returns an
java.util.Iterator of CustomAttribute . |
java.lang.String |
getArchiveKey1()
Returns the first archive key.
|
java.lang.String |
getArchiveKey2()
Returns the second archive key.
|
java.lang.String |
getCreated()
Indicates user, date and time regarding the creation of an object.
|
java.lang.String |
getLastModified()
Indicates user, date and time regarding the most recent modification of the object.
|
java.lang.String |
getLastUsed()
Indicates user, date and time regarding the most recent use of the object.
|
java.lang.String |
getSubType()
Returns the subtype of the object as String.
|
java.lang.String |
getTitle()
Returns the title of the object.
|
boolean |
isActive()
Returns
true if active flag is set. |
void |
removeAllCustomAttributes()
Removes all Custom Attributes.
|
boolean |
removeCustomAttribute(CustomAttribute customAttr)
Removes a
CustomAttribute . |
void |
setActive(boolean active)
Sets the active flag.
|
void |
setArchiveKey1(java.lang.String key1)
Sets the first archive key.
|
void |
setArchiveKey2(java.lang.String key2)
Sets the second archive key.
|
void |
setTitle(java.lang.String title)
Sets the title of the object.
|
protected void |
store(com.uc4.util.XMLDocument doc,
org.w3c.dom.Element request)
Stores data of this object under the
request element. |
protected XHeader(com.uc4.util.XMLDocument doc)
XHeader
using the specified XML documentdoc
- XML Documentpublic java.lang.String getArchiveKey1()
public java.lang.String getArchiveKey2()
public java.lang.String getTitle()
public void setArchiveKey1(java.lang.String key1)
key1
- first archive key.public void setArchiveKey2(java.lang.String key2)
key2
- second archive key.public void setTitle(java.lang.String title)
title
- Titlepublic java.lang.String getCreated()
public java.lang.String getLastModified()
public java.lang.String getLastUsed()
public boolean isActive()
true
if active flag is set.true
if active flag is set false
otherwisepublic void setActive(boolean active)
active
- Activepublic java.lang.String getSubType()
null
.
In case of Variable objects the return values are
Notification objects have the following return values:
Sub types of Workflows are:
Events return the following values: TT time event(timer), TS time event(time of execution) FS/FT filesystem, CN console, FA = filesystem automatic
protected void store(com.uc4.util.XMLDocument doc, org.w3c.dom.Element request)
request
element.doc
- XML Documentrequest
- root element, the header is stored in children elements of request
public java.util.Iterator<CustomAttribute> customAttributeIterator()
java.util.Iterator
of CustomAttribute
.public void removeAllCustomAttributes()
public boolean removeCustomAttribute(CustomAttribute customAttr)
CustomAttribute
.customAttr
- CustomAttribute
true
if the CustomAttribute
was removedpublic boolean addCustomAttribute(CustomAttribute customAttr)
CustomAttribute
to the object.customAttr
- CustomAttribute