public class ValueObjectContext
extends java.lang.Object
ValueObjectContext
contains the
parent value object of the context, and the name of the node that leads to
the current context. For example, GiftRegistryVO's getGiftItems()
may returns
a list of GiftRegistryItemVO. A GiftRegistryVO's context may have
an instance of GiftRegistryVO as parent, and "giftItems" as its node name.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
ValueObjectContext(BaseVO theParent,
java.lang.String name)
Constructs a context for a value object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescriptor() |
java.lang.String |
getNodeName() |
BaseVO |
getParent() |
void |
setNodeName(java.lang.String name)
sets the node name
|
void |
setParent(BaseVO theParent)
sets the parent of the context
|
public static final java.lang.String COPYRIGHT
public ValueObjectContext(BaseVO theParent, java.lang.String name)
theParent
- The parent that holds this value objectname
- The name of the node that represents this value objectpublic BaseVO getParent()
public java.lang.String getNodeName()
public void setNodeName(java.lang.String name)
name
- the name of the node that leads to the contextpublic void setParent(BaseVO theParent)
theParent
- the parent of the contextpublic java.lang.String getDescriptor()