|
xArch/xADL 2.0 Data Binding Library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.uci.isr.xarch.versions.VersionIDImpl
DOM-Based implementation of the IVersionID interface.
| Field Summary | |
protected Element |
elt
|
protected IXArch |
xArch
|
static String |
XSD_TYPE_NAME
|
static String |
XSD_TYPE_NSURI
|
| Fields inherited from interface edu.uci.isr.xarch.versions.IVersionID |
TYPE_METADATA |
| Fields inherited from interface edu.uci.isr.xarch.IXArchElement |
DEPTH_INFINITY, DEPTH_ONE, DEPTH_ZERO |
| Constructor Summary | |
VersionIDImpl(Element elt)
|
|
| Method Summary | |
void |
clearValue()
Remove the value for this VersionID. |
IXArchElement |
cloneElement(int depth)
|
boolean |
equals(Object o)
|
Node |
getDOMNode()
Gets the DOM node on which this implementation is based. |
XArchInstanceMetadata |
getInstanceMetadata()
Gets metadata describing the instance of this element. |
XArchTypeMetadata |
getTypeMetadata()
Gets metadata describing the xsi:type of this element. |
String |
getValue()
Get the value for this VersionID. |
IXArch |
getXArch()
Gets the xArch element that is the document element of the document that is this object's context. |
int |
hashCode()
|
boolean |
hasValue(String value)
Determine if this VersionID has the given value. |
boolean |
isEquivalent(IVersionID VersionIDToCheck)
Determine if another VersionID is equivalent to this one. |
void |
setDOMNode(Node node)
Sets the DOM node on which this implementation is based. |
void |
setValue(String value)
Set the value for this VersionID. |
void |
setXArch(IXArch xArch)
Set the xArch element that is the document element of the document that is this object's context. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String XSD_TYPE_NSURI
public static final String XSD_TYPE_NAME
protected IXArch xArch
protected Element elt
| Constructor Detail |
public VersionIDImpl(Element elt)
| Method Detail |
public Node getDOMNode()
DOMBased
getDOMNode in interface DOMBasedpublic void setDOMNode(Node node)
DOMBased
setDOMNode in interface DOMBasednode - DOM nodepublic boolean equals(Object o)
public int hashCode()
public void setXArch(IXArch xArch)
setXArch in interface IXArchElementxArch - XArch document element for this element.public IXArch getXArch()
getXArch in interface IXArchElementpublic IXArchElement cloneElement(int depth)
cloneElement in interface IXArchElementpublic void setValue(String value)
IVersionID
setValue in interface IVersionIDvalue - Value to set.public void clearValue()
IVersionID
clearValue in interface IVersionIDpublic String getValue()
IVersionID
getValue in interface IVersionIDpublic boolean hasValue(String value)
IVersionID
hasValue in interface IVersionIDtrue if they match,
false otherwise.public boolean isEquivalent(IVersionID VersionIDToCheck)
IVersionID
isEquivalent in interface IVersionIDVersionIDToCheck - VersionID to compare against
this one.
true if their values are equivalent,
false otherwise.public XArchTypeMetadata getTypeMetadata()
IXArchElementxsi:type of this element.
getTypeMetadata in interface IXArchElementxsi:type of this element.public XArchInstanceMetadata getInstanceMetadata()
IXArchElement
getInstanceMetadata in interface IXArchElement
|
xArch/xADL 2.0 Data Binding Library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||