|
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.NamedPropertyImpl
DOM-Based implementation of the INamedProperty interface.
| Field Summary | |
protected Element |
elt
|
static String |
NAME_ELT_NAME
Tag name for names in this object. |
static String |
VALUE_ELT_NAME
Tag name for values in this object. |
protected IXArch |
xArch
|
static String |
XSD_TYPE_NAME
|
static String |
XSD_TYPE_NSURI
|
| Fields inherited from interface edu.uci.isr.xarch.messages.INamedProperty |
TYPE_METADATA |
| Fields inherited from interface edu.uci.isr.xarch.IXArchElement |
DEPTH_INFINITY, DEPTH_ONE, DEPTH_ZERO |
| Constructor Summary | |
NamedPropertyImpl(Element elt)
|
|
| Method Summary | |
void |
clearName()
Clear the name from this NamedProperty. |
void |
clearValue()
Clear the value from this NamedProperty. |
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. |
IPropertyName |
getName()
Get the name from this NamedProperty. |
protected static SequenceOrder |
getSequenceOrder()
|
XArchTypeMetadata |
getTypeMetadata()
Gets metadata describing the xsi:type of this element. |
IPropertyValue |
getValue()
Get the value from this NamedProperty. |
IXArch |
getXArch()
|
int |
hashCode()
|
boolean |
hasName(IPropertyName value)
Determine if this NamedProperty has the given name |
boolean |
hasValue(IPropertyValue value)
Determine if this NamedProperty has the given value |
boolean |
isEquivalent(INamedProperty c)
Determine if another NamedProperty is equivalent to this one, ignoring ID's. |
void |
setDOMNode(Node node)
Sets the DOM node on which this implementation is based. |
void |
setName(IPropertyName value)
Set the name for this NamedProperty. |
void |
setValue(IPropertyValue value)
Set the value for this NamedProperty. |
void |
setXArch(IXArch xArch)
|
| 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
public static final String NAME_ELT_NAME
public static final String VALUE_ELT_NAME
protected Element elt
| Constructor Detail |
public NamedPropertyImpl(Element elt)
| Method Detail |
public Node getDOMNode()
DOMBased
getDOMNode in interface DOMBasedpublic void setDOMNode(Node node)
DOMBased
setDOMNode in interface DOMBasednode - DOM nodeprotected static SequenceOrder getSequenceOrder()
public void setXArch(IXArch xArch)
setXArch in interface IXArchElementpublic IXArch getXArch()
getXArch in interface IXArchElementpublic IXArchElement cloneElement(int depth)
cloneElement in interface IXArchElementpublic boolean equals(Object o)
public int hashCode()
public XArchTypeMetadata getTypeMetadata()
IXArchElementxsi:type of this element.
getTypeMetadata in interface IXArchElementxsi:type of this element.public XArchInstanceMetadata getInstanceMetadata()
IXArchElement
getInstanceMetadata in interface IXArchElementpublic void setName(IPropertyName value)
INamedProperty
setName in interface INamedPropertyvalue - new namepublic void clearName()
INamedProperty
clearName in interface INamedPropertypublic IPropertyName getName()
INamedProperty
getName in interface INamedPropertypublic boolean hasName(IPropertyName value)
INamedProperty
hasName in interface INamedPropertyvalue - name to compare
true if the names are equivalent,
false otherwisepublic void setValue(IPropertyValue value)
INamedProperty
setValue in interface INamedPropertyvalue - new valuepublic void clearValue()
INamedProperty
clearValue in interface INamedPropertypublic IPropertyValue getValue()
INamedProperty
getValue in interface INamedPropertypublic boolean hasValue(IPropertyValue value)
INamedProperty
hasValue in interface INamedPropertyvalue - value to compare
true if the values are equivalent,
false otherwisepublic boolean isEquivalent(INamedProperty c)
INamedProperty
isEquivalent in interface INamedPropertyc - NamedProperty to compare to this one.
true if all the child elements of this
NamedProperty are equivalent, false otherwise.
|
xArch/xADL 2.0 Data Binding Library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||