|
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.pladiff.AddStructuralEntityImpl
DOM-Based implementation of the IAddStructuralEntity interface.
| Field Summary | |
static String |
ADD_INTERFACE_ELT_NAME
Tag name for addInterfaces in this object. |
static String |
ADD_LINK_ELT_NAME
Tag name for addLinks in this object. |
static String |
ADD_OPTIONAL_ELT_NAME
Tag name for addOptionals in this object. |
static String |
COMPONENT_ELT_NAME
Tag name for components in this object. |
static String |
CONNECTOR_ELT_NAME
Tag name for connectors in this object. |
protected Element |
elt
|
protected IXArch |
xArch
|
static String |
XSD_TYPE_NAME
|
static String |
XSD_TYPE_NSURI
|
| Fields inherited from interface edu.uci.isr.xarch.pladiff.IAddStructuralEntity |
TYPE_METADATA |
| Fields inherited from interface edu.uci.isr.xarch.IXArchElement |
DEPTH_INFINITY, DEPTH_ONE, DEPTH_ZERO |
| Constructor Summary | |
AddStructuralEntityImpl(Element elt)
|
|
| Method Summary | |
void |
clearAddInterface()
Clear the addInterface from this AddStructuralEntity. |
void |
clearAddLink()
Clear the addLink from this AddStructuralEntity. |
void |
clearAddOptional()
Clear the addOptional from this AddStructuralEntity. |
void |
clearComponent()
Clear the component from this AddStructuralEntity. |
void |
clearConnector()
Clear the connector from this AddStructuralEntity. |
IXArchElement |
cloneElement(int depth)
|
boolean |
equals(Object o)
|
IAddInterface |
getAddInterface()
Get the addInterface from this AddStructuralEntity. |
IAddLink |
getAddLink()
Get the addLink from this AddStructuralEntity. |
IAddOptional |
getAddOptional()
Get the addOptional from this AddStructuralEntity. |
IComponent |
getComponent()
Get the component from this AddStructuralEntity. |
IConnector |
getConnector()
Get the connector from this AddStructuralEntity. |
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()
|
XArchTypeMetadata |
getTypeMetadata()
Gets metadata describing the xsi:type of this element. |
IXArch |
getXArch()
|
boolean |
hasAddInterface(IAddInterface value)
Determine if this AddStructuralEntity has the given addInterface |
boolean |
hasAddLink(IAddLink value)
Determine if this AddStructuralEntity has the given addLink |
boolean |
hasAddOptional(IAddOptional value)
Determine if this AddStructuralEntity has the given addOptional |
boolean |
hasComponent(IComponent value)
Determine if this AddStructuralEntity has the given component |
boolean |
hasConnector(IConnector value)
Determine if this AddStructuralEntity has the given connector |
int |
hashCode()
|
boolean |
isEquivalent(IAddStructuralEntity c)
Determine if another AddStructuralEntity is equivalent to this one, ignoring ID's. |
void |
setAddInterface(IAddInterface value)
Set the addInterface for this AddStructuralEntity. |
void |
setAddLink(IAddLink value)
Set the addLink for this AddStructuralEntity. |
void |
setAddOptional(IAddOptional value)
Set the addOptional for this AddStructuralEntity. |
void |
setComponent(IComponent value)
Set the component for this AddStructuralEntity. |
void |
setConnector(IConnector value)
Set the connector for this AddStructuralEntity. |
void |
setDOMNode(Node node)
Sets the DOM node on which this implementation is based. |
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 COMPONENT_ELT_NAME
public static final String CONNECTOR_ELT_NAME
public static final String ADD_LINK_ELT_NAME
public static final String ADD_INTERFACE_ELT_NAME
public static final String ADD_OPTIONAL_ELT_NAME
protected Element elt
| Constructor Detail |
public AddStructuralEntityImpl(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 setComponent(IComponent value)
IAddStructuralEntity
setComponent in interface IAddStructuralEntityvalue - new componentpublic void clearComponent()
IAddStructuralEntity
clearComponent in interface IAddStructuralEntitypublic IComponent getComponent()
IAddStructuralEntity
getComponent in interface IAddStructuralEntitypublic boolean hasComponent(IComponent value)
IAddStructuralEntity
hasComponent in interface IAddStructuralEntityvalue - component to compare
true if the components are equivalent,
false otherwisepublic void setConnector(IConnector value)
IAddStructuralEntity
setConnector in interface IAddStructuralEntityvalue - new connectorpublic void clearConnector()
IAddStructuralEntity
clearConnector in interface IAddStructuralEntitypublic IConnector getConnector()
IAddStructuralEntity
getConnector in interface IAddStructuralEntitypublic boolean hasConnector(IConnector value)
IAddStructuralEntity
hasConnector in interface IAddStructuralEntityvalue - connector to compare
true if the connectors are equivalent,
false otherwisepublic void setAddLink(IAddLink value)
IAddStructuralEntity
setAddLink in interface IAddStructuralEntityvalue - new addLinkpublic void clearAddLink()
IAddStructuralEntity
clearAddLink in interface IAddStructuralEntitypublic IAddLink getAddLink()
IAddStructuralEntity
getAddLink in interface IAddStructuralEntitypublic boolean hasAddLink(IAddLink value)
IAddStructuralEntity
hasAddLink in interface IAddStructuralEntityvalue - addLink to compare
true if the addLinks are equivalent,
false otherwisepublic void setAddInterface(IAddInterface value)
IAddStructuralEntity
setAddInterface in interface IAddStructuralEntityvalue - new addInterfacepublic void clearAddInterface()
IAddStructuralEntity
clearAddInterface in interface IAddStructuralEntitypublic IAddInterface getAddInterface()
IAddStructuralEntity
getAddInterface in interface IAddStructuralEntitypublic boolean hasAddInterface(IAddInterface value)
IAddStructuralEntity
hasAddInterface in interface IAddStructuralEntityvalue - addInterface to compare
true if the addInterfaces are equivalent,
false otherwisepublic void setAddOptional(IAddOptional value)
IAddStructuralEntity
setAddOptional in interface IAddStructuralEntityvalue - new addOptionalpublic void clearAddOptional()
IAddStructuralEntity
clearAddOptional in interface IAddStructuralEntitypublic IAddOptional getAddOptional()
IAddStructuralEntity
getAddOptional in interface IAddStructuralEntitypublic boolean hasAddOptional(IAddOptional value)
IAddStructuralEntity
hasAddOptional in interface IAddStructuralEntityvalue - addOptional to compare
true if the addOptionals are equivalent,
false otherwisepublic boolean isEquivalent(IAddStructuralEntity c)
IAddStructuralEntity
isEquivalent in interface IAddStructuralEntityc - AddStructuralEntity to compare to this one.
true if all the child elements of this
AddStructuralEntity 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 | |||||||||