|
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.instance.InterfaceInstanceMappingImpl
DOM-Based implementation of the IInterfaceInstanceMapping interface.
| Field Summary | |
static String |
DESCRIPTION_ELT_NAME
Tag name for descriptions in this object. |
protected Element |
elt
|
static String |
ID_ATTR_NAME
Tag name for ids in this object. |
static String |
INNER_INTERFACE_INSTANCE_ELT_NAME
Tag name for innerInterfaceInstances in this object. |
static String |
OUTER_INTERFACE_INSTANCE_ELT_NAME
Tag name for outerInterfaceInstances in this object. |
protected IXArch |
xArch
|
static String |
XSD_TYPE_NAME
|
static String |
XSD_TYPE_NSURI
|
| Fields inherited from interface edu.uci.isr.xarch.instance.IInterfaceInstanceMapping |
TYPE_METADATA |
| Fields inherited from interface edu.uci.isr.xarch.IXArchElement |
DEPTH_INFINITY, DEPTH_ONE, DEPTH_ZERO |
| Constructor Summary | |
InterfaceInstanceMappingImpl(Element elt)
|
|
| Method Summary | |
void |
clearDescription()
Clear the description from this InterfaceInstanceMapping. |
void |
clearId()
Removes the id attribute from this object. |
void |
clearInnerInterfaceInstance()
Clear the innerInterfaceInstance from this InterfaceInstanceMapping. |
void |
clearOuterInterfaceInstance()
Clear the outerInterfaceInstance from this InterfaceInstanceMapping. |
IXArchElement |
cloneElement(int depth)
|
boolean |
equals(Object o)
|
IDescription |
getDescription()
Get the description from this InterfaceInstanceMapping. |
Node |
getDOMNode()
Gets the DOM node on which this implementation is based. |
String |
getId()
Gets the value of the id attribute on this object. |
IXMLLink |
getInnerInterfaceInstance()
Get the innerInterfaceInstance from this InterfaceInstanceMapping. |
XArchInstanceMetadata |
getInstanceMetadata()
Gets metadata describing the instance of this element. |
IXMLLink |
getOuterInterfaceInstance()
Get the outerInterfaceInstance from this InterfaceInstanceMapping. |
protected static SequenceOrder |
getSequenceOrder()
|
XArchTypeMetadata |
getTypeMetadata()
Gets metadata describing the xsi:type of this element. |
IXArch |
getXArch()
|
boolean |
hasDescription(IDescription value)
Determine if this InterfaceInstanceMapping has the given description |
int |
hashCode()
|
boolean |
hasId(String id)
Determines if this object's id attribute has the given value. |
boolean |
hasInnerInterfaceInstance(IXMLLink value)
Determine if this InterfaceInstanceMapping has the given innerInterfaceInstance |
boolean |
hasOuterInterfaceInstance(IXMLLink value)
Determine if this InterfaceInstanceMapping has the given outerInterfaceInstance |
boolean |
isEqual(IInterfaceInstanceMapping InterfaceInstanceMappingToCheck)
Determine if another InterfaceInstanceMapping has the same id as this one. |
boolean |
isEquivalent(IInterfaceInstanceMapping c)
Determine if another InterfaceInstanceMapping is equivalent to this one, ignoring ID's. |
void |
setDescription(IDescription value)
Set the description for this InterfaceInstanceMapping. |
void |
setDOMNode(Node node)
Sets the DOM node on which this implementation is based. |
void |
setId(String id)
Set the id attribute on this object. |
void |
setInnerInterfaceInstance(IXMLLink value)
Set the innerInterfaceInstance for this InterfaceInstanceMapping. |
void |
setOuterInterfaceInstance(IXMLLink value)
Set the outerInterfaceInstance for this InterfaceInstanceMapping. |
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 ID_ATTR_NAME
public static final String DESCRIPTION_ELT_NAME
public static final String OUTER_INTERFACE_INSTANCE_ELT_NAME
public static final String INNER_INTERFACE_INSTANCE_ELT_NAME
protected Element elt
| Constructor Detail |
public InterfaceInstanceMappingImpl(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 setId(String id)
setId in interface IInterfaceInstanceMappingid - attribute value.public void clearId()
clearId in interface IInterfaceInstanceMappingpublic String getId()
getId in interface IInterfaceInstanceMappingnull if that
attribute is not set.public boolean hasId(String id)
hasId in interface IInterfaceInstanceMappingid - value to test.
true if the values match, false otherwise.
Matching is done by string-matching.public void setDescription(IDescription value)
IInterfaceInstanceMapping
setDescription in interface IInterfaceInstanceMappingvalue - new descriptionpublic void clearDescription()
IInterfaceInstanceMapping
clearDescription in interface IInterfaceInstanceMappingpublic IDescription getDescription()
IInterfaceInstanceMapping
getDescription in interface IInterfaceInstanceMappingpublic boolean hasDescription(IDescription value)
IInterfaceInstanceMapping
hasDescription in interface IInterfaceInstanceMappingvalue - description to compare
true if the descriptions are equivalent,
false otherwisepublic void setOuterInterfaceInstance(IXMLLink value)
IInterfaceInstanceMapping
setOuterInterfaceInstance in interface IInterfaceInstanceMappingvalue - new outerInterfaceInstancepublic void clearOuterInterfaceInstance()
IInterfaceInstanceMapping
clearOuterInterfaceInstance in interface IInterfaceInstanceMappingpublic IXMLLink getOuterInterfaceInstance()
IInterfaceInstanceMapping
getOuterInterfaceInstance in interface IInterfaceInstanceMappingpublic boolean hasOuterInterfaceInstance(IXMLLink value)
IInterfaceInstanceMapping
hasOuterInterfaceInstance in interface IInterfaceInstanceMappingvalue - outerInterfaceInstance to compare
true if the outerInterfaceInstances are equivalent,
false otherwisepublic void setInnerInterfaceInstance(IXMLLink value)
IInterfaceInstanceMapping
setInnerInterfaceInstance in interface IInterfaceInstanceMappingvalue - new innerInterfaceInstancepublic void clearInnerInterfaceInstance()
IInterfaceInstanceMapping
clearInnerInterfaceInstance in interface IInterfaceInstanceMappingpublic IXMLLink getInnerInterfaceInstance()
IInterfaceInstanceMapping
getInnerInterfaceInstance in interface IInterfaceInstanceMappingpublic boolean hasInnerInterfaceInstance(IXMLLink value)
IInterfaceInstanceMapping
hasInnerInterfaceInstance in interface IInterfaceInstanceMappingvalue - innerInterfaceInstance to compare
true if the innerInterfaceInstances are equivalent,
false otherwisepublic boolean isEqual(IInterfaceInstanceMapping InterfaceInstanceMappingToCheck)
IInterfaceInstanceMapping
isEqual in interface IInterfaceInstanceMappingInterfaceInstanceMappingToCheck - InterfaceInstanceMapping to compare with this
one.public boolean isEquivalent(IInterfaceInstanceMapping c)
IInterfaceInstanceMapping
isEquivalent in interface IInterfaceInstanceMappingc - InterfaceInstanceMapping to compare to this one.
true if all the child elements of this
InterfaceInstanceMapping 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 | |||||||||