public abstract class UC4Object extends 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.
|
String |
getAccess()
Returns if this object is opened read only.
|
String |
getIdnr()
Returns the ID of the object.
|
int |
getModCount()
Returns the modification count of the object.
|
String |
getName()
Returns the name of the object.
|
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,
Element request,
ConnectionAttributes sessionInfo,
boolean override)
Fills the XML document with the values from the object.
|
void |
validate()
Validates the object.
|
public String getName()
public String getIdnr()
public String getType()
public DocuContainer docu()
public String getAccess()
public int getModCount()
public abstract boolean isExecutable()
true
if this Object can be executed.public void validate() throws InvalidObjectException
InvalidObjectException
is thrown.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, 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.Copyright © 2021. All rights reserved.