|
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.messages.PropertyValueImpl
DOM-Based implementation of the IPropertyValue 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.messages.IPropertyValue |
TYPE_METADATA |
| Fields inherited from interface edu.uci.isr.xarch.IXArchElement |
DEPTH_INFINITY, DEPTH_ONE, DEPTH_ZERO |
| Constructor Summary | |
PropertyValueImpl(Element elt)
|
|
| Method Summary | |
void |
clearValue()
Remove the value for this PropertyValue. |
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 PropertyValue. |
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 PropertyValue has the given value. |
boolean |
isEquivalent(IPropertyValue PropertyValueToCheck)
Determine if another PropertyValue 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 PropertyValue. |
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 PropertyValueImpl(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)
IPropertyValue
setValue in interface IPropertyValuevalue - Value to set.public void clearValue()
IPropertyValue
clearValue in interface IPropertyValuepublic String getValue()
IPropertyValue
getValue in interface IPropertyValuepublic boolean hasValue(String value)
IPropertyValue
hasValue in interface IPropertyValuetrue if they match,
false otherwise.public boolean isEquivalent(IPropertyValue PropertyValueToCheck)
IPropertyValue
isEquivalent in interface IPropertyValuePropertyValueToCheck - PropertyValue 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 | |||||||||