|
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.diff.AddImpl
DOM-Based implementation of the IAdd interface.
| Field Summary | |
static String |
COMPONENT_ELT_NAME
Tag name for components in this object. |
static String |
COMPONENT_TYPE_ELT_NAME
Tag name for componentTypes in this object. |
static String |
CONNECTOR_ELT_NAME
Tag name for connectors in this object. |
static String |
CONNECTOR_TYPE_ELT_NAME
Tag name for connectorTypes in this object. |
protected Element |
elt
|
static String |
GROUP_ELT_NAME
Tag name for groups in this object. |
static String |
INTERFACE_TYPE_ELT_NAME
Tag name for interfaceTypes in this object. |
static String |
LINK_ELT_NAME
Tag name for links in this object. |
protected IXArch |
xArch
|
static String |
XSD_TYPE_NAME
|
static String |
XSD_TYPE_NSURI
|
| Fields inherited from interface edu.uci.isr.xarch.diff.IAdd |
TYPE_METADATA |
| Fields inherited from interface edu.uci.isr.xarch.IXArchElement |
DEPTH_INFINITY, DEPTH_ONE, DEPTH_ZERO |
| Constructor Summary | |
AddImpl(Element elt)
|
|
| Method Summary | |
void |
clearComponent()
Clear the component from this Add. |
void |
clearComponentType()
Clear the componentType from this Add. |
void |
clearConnector()
Clear the connector from this Add. |
void |
clearConnectorType()
Clear the connectorType from this Add. |
void |
clearGroup()
Clear the group from this Add. |
void |
clearInterfaceType()
Clear the interfaceType from this Add. |
void |
clearLink()
Clear the link from this Add. |
IXArchElement |
cloneElement(int depth)
|
boolean |
equals(Object o)
|
IComponent |
getComponent()
Get the component from this Add. |
IComponentType |
getComponentType()
Get the componentType from this Add. |
IConnector |
getConnector()
Get the connector from this Add. |
IConnectorType |
getConnectorType()
Get the connectorType from this Add. |
Node |
getDOMNode()
Gets the DOM node on which this implementation is based. |
IGroup |
getGroup()
Get the group from this Add. |
XArchInstanceMetadata |
getInstanceMetadata()
Gets metadata describing the instance of this element. |
IInterfaceType |
getInterfaceType()
Get the interfaceType from this Add. |
ILink |
getLink()
Get the link from this Add. |
protected static SequenceOrder |
getSequenceOrder()
|
XArchTypeMetadata |
getTypeMetadata()
Gets metadata describing the xsi:type of this element. |
IXArch |
getXArch()
|
boolean |
hasComponent(IComponent value)
Determine if this Add has the given component |
boolean |
hasComponentType(IComponentType value)
Determine if this Add has the given componentType |
boolean |
hasConnector(IConnector value)
Determine if this Add has the given connector |
boolean |
hasConnectorType(IConnectorType value)
Determine if this Add has the given connectorType |
boolean |
hasGroup(IGroup value)
Determine if this Add has the given group |
int |
hashCode()
|
boolean |
hasInterfaceType(IInterfaceType value)
Determine if this Add has the given interfaceType |
boolean |
hasLink(ILink value)
Determine if this Add has the given link |
boolean |
isEquivalent(IAdd c)
Determine if another Add is equivalent to this one, ignoring ID's. |
void |
setComponent(IComponent value)
Set the component for this Add. |
void |
setComponentType(IComponentType value)
Set the componentType for this Add. |
void |
setConnector(IConnector value)
Set the connector for this Add. |
void |
setConnectorType(IConnectorType value)
Set the connectorType for this Add. |
void |
setDOMNode(Node node)
Sets the DOM node on which this implementation is based. |
void |
setGroup(IGroup value)
Set the group for this Add. |
void |
setInterfaceType(IInterfaceType value)
Set the interfaceType for this Add. |
void |
setLink(ILink value)
Set the link for this Add. |
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 LINK_ELT_NAME
public static final String GROUP_ELT_NAME
public static final String COMPONENT_TYPE_ELT_NAME
public static final String CONNECTOR_TYPE_ELT_NAME
public static final String INTERFACE_TYPE_ELT_NAME
protected Element elt
| Constructor Detail |
public AddImpl(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)
IAdd
setComponent in interface IAddvalue - new componentpublic void clearComponent()
IAdd
clearComponent in interface IAddpublic IComponent getComponent()
IAdd
getComponent in interface IAddpublic boolean hasComponent(IComponent value)
IAdd
hasComponent in interface IAddvalue - component to compare
true if the components are equivalent,
false otherwisepublic void setConnector(IConnector value)
IAdd
setConnector in interface IAddvalue - new connectorpublic void clearConnector()
IAdd
clearConnector in interface IAddpublic IConnector getConnector()
IAdd
getConnector in interface IAddpublic boolean hasConnector(IConnector value)
IAdd
hasConnector in interface IAddvalue - connector to compare
true if the connectors are equivalent,
false otherwisepublic void setLink(ILink value)
IAdd
setLink in interface IAddvalue - new linkpublic void clearLink()
IAdd
clearLink in interface IAddpublic ILink getLink()
IAdd
getLink in interface IAddpublic boolean hasLink(ILink value)
IAdd
hasLink in interface IAddvalue - link to compare
true if the links are equivalent,
false otherwisepublic void setGroup(IGroup value)
IAdd
setGroup in interface IAddvalue - new grouppublic void clearGroup()
IAdd
clearGroup in interface IAddpublic IGroup getGroup()
IAdd
getGroup in interface IAddpublic boolean hasGroup(IGroup value)
IAdd
hasGroup in interface IAddvalue - group to compare
true if the groups are equivalent,
false otherwisepublic void setComponentType(IComponentType value)
IAdd
setComponentType in interface IAddvalue - new componentTypepublic void clearComponentType()
IAdd
clearComponentType in interface IAddpublic IComponentType getComponentType()
IAdd
getComponentType in interface IAddpublic boolean hasComponentType(IComponentType value)
IAdd
hasComponentType in interface IAddvalue - componentType to compare
true if the componentTypes are equivalent,
false otherwisepublic void setConnectorType(IConnectorType value)
IAdd
setConnectorType in interface IAddvalue - new connectorTypepublic void clearConnectorType()
IAdd
clearConnectorType in interface IAddpublic IConnectorType getConnectorType()
IAdd
getConnectorType in interface IAddpublic boolean hasConnectorType(IConnectorType value)
IAdd
hasConnectorType in interface IAddvalue - connectorType to compare
true if the connectorTypes are equivalent,
false otherwisepublic void setInterfaceType(IInterfaceType value)
IAdd
setInterfaceType in interface IAddvalue - new interfaceTypepublic void clearInterfaceType()
IAdd
clearInterfaceType in interface IAddpublic IInterfaceType getInterfaceType()
IAdd
getInterfaceType in interface IAddpublic boolean hasInterfaceType(IInterfaceType value)
IAdd
hasInterfaceType in interface IAddvalue - interfaceType to compare
true if the interfaceTypes are equivalent,
false otherwisepublic boolean isEquivalent(IAdd c)
IAdd
isEquivalent in interface IAddc - Add to compare to this one.
true if all the child elements of this
Add 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 | |||||||||