xArch/xADL 2.0 Data Binding Library

edu.uci.isr.xarch.diff
Class AddImpl

java.lang.Object
  extended byedu.uci.isr.xarch.diff.AddImpl
All Implemented Interfaces:
DOMBased, IAdd, IXArchElement

public class AddImpl
extends Object
implements IAdd, DOMBased

DOM-Based implementation of the IAdd interface.

Author:
Automatically generated by xArch apigen.

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

XSD_TYPE_NSURI

public static final String XSD_TYPE_NSURI
See Also:
Constant Field Values

XSD_TYPE_NAME

public static final String XSD_TYPE_NAME
See Also:
Constant Field Values

xArch

protected IXArch xArch

COMPONENT_ELT_NAME

public static final String COMPONENT_ELT_NAME
Tag name for components in this object.

See Also:
Constant Field Values

CONNECTOR_ELT_NAME

public static final String CONNECTOR_ELT_NAME
Tag name for connectors in this object.

See Also:
Constant Field Values

LINK_ELT_NAME

public static final String LINK_ELT_NAME
Tag name for links in this object.

See Also:
Constant Field Values

GROUP_ELT_NAME

public static final String GROUP_ELT_NAME
Tag name for groups in this object.

See Also:
Constant Field Values

COMPONENT_TYPE_ELT_NAME

public static final String COMPONENT_TYPE_ELT_NAME
Tag name for componentTypes in this object.

See Also:
Constant Field Values

CONNECTOR_TYPE_ELT_NAME

public static final String CONNECTOR_TYPE_ELT_NAME
Tag name for connectorTypes in this object.

See Also:
Constant Field Values

INTERFACE_TYPE_ELT_NAME

public static final String INTERFACE_TYPE_ELT_NAME
Tag name for interfaceTypes in this object.

See Also:
Constant Field Values

elt

protected Element elt
Constructor Detail

AddImpl

public AddImpl(Element elt)
Method Detail

getDOMNode

public Node getDOMNode()
Description copied from interface: DOMBased
Gets the DOM node on which this implementation is based.

Specified by:
getDOMNode in interface DOMBased
Returns:
DOM node

setDOMNode

public void setDOMNode(Node node)
Description copied from interface: DOMBased
Sets the DOM node on which this implementation is based.

Specified by:
setDOMNode in interface DOMBased
Parameters:
node - DOM node

getSequenceOrder

protected static SequenceOrder getSequenceOrder()

setXArch

public void setXArch(IXArch xArch)
Specified by:
setXArch in interface IXArchElement

getXArch

public IXArch getXArch()
Specified by:
getXArch in interface IXArchElement

cloneElement

public IXArchElement cloneElement(int depth)
Specified by:
cloneElement in interface IXArchElement

equals

public boolean equals(Object o)

hashCode

public int hashCode()

getTypeMetadata

public XArchTypeMetadata getTypeMetadata()
Description copied from interface: IXArchElement
Gets metadata describing the xsi:type of this element.

Specified by:
getTypeMetadata in interface IXArchElement
Returns:
metadata describing the xsi:type of this element.

getInstanceMetadata

public XArchInstanceMetadata getInstanceMetadata()
Description copied from interface: IXArchElement
Gets metadata describing the instance of this element.

Specified by:
getInstanceMetadata in interface IXArchElement
Returns:
metadata describing the instance of this element.

setComponent

public void setComponent(IComponent value)
Description copied from interface: IAdd
Set the component for this Add.

Specified by:
setComponent in interface IAdd
Parameters:
value - new component

clearComponent

public void clearComponent()
Description copied from interface: IAdd
Clear the component from this Add.

Specified by:
clearComponent in interface IAdd

getComponent

public IComponent getComponent()
Description copied from interface: IAdd
Get the component from this Add.

Specified by:
getComponent in interface IAdd
Returns:
component

hasComponent

public boolean hasComponent(IComponent value)
Description copied from interface: IAdd
Determine if this Add has the given component

Specified by:
hasComponent in interface IAdd
Parameters:
value - component to compare
Returns:
true if the components are equivalent, false otherwise

setConnector

public void setConnector(IConnector value)
Description copied from interface: IAdd
Set the connector for this Add.

Specified by:
setConnector in interface IAdd
Parameters:
value - new connector

clearConnector

public void clearConnector()
Description copied from interface: IAdd
Clear the connector from this Add.

Specified by:
clearConnector in interface IAdd

getConnector

public IConnector getConnector()
Description copied from interface: IAdd
Get the connector from this Add.

Specified by:
getConnector in interface IAdd
Returns:
connector

hasConnector

public boolean hasConnector(IConnector value)
Description copied from interface: IAdd
Determine if this Add has the given connector

Specified by:
hasConnector in interface IAdd
Parameters:
value - connector to compare
Returns:
true if the connectors are equivalent, false otherwise

setLink

public void setLink(ILink value)
Description copied from interface: IAdd
Set the link for this Add.

Specified by:
setLink in interface IAdd
Parameters:
value - new link

clearLink

public void clearLink()
Description copied from interface: IAdd
Clear the link from this Add.

Specified by:
clearLink in interface IAdd

getLink

public ILink getLink()
Description copied from interface: IAdd
Get the link from this Add.

Specified by:
getLink in interface IAdd
Returns:
link

hasLink

public boolean hasLink(ILink value)
Description copied from interface: IAdd
Determine if this Add has the given link

Specified by:
hasLink in interface IAdd
Parameters:
value - link to compare
Returns:
true if the links are equivalent, false otherwise

setGroup

public void setGroup(IGroup value)
Description copied from interface: IAdd
Set the group for this Add.

Specified by:
setGroup in interface IAdd
Parameters:
value - new group

clearGroup

public void clearGroup()
Description copied from interface: IAdd
Clear the group from this Add.

Specified by:
clearGroup in interface IAdd

getGroup

public IGroup getGroup()
Description copied from interface: IAdd
Get the group from this Add.

Specified by:
getGroup in interface IAdd
Returns:
group

hasGroup

public boolean hasGroup(IGroup value)
Description copied from interface: IAdd
Determine if this Add has the given group

Specified by:
hasGroup in interface IAdd
Parameters:
value - group to compare
Returns:
true if the groups are equivalent, false otherwise

setComponentType

public void setComponentType(IComponentType value)
Description copied from interface: IAdd
Set the componentType for this Add.

Specified by:
setComponentType in interface IAdd
Parameters:
value - new componentType

clearComponentType

public void clearComponentType()
Description copied from interface: IAdd
Clear the componentType from this Add.

Specified by:
clearComponentType in interface IAdd

getComponentType

public IComponentType getComponentType()
Description copied from interface: IAdd
Get the componentType from this Add.

Specified by:
getComponentType in interface IAdd
Returns:
componentType

hasComponentType

public boolean hasComponentType(IComponentType value)
Description copied from interface: IAdd
Determine if this Add has the given componentType

Specified by:
hasComponentType in interface IAdd
Parameters:
value - componentType to compare
Returns:
true if the componentTypes are equivalent, false otherwise

setConnectorType

public void setConnectorType(IConnectorType value)
Description copied from interface: IAdd
Set the connectorType for this Add.

Specified by:
setConnectorType in interface IAdd
Parameters:
value - new connectorType

clearConnectorType

public void clearConnectorType()
Description copied from interface: IAdd
Clear the connectorType from this Add.

Specified by:
clearConnectorType in interface IAdd

getConnectorType

public IConnectorType getConnectorType()
Description copied from interface: IAdd
Get the connectorType from this Add.

Specified by:
getConnectorType in interface IAdd
Returns:
connectorType

hasConnectorType

public boolean hasConnectorType(IConnectorType value)
Description copied from interface: IAdd
Determine if this Add has the given connectorType

Specified by:
hasConnectorType in interface IAdd
Parameters:
value - connectorType to compare
Returns:
true if the connectorTypes are equivalent, false otherwise

setInterfaceType

public void setInterfaceType(IInterfaceType value)
Description copied from interface: IAdd
Set the interfaceType for this Add.

Specified by:
setInterfaceType in interface IAdd
Parameters:
value - new interfaceType

clearInterfaceType

public void clearInterfaceType()
Description copied from interface: IAdd
Clear the interfaceType from this Add.

Specified by:
clearInterfaceType in interface IAdd

getInterfaceType

public IInterfaceType getInterfaceType()
Description copied from interface: IAdd
Get the interfaceType from this Add.

Specified by:
getInterfaceType in interface IAdd
Returns:
interfaceType

hasInterfaceType

public boolean hasInterfaceType(IInterfaceType value)
Description copied from interface: IAdd
Determine if this Add has the given interfaceType

Specified by:
hasInterfaceType in interface IAdd
Parameters:
value - interfaceType to compare
Returns:
true if the interfaceTypes are equivalent, false otherwise

isEquivalent

public boolean isEquivalent(IAdd c)
Description copied from interface: IAdd
Determine if another Add is equivalent to this one, ignoring ID's.

Specified by:
isEquivalent in interface IAdd
Parameters:
c - Add to compare to this one.
Returns:
true if all the child elements of this Add are equivalent, false otherwise.

xArch/xADL 2.0 Data Binding Library