|
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.boolguard.EqualsImpl
DOM-Based implementation of the IEquals interface.
| Field Summary | |
protected Element |
elt
|
static String |
SYMBOL_ELT_NAME
Tag name for symbols in this object. |
static String |
SYMBOL2_ELT_NAME
Tag name for symbol2s 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.boolguard.IEquals |
TYPE_METADATA |
| Fields inherited from interface edu.uci.isr.xarch.IXArchElement |
DEPTH_INFINITY, DEPTH_ONE, DEPTH_ZERO |
| Constructor Summary | |
EqualsImpl(Element elt)
|
|
| Method Summary | |
void |
clearSymbol()
Clear the symbol from this Equals. |
void |
clearSymbol2()
Clear the symbol2 from this Equals. |
void |
clearValue()
Clear the value from this Equals. |
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. |
protected static SequenceOrder |
getSequenceOrder()
|
ISymbol |
getSymbol()
Get the symbol from this Equals. |
ISymbol |
getSymbol2()
Get the symbol2 from this Equals. |
XArchTypeMetadata |
getTypeMetadata()
Gets metadata describing the xsi:type of this element. |
IValue |
getValue()
Get the value from this Equals. |
IXArch |
getXArch()
|
int |
hashCode()
|
boolean |
hasSymbol(ISymbol value)
Determine if this Equals has the given symbol |
boolean |
hasSymbol2(ISymbol value)
Determine if this Equals has the given symbol2 |
boolean |
hasValue(IValue value)
Determine if this Equals has the given value |
boolean |
isEquivalent(IEquals c)
Determine if another Equals is equivalent to this one, ignoring ID's. |
void |
setDOMNode(Node node)
Sets the DOM node on which this implementation is based. |
void |
setSymbol(ISymbol value)
Set the symbol for this Equals. |
void |
setSymbol2(ISymbol value)
Set the symbol2 for this Equals. |
void |
setValue(IValue value)
Set the value for this Equals. |
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 SYMBOL_ELT_NAME
public static final String SYMBOL2_ELT_NAME
public static final String VALUE_ELT_NAME
protected Element elt
| Constructor Detail |
public EqualsImpl(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 setSymbol(ISymbol value)
IEquals
setSymbol in interface IEqualsvalue - new symbolpublic void clearSymbol()
IEquals
clearSymbol in interface IEqualspublic ISymbol getSymbol()
IEquals
getSymbol in interface IEqualspublic boolean hasSymbol(ISymbol value)
IEquals
hasSymbol in interface IEqualsvalue - symbol to compare
true if the symbols are equivalent,
false otherwisepublic void setSymbol2(ISymbol value)
IEquals
setSymbol2 in interface IEqualsvalue - new symbol2public void clearSymbol2()
IEquals
clearSymbol2 in interface IEqualspublic ISymbol getSymbol2()
IEquals
getSymbol2 in interface IEqualspublic boolean hasSymbol2(ISymbol value)
IEquals
hasSymbol2 in interface IEqualsvalue - symbol2 to compare
true if the symbol2s are equivalent,
false otherwisepublic void setValue(IValue value)
IEquals
setValue in interface IEqualsvalue - new valuepublic void clearValue()
IEquals
clearValue in interface IEqualspublic IValue getValue()
IEquals
getValue in interface IEqualspublic boolean hasValue(IValue value)
IEquals
hasValue in interface IEqualsvalue - value to compare
true if the values are equivalent,
false otherwisepublic boolean isEquivalent(IEquals c)
IEquals
isEquivalent in interface IEqualsc - Equals to compare to this one.
true if all the child elements of this
Equals 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 | |||||||||