|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ChildAssoc
Represents a special type of association between nodes, that of the parent-child relationship.
| Method Summary | |
|---|---|
void |
buildAssociation(Node parentNode,
Node childNode)
Performs the necessary work on the provided nodes to ensure that a bidirectional association is properly set up. |
Node |
getChild()
|
ChildAssociationRef |
getChildAssocRef()
A convenience method to get a reference to this association. |
java.lang.String |
getChildNodeName()
|
long |
getChildNodeNameCrc()
|
java.lang.Long |
getId()
|
int |
getIndex()
|
boolean |
getIsPrimary()
|
Node |
getParent()
|
QName |
getQname()
A convenience method to aggregate the qualified name's namespace and localname into a single qualified name. |
java.lang.String |
getQnameLocalName()
|
NamespaceEntity |
getQnameNamespace()
|
QNameEntity |
getTypeQName()
|
java.lang.Long |
getVersion()
|
void |
removeAssociation()
Performs the necessary work on the parent and
child nodes to maintain the inverse association sets |
void |
setChildNodeName(java.lang.String childNodeName)
|
void |
setChildNodeNameCrc(long crc)
|
void |
setIndex(int index)
Set the index of this association |
void |
setIsPrimary(boolean isPrimary)
|
void |
setQnameLocalName(java.lang.String localName)
|
void |
setQnameNamespace(NamespaceEntity namespace)
|
void |
setTypeQName(QNameEntity typeQName)
|
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Method Detail |
|---|
void buildAssociation(Node parentNode,
Node childNode)
The association attributes still have to be set up.
parentNode - childNode - #setName(String),
ChildAssoc.setIsPrimary(boolean)void removeAssociation()
parent and
child nodes to maintain the inverse association sets
ChildAssociationRef getChildAssocRef()
QName getQname()
java.lang.Long getId()
java.lang.Long getVersion()
Node getParent()
Node getChild()
QNameEntity getTypeQName()
void setTypeQName(QNameEntity typeQName)
typeQName - the association's dictionary typejava.lang.String getChildNodeName()
void setChildNodeName(java.lang.String childNodeName)
childNodeName - the name of the child node, which may be truncated and
terminated with ... in order to not exceed 50 characters.long getChildNodeNameCrc()
void setChildNodeNameCrc(long crc)
crc - the crc valueNamespaceEntity getQnameNamespace()
void setQnameNamespace(NamespaceEntity namespace)
namespace - the namespace of the association's local QNamejava.lang.String getQnameLocalName()
void setQnameLocalName(java.lang.String localName)
localName - the localname of the association's local QNameboolean getIsPrimary()
void setIsPrimary(boolean isPrimary)
int getIndex()
void setIndex(int index)
index - the association index
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||