public class DataArea
extends java.lang.Object
implements java.io.Serializable
DataArea
is a container inside of a BusinessObjectDocument
.
It contains a verb and several nouns. The verb describes the actions to be performed
on the nouns.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
DataArea()
Default constructor
|
DataArea(Verb verb,
java.lang.Object[] theNouns)
Create the DataArea with a Verb and one or more Nouns
|
Modifier and Type | Method and Description |
---|---|
void |
addNoun(java.lang.Object noun)
Adds a single noun to the DataArea
|
java.util.List |
getNouns()
Returns a List of Nouns in the DataArea
|
java.lang.Object[] |
getNounsArray() |
static java.lang.String |
getNounsRootName() |
Verb |
getVerb()
Returns the Verb in the DataArea
|
void |
setNouns(java.util.List pNouns)
Sets the list of nouns contained in this data area
|
void |
setNounsArray(java.lang.Object[] pNouns)
A way to add 1 or more verbs to the DataArea
|
void |
setVerb(Verb verb)
Sets the Verb in the DataArea
|
java.lang.String |
toString() |
public static final java.lang.String COPYRIGHT
public DataArea()
public DataArea(Verb verb, java.lang.Object[] theNouns)
verb
- theNouns
- public Verb getVerb()
public void setVerb(Verb verb)
verb
- public java.util.List getNouns()
public void setNounsArray(java.lang.Object[] pNouns)
nouns
- public void setNouns(java.util.List pNouns)
nouns
- the list of nouns to be setpublic void addNoun(java.lang.Object noun)
noun
- public java.lang.Object[] getNounsArray()
public static java.lang.String getNounsRootName()
VerbPath
if the context of
the path is an instance of DataArea
public java.lang.String toString()
toString
in class java.lang.Object