xArch/xADL 2.0 Data Binding Library

edu.uci.isr.xarch.pladiff
Class AddStructuralEntityImpl

java.lang.Object
  extended byedu.uci.isr.xarch.pladiff.AddStructuralEntityImpl
All Implemented Interfaces:
DOMBased, IAddStructuralEntity, IXArchElement

public class AddStructuralEntityImpl
extends Object
implements IAddStructuralEntity, DOMBased

DOM-Based implementation of the IAddStructuralEntity interface.

Author:
Automatically generated by xArch apigen.

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

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

ADD_LINK_ELT_NAME

public static final String ADD_LINK_ELT_NAME
Tag name for addLinks in this object.

See Also:
Constant Field Values

ADD_INTERFACE_ELT_NAME

public static final String ADD_INTERFACE_ELT_NAME
Tag name for addInterfaces in this object.

See Also:
Constant Field Values

ADD_OPTIONAL_ELT_NAME

public static final String ADD_OPTIONAL_ELT_NAME
Tag name for addOptionals in this object.

See Also:
Constant Field Values

elt

protected Element elt
Constructor Detail

AddStructuralEntityImpl

public AddStructuralEntityImpl(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: IAddStructuralEntity
Set the component for this AddStructuralEntity.

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

clearComponent

public void clearComponent()
Description copied from interface: IAddStructuralEntity
Clear the component from this AddStructuralEntity.

Specified by:
clearComponent in interface IAddStructuralEntity

getComponent

public IComponent getComponent()
Description copied from interface: IAddStructuralEntity
Get the component from this AddStructuralEntity.

Specified by:
getComponent in interface IAddStructuralEntity
Returns:
component

hasComponent

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

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

setConnector

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

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

clearConnector

public void clearConnector()
Description copied from interface: IAddStructuralEntity
Clear the connector from this AddStructuralEntity.

Specified by:
clearConnector in interface IAddStructuralEntity

getConnector

public IConnector getConnector()
Description copied from interface: IAddStructuralEntity
Get the connector from this AddStructuralEntity.

Specified by:
getConnector in interface IAddStructuralEntity
Returns:
connector

hasConnector

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

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

setAddLink

public void setAddLink(IAddLink value)
Description copied from interface: IAddStructuralEntity
Set the addLink for this AddStructuralEntity.

Specified by:
setAddLink in interface IAddStructuralEntity
Parameters:
value - new addLink

clearAddLink

public void clearAddLink()
Description copied from interface: IAddStructuralEntity
Clear the addLink from this AddStructuralEntity.

Specified by:
clearAddLink in interface IAddStructuralEntity

getAddLink

public IAddLink getAddLink()
Description copied from interface: IAddStructuralEntity
Get the addLink from this AddStructuralEntity.

Specified by:
getAddLink in interface IAddStructuralEntity
Returns:
addLink

hasAddLink

public boolean hasAddLink(IAddLink value)
Description copied from interface: IAddStructuralEntity
Determine if this AddStructuralEntity has the given addLink

Specified by:
hasAddLink in interface IAddStructuralEntity
Parameters:
value - addLink to compare
Returns:
true if the addLinks are equivalent, false otherwise

setAddInterface

public void setAddInterface(IAddInterface value)
Description copied from interface: IAddStructuralEntity
Set the addInterface for this AddStructuralEntity.

Specified by:
setAddInterface in interface IAddStructuralEntity
Parameters:
value - new addInterface

clearAddInterface

public void clearAddInterface()
Description copied from interface: IAddStructuralEntity
Clear the addInterface from this AddStructuralEntity.

Specified by:
clearAddInterface in interface IAddStructuralEntity

getAddInterface

public IAddInterface getAddInterface()
Description copied from interface: IAddStructuralEntity
Get the addInterface from this AddStructuralEntity.

Specified by:
getAddInterface in interface IAddStructuralEntity
Returns:
addInterface

hasAddInterface

public boolean hasAddInterface(IAddInterface value)
Description copied from interface: IAddStructuralEntity
Determine if this AddStructuralEntity has the given addInterface

Specified by:
hasAddInterface in interface IAddStructuralEntity
Parameters:
value - addInterface to compare
Returns:
true if the addInterfaces are equivalent, false otherwise

setAddOptional

public void setAddOptional(IAddOptional value)
Description copied from interface: IAddStructuralEntity
Set the addOptional for this AddStructuralEntity.

Specified by:
setAddOptional in interface IAddStructuralEntity
Parameters:
value - new addOptional

clearAddOptional

public void clearAddOptional()
Description copied from interface: IAddStructuralEntity
Clear the addOptional from this AddStructuralEntity.

Specified by:
clearAddOptional in interface IAddStructuralEntity

getAddOptional

public IAddOptional getAddOptional()
Description copied from interface: IAddStructuralEntity
Get the addOptional from this AddStructuralEntity.

Specified by:
getAddOptional in interface IAddStructuralEntity
Returns:
addOptional

hasAddOptional

public boolean hasAddOptional(IAddOptional value)
Description copied from interface: IAddStructuralEntity
Determine if this AddStructuralEntity has the given addOptional

Specified by:
hasAddOptional in interface IAddStructuralEntity
Parameters:
value - addOptional to compare
Returns:
true if the addOptionals are equivalent, false otherwise

isEquivalent

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

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

xArch/xADL 2.0 Data Binding Library