public abstract class UC4Object
extends java.lang.Object
Constructor and Description |
---|
UC4Object() |
Modifier and Type | Method and Description |
---|---|
DocuContainer |
docu()
This method provides access to the text and structured documentation of an object.
|
java.lang.String |
getAccess()
Returns if this object is opened read only.
|
java.lang.String |
getIdnr()
Returns the ID of the object.
|
int |
getModCount()
Returns the modification count of the object.
|
java.lang.String |
getName()
Returns the name of the object.
|
java.lang.String |
getType()
Returns the type of the object, for example JOBP, VARA or SCRI.
|
abstract boolean |
isExecutable()
Returns
true if this Object can be executed. |
boolean |
isOldVersion()
Returns
true if the opened object is actually an older version of an object. |
void |
load(com.uc4.util.XMLDocument doc,
ConnectionAttributes session)
Fills the object from a XML document.
|
void |
store(com.uc4.util.XMLDocument doc,
org.w3c.dom.Element request,
ConnectionAttributes sessionInfo,
boolean override)
Fills the XML document with the values from the object.
|
void |
validate()
Validates the object.
|
public java.lang.String getName()
public java.lang.String getIdnr()
public java.lang.String getType()
public DocuContainer docu()
public java.lang.String getAccess()
public int getModCount()
public abstract boolean isExecutable()
true
if this Object can be executed.public void validate() throws java.io.InvalidObjectException
InvalidObjectException
is thrown.java.io.InvalidObjectException
- If the object is not validpublic void load(com.uc4.util.XMLDocument doc, ConnectionAttributes session)
doc
- XML Documentsession
- Session informationpublic void store(com.uc4.util.XMLDocument doc, org.w3c.dom.Element request, ConnectionAttributes sessionInfo, boolean override)
doc
- XML documentrequest
- Request elementsessionInfo
- Information about the current sessionoverride
- Override existing objectpublic boolean isOldVersion()
true
if the opened object is actually an older version of an object.