public abstract class AbstractBusinessObjectDocument extends java.lang.Object implements BusinessObjectDocument
BusinessObjectDocument
functions. Every BusinessObjectDocument
has an ApplicationArea
and a
DataArea
. This class provides methods to manipulate those containers.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
AbstractBusinessObjectDocument()
Default constructor
|
AbstractBusinessObjectDocument(ActivityToken newToken)
Constructs a Business Object Document given an activity token
|
AbstractBusinessObjectDocument(ActivityToken newToken,
DataArea newDataArea)
Creates a BusinessObjectDocument with an ActivityToken and a defined DataArea
|
Modifier and Type | Method and Description |
---|---|
VerbAction |
getAction(BaseVO endNode,
java.lang.String attr)
Returns the verb action given a value object and pathname
|
ApplicationArea |
getApplicationArea()
Returns the ApplicationArea inside this BusinessObjectDocument
|
DataArea |
getDataArea()
Returns the DataArea contained inside this BusinessObjectDocument
|
java.lang.Object |
getValue(java.lang.Object endNode,
java.lang.String property)
Gets the value of the given property of a given node
|
void |
setActivityToken(ActivityToken token)
Sets the BusinessObjectDocument's activity token
|
void |
setDataArea(DataArea area)
Sets the BusinessObjectDocument's data area
|
java.lang.String |
toString() |
public static final java.lang.String COPYRIGHT
public AbstractBusinessObjectDocument()
public AbstractBusinessObjectDocument(ActivityToken newToken)
newToken
- public AbstractBusinessObjectDocument(ActivityToken newToken, DataArea newDataArea)
newToken
- newDataArea
- public ApplicationArea getApplicationArea()
BusinessObjectDocument
getApplicationArea
in interface BusinessObjectDocument
public DataArea getDataArea()
BusinessObjectDocument
getDataArea
in interface BusinessObjectDocument
public java.lang.Object getValue(java.lang.Object endNode, java.lang.String property)
getValue
in interface BusinessObjectDocument
endNode
- the object that has the given propertyproperty
- the property whose value will be returned.NullObject.VALUE
will
be returnedBusinessObjectDocument.getValue(Object, String)
public void setDataArea(DataArea area)
setDataArea
in interface BusinessObjectDocument
dataArea
- public final void setActivityToken(ActivityToken token)
setActivityToken
in interface BusinessObjectDocument
token
- public final VerbAction getAction(BaseVO endNode, java.lang.String attr)
getAction
in interface BusinessObjectDocument
endNode
- The node that contains the given attribute. For example, if we have a calling chain
A.getB().getC().getPrice(), then for the attribute price (we use JavaBean convention) has endNode A.getB().getC().attr
- the property in a JavaBeanpublic java.lang.String toString()
toString
in class java.lang.Object