xArch/xADL 2.0 Data Binding Library

edu.uci.isr.xarch.pladiff
Class AddTypeEntityImpl

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

public class AddTypeEntityImpl
extends Object
implements IAddTypeEntity, DOMBased

DOM-Based implementation of the IAddTypeEntity interface.

Author:
Automatically generated by xArch apigen.

Field Summary
static String ADD_SIGNATURE_INTERFACE_MAPPING_ELT_NAME
          Tag name for addSignatureInterfaceMappings in this object.
static String DIFF_LOCATION_ELT_NAME
          Tag name for diffLocations in this object.
protected  Element elt
           
static String SIGNATURE_ELT_NAME
          Tag name for signatures in this object.
static String SUB_ARCHITECTURE_ELT_NAME
          Tag name for subArchitectures in this object.
static String VARIANT_ELT_NAME
          Tag name for variants in this object.
protected  IXArch xArch
           
static String XSD_TYPE_NAME
           
static String XSD_TYPE_NSURI
           
 
Fields inherited from interface edu.uci.isr.xarch.pladiff.IAddTypeEntity
TYPE_METADATA
 
Fields inherited from interface edu.uci.isr.xarch.IXArchElement
DEPTH_INFINITY, DEPTH_ONE, DEPTH_ZERO
 
Constructor Summary
AddTypeEntityImpl(Element elt)
           
 
Method Summary
 void clearAddSignatureInterfaceMapping()
          Clear the addSignatureInterfaceMapping from this AddTypeEntity.
 void clearDiffLocation()
          Clear the diffLocation from this AddTypeEntity.
 void clearSignature()
          Clear the signature from this AddTypeEntity.
 void clearSubArchitecture()
          Clear the subArchitecture from this AddTypeEntity.
 void clearVariant()
          Clear the variant from this AddTypeEntity.
 IXArchElement cloneElement(int depth)
           
 boolean equals(Object o)
           
 IAddSignatureInterfaceMapping getAddSignatureInterfaceMapping()
          Get the addSignatureInterfaceMapping from this AddTypeEntity.
 IDiffLocation getDiffLocation()
          Get the diffLocation from this AddTypeEntity.
 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()
           
 ISignature getSignature()
          Get the signature from this AddTypeEntity.
 IDescription getSubArchitecture()
          Get the subArchitecture from this AddTypeEntity.
 XArchTypeMetadata getTypeMetadata()
          Gets metadata describing the xsi:type of this element.
 IVariant getVariant()
          Get the variant from this AddTypeEntity.
 IXArch getXArch()
           
 boolean hasAddSignatureInterfaceMapping(IAddSignatureInterfaceMapping value)
          Determine if this AddTypeEntity has the given addSignatureInterfaceMapping
 boolean hasDiffLocation(IDiffLocation value)
          Determine if this AddTypeEntity has the given diffLocation
 int hashCode()
           
 boolean hasSignature(ISignature value)
          Determine if this AddTypeEntity has the given signature
 boolean hasSubArchitecture(IDescription value)
          Determine if this AddTypeEntity has the given subArchitecture
 boolean hasVariant(IVariant value)
          Determine if this AddTypeEntity has the given variant
 boolean isEquivalent(IAddTypeEntity c)
          Determine if another AddTypeEntity is equivalent to this one, ignoring ID's.
 void setAddSignatureInterfaceMapping(IAddSignatureInterfaceMapping value)
          Set the addSignatureInterfaceMapping for this AddTypeEntity.
 void setDiffLocation(IDiffLocation value)
          Set the diffLocation for this AddTypeEntity.
 void setDOMNode(Node node)
          Sets the DOM node on which this implementation is based.
 void setSignature(ISignature value)
          Set the signature for this AddTypeEntity.
 void setSubArchitecture(IDescription value)
          Set the subArchitecture for this AddTypeEntity.
 void setVariant(IVariant value)
          Set the variant for this AddTypeEntity.
 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

DIFF_LOCATION_ELT_NAME

public static final String DIFF_LOCATION_ELT_NAME
Tag name for diffLocations in this object.

See Also:
Constant Field Values

SIGNATURE_ELT_NAME

public static final String SIGNATURE_ELT_NAME
Tag name for signatures in this object.

See Also:
Constant Field Values

VARIANT_ELT_NAME

public static final String VARIANT_ELT_NAME
Tag name for variants in this object.

See Also:
Constant Field Values

SUB_ARCHITECTURE_ELT_NAME

public static final String SUB_ARCHITECTURE_ELT_NAME
Tag name for subArchitectures in this object.

See Also:
Constant Field Values

ADD_SIGNATURE_INTERFACE_MAPPING_ELT_NAME

public static final String ADD_SIGNATURE_INTERFACE_MAPPING_ELT_NAME
Tag name for addSignatureInterfaceMappings in this object.

See Also:
Constant Field Values

elt

protected Element elt
Constructor Detail

AddTypeEntityImpl

public AddTypeEntityImpl(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.

setDiffLocation

public void setDiffLocation(IDiffLocation value)
Description copied from interface: IAddTypeEntity
Set the diffLocation for this AddTypeEntity.

Specified by:
setDiffLocation in interface IAddTypeEntity
Parameters:
value - new diffLocation

clearDiffLocation

public void clearDiffLocation()
Description copied from interface: IAddTypeEntity
Clear the diffLocation from this AddTypeEntity.

Specified by:
clearDiffLocation in interface IAddTypeEntity

getDiffLocation

public IDiffLocation getDiffLocation()
Description copied from interface: IAddTypeEntity
Get the diffLocation from this AddTypeEntity.

Specified by:
getDiffLocation in interface IAddTypeEntity
Returns:
diffLocation

hasDiffLocation

public boolean hasDiffLocation(IDiffLocation value)
Description copied from interface: IAddTypeEntity
Determine if this AddTypeEntity has the given diffLocation

Specified by:
hasDiffLocation in interface IAddTypeEntity
Parameters:
value - diffLocation to compare
Returns:
true if the diffLocations are equivalent, false otherwise

setSignature

public void setSignature(ISignature value)
Description copied from interface: IAddTypeEntity
Set the signature for this AddTypeEntity.

Specified by:
setSignature in interface IAddTypeEntity
Parameters:
value - new signature

clearSignature

public void clearSignature()
Description copied from interface: IAddTypeEntity
Clear the signature from this AddTypeEntity.

Specified by:
clearSignature in interface IAddTypeEntity

getSignature

public ISignature getSignature()
Description copied from interface: IAddTypeEntity
Get the signature from this AddTypeEntity.

Specified by:
getSignature in interface IAddTypeEntity
Returns:
signature

hasSignature

public boolean hasSignature(ISignature value)
Description copied from interface: IAddTypeEntity
Determine if this AddTypeEntity has the given signature

Specified by:
hasSignature in interface IAddTypeEntity
Parameters:
value - signature to compare
Returns:
true if the signatures are equivalent, false otherwise

setVariant

public void setVariant(IVariant value)
Description copied from interface: IAddTypeEntity
Set the variant for this AddTypeEntity.

Specified by:
setVariant in interface IAddTypeEntity
Parameters:
value - new variant

clearVariant

public void clearVariant()
Description copied from interface: IAddTypeEntity
Clear the variant from this AddTypeEntity.

Specified by:
clearVariant in interface IAddTypeEntity

getVariant

public IVariant getVariant()
Description copied from interface: IAddTypeEntity
Get the variant from this AddTypeEntity.

Specified by:
getVariant in interface IAddTypeEntity
Returns:
variant

hasVariant

public boolean hasVariant(IVariant value)
Description copied from interface: IAddTypeEntity
Determine if this AddTypeEntity has the given variant

Specified by:
hasVariant in interface IAddTypeEntity
Parameters:
value - variant to compare
Returns:
true if the variants are equivalent, false otherwise

setSubArchitecture

public void setSubArchitecture(IDescription value)
Description copied from interface: IAddTypeEntity
Set the subArchitecture for this AddTypeEntity.

Specified by:
setSubArchitecture in interface IAddTypeEntity
Parameters:
value - new subArchitecture

clearSubArchitecture

public void clearSubArchitecture()
Description copied from interface: IAddTypeEntity
Clear the subArchitecture from this AddTypeEntity.

Specified by:
clearSubArchitecture in interface IAddTypeEntity

getSubArchitecture

public IDescription getSubArchitecture()
Description copied from interface: IAddTypeEntity
Get the subArchitecture from this AddTypeEntity.

Specified by:
getSubArchitecture in interface IAddTypeEntity
Returns:
subArchitecture

hasSubArchitecture

public boolean hasSubArchitecture(IDescription value)
Description copied from interface: IAddTypeEntity
Determine if this AddTypeEntity has the given subArchitecture

Specified by:
hasSubArchitecture in interface IAddTypeEntity
Parameters:
value - subArchitecture to compare
Returns:
true if the subArchitectures are equivalent, false otherwise

setAddSignatureInterfaceMapping

public void setAddSignatureInterfaceMapping(IAddSignatureInterfaceMapping value)
Description copied from interface: IAddTypeEntity
Set the addSignatureInterfaceMapping for this AddTypeEntity.

Specified by:
setAddSignatureInterfaceMapping in interface IAddTypeEntity
Parameters:
value - new addSignatureInterfaceMapping

clearAddSignatureInterfaceMapping

public void clearAddSignatureInterfaceMapping()
Description copied from interface: IAddTypeEntity
Clear the addSignatureInterfaceMapping from this AddTypeEntity.

Specified by:
clearAddSignatureInterfaceMapping in interface IAddTypeEntity

getAddSignatureInterfaceMapping

public IAddSignatureInterfaceMapping getAddSignatureInterfaceMapping()
Description copied from interface: IAddTypeEntity
Get the addSignatureInterfaceMapping from this AddTypeEntity.

Specified by:
getAddSignatureInterfaceMapping in interface IAddTypeEntity
Returns:
addSignatureInterfaceMapping

hasAddSignatureInterfaceMapping

public boolean hasAddSignatureInterfaceMapping(IAddSignatureInterfaceMapping value)
Description copied from interface: IAddTypeEntity
Determine if this AddTypeEntity has the given addSignatureInterfaceMapping

Specified by:
hasAddSignatureInterfaceMapping in interface IAddTypeEntity
Parameters:
value - addSignatureInterfaceMapping to compare
Returns:
true if the addSignatureInterfaceMappings are equivalent, false otherwise

isEquivalent

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

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

xArch/xADL 2.0 Data Binding Library