|
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.types.InterfaceImpl
edu.uci.isr.xarch.options.OptionalInterfaceImpl
DOM-Based implementation of the IOptionalInterface interface.
| Field Summary | |
static String |
OPTIONAL_ELT_NAME
Tag name for optionals in this object. |
static String |
XSD_TYPE_NAME
|
static String |
XSD_TYPE_NSURI
|
| Fields inherited from class edu.uci.isr.xarch.types.InterfaceImpl |
DESCRIPTION_ELT_NAME, DIRECTION_ELT_NAME, elt, ID_ATTR_NAME, SIGNATURE_ELT_NAME, TYPE_ELT_NAME, xArch |
| Fields inherited from interface edu.uci.isr.xarch.options.IOptionalInterface |
TYPE_METADATA |
| Fields inherited from interface edu.uci.isr.xarch.IXArchElement |
DEPTH_INFINITY, DEPTH_ONE, DEPTH_ZERO |
| Constructor Summary | |
OptionalInterfaceImpl(Element elt)
|
|
| Method Summary | |
void |
clearOptional()
Clear the optional from this OptionalInterface. |
IXArchElement |
cloneElement(int depth)
|
XArchInstanceMetadata |
getInstanceMetadata()
Gets metadata describing the instance of this element. |
IOptional |
getOptional()
Get the optional from this OptionalInterface. |
protected static SequenceOrder |
getSequenceOrder()
|
XArchTypeMetadata |
getTypeMetadata()
Gets metadata describing the xsi:type of this element. |
boolean |
hasOptional(IOptional value)
Determine if this OptionalInterface has the given optional |
boolean |
isEquivalent(IOptionalInterface c)
Determine if another OptionalInterface is equivalent to this one, ignoring ID's. |
void |
setOptional(IOptional value)
Set the optional for this OptionalInterface. |
| Methods inherited from class edu.uci.isr.xarch.types.InterfaceImpl |
clearDescription, clearDirection, clearId, clearSignature, clearType, equals, getDescription, getDirection, getDOMNode, getId, getSignature, getType, getXArch, hasDescription, hasDirection, hashCode, hasId, hasSignature, hasType, isEqual, isEquivalent, setDescription, setDirection, setDOMNode, setId, setSignature, setType, setXArch |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface edu.uci.isr.xarch.types.IInterface |
clearDescription, clearDirection, clearId, clearSignature, clearType, getDescription, getDirection, getId, getSignature, getType, hasDescription, hasDirection, hasId, hasSignature, hasType, isEqual, isEquivalent, setDescription, setDirection, setId, setSignature, setType |
| Methods inherited from interface edu.uci.isr.xarch.IXArchElement |
getXArch, setXArch |
| Methods inherited from interface edu.uci.isr.xarch.DOMBased |
getDOMNode, setDOMNode |
| Field Detail |
public static final String XSD_TYPE_NSURI
public static final String XSD_TYPE_NAME
public static final String OPTIONAL_ELT_NAME
| Constructor Detail |
public OptionalInterfaceImpl(Element elt)
| Method Detail |
protected static SequenceOrder getSequenceOrder()
public IXArchElement cloneElement(int depth)
cloneElement in interface IXArchElementcloneElement in class InterfaceImplpublic XArchTypeMetadata getTypeMetadata()
IXArchElementxsi:type of this element.
getTypeMetadata in interface IXArchElementgetTypeMetadata in class InterfaceImplpublic XArchInstanceMetadata getInstanceMetadata()
IXArchElement
getInstanceMetadata in interface IXArchElementgetInstanceMetadata in class InterfaceImplpublic void setOptional(IOptional value)
IOptionalInterface
setOptional in interface IOptionalInterfacevalue - new optionalpublic void clearOptional()
IOptionalInterface
clearOptional in interface IOptionalInterfacepublic IOptional getOptional()
IOptionalInterface
getOptional in interface IOptionalInterfacepublic boolean hasOptional(IOptional value)
IOptionalInterface
hasOptional in interface IOptionalInterfacevalue - optional to compare
true if the optionals are equivalent,
false otherwisepublic boolean isEquivalent(IOptionalInterface c)
IOptionalInterface
isEquivalent in interface IOptionalInterfacec - OptionalInterface to compare to this one.
true if all the child elements of this
OptionalInterface 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 | |||||||||