xArch/xADL 2.0 Data Binding Library

edu.uci.isr.xarch.types
Class SignatureInterfaceMappingImpl

java.lang.Object
  extended byedu.uci.isr.xarch.types.SignatureInterfaceMappingImpl
All Implemented Interfaces:
DOMBased, ISignatureInterfaceMapping, IXArchElement
Direct Known Subclasses:
OptionalSignatureInterfaceMappingImpl

public class SignatureInterfaceMappingImpl
extends Object
implements ISignatureInterfaceMapping, DOMBased

DOM-Based implementation of the ISignatureInterfaceMapping interface.

Author:
Automatically generated by xArch apigen.

Field Summary
static String DESCRIPTION_ELT_NAME
          Tag name for descriptions in this object.
protected  Element elt
           
static String ID_ATTR_NAME
          Tag name for ids in this object.
static String INNER_INTERFACE_ELT_NAME
          Tag name for innerInterfaces in this object.
static String OUTER_SIGNATURE_ELT_NAME
          Tag name for outerSignatures in this object.
protected  IXArch xArch
           
static String XSD_TYPE_NAME
           
static String XSD_TYPE_NSURI
           
 
Fields inherited from interface edu.uci.isr.xarch.types.ISignatureInterfaceMapping
TYPE_METADATA
 
Fields inherited from interface edu.uci.isr.xarch.IXArchElement
DEPTH_INFINITY, DEPTH_ONE, DEPTH_ZERO
 
Constructor Summary
SignatureInterfaceMappingImpl(Element elt)
           
 
Method Summary
 void clearDescription()
          Clear the description from this SignatureInterfaceMapping.
 void clearId()
          Removes the id attribute from this object.
 void clearInnerInterface()
          Clear the innerInterface from this SignatureInterfaceMapping.
 void clearOuterSignature()
          Clear the outerSignature from this SignatureInterfaceMapping.
 IXArchElement cloneElement(int depth)
           
 boolean equals(Object o)
           
 IDescription getDescription()
          Get the description from this SignatureInterfaceMapping.
 Node getDOMNode()
          Gets the DOM node on which this implementation is based.
 String getId()
          Gets the value of the id attribute on this object.
 IXMLLink getInnerInterface()
          Get the innerInterface from this SignatureInterfaceMapping.
 XArchInstanceMetadata getInstanceMetadata()
          Gets metadata describing the instance of this element.
 IXMLLink getOuterSignature()
          Get the outerSignature from this SignatureInterfaceMapping.
protected static SequenceOrder getSequenceOrder()
           
 XArchTypeMetadata getTypeMetadata()
          Gets metadata describing the xsi:type of this element.
 IXArch getXArch()
           
 boolean hasDescription(IDescription value)
          Determine if this SignatureInterfaceMapping has the given description
 int hashCode()
           
 boolean hasId(String id)
          Determines if this object's id attribute has the given value.
 boolean hasInnerInterface(IXMLLink value)
          Determine if this SignatureInterfaceMapping has the given innerInterface
 boolean hasOuterSignature(IXMLLink value)
          Determine if this SignatureInterfaceMapping has the given outerSignature
 boolean isEqual(ISignatureInterfaceMapping SignatureInterfaceMappingToCheck)
          Determine if another SignatureInterfaceMapping has the same id as this one.
 boolean isEquivalent(ISignatureInterfaceMapping c)
          Determine if another SignatureInterfaceMapping is equivalent to this one, ignoring ID's.
 void setDescription(IDescription value)
          Set the description for this SignatureInterfaceMapping.
 void setDOMNode(Node node)
          Sets the DOM node on which this implementation is based.
 void setId(String id)
          Set the id attribute on this object.
 void setInnerInterface(IXMLLink value)
          Set the innerInterface for this SignatureInterfaceMapping.
 void setOuterSignature(IXMLLink value)
          Set the outerSignature for this SignatureInterfaceMapping.
 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

ID_ATTR_NAME

public static final String ID_ATTR_NAME
Tag name for ids in this object.

See Also:
Constant Field Values

DESCRIPTION_ELT_NAME

public static final String DESCRIPTION_ELT_NAME
Tag name for descriptions in this object.

See Also:
Constant Field Values

OUTER_SIGNATURE_ELT_NAME

public static final String OUTER_SIGNATURE_ELT_NAME
Tag name for outerSignatures in this object.

See Also:
Constant Field Values

INNER_INTERFACE_ELT_NAME

public static final String INNER_INTERFACE_ELT_NAME
Tag name for innerInterfaces in this object.

See Also:
Constant Field Values

elt

protected Element elt
Constructor Detail

SignatureInterfaceMappingImpl

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

setId

public void setId(String id)
Set the id attribute on this object.

Specified by:
setId in interface ISignatureInterfaceMapping
Parameters:
id - attribute value.

clearId

public void clearId()
Removes the id attribute from this object.

Specified by:
clearId in interface ISignatureInterfaceMapping

getId

public String getId()
Gets the value of the id attribute on this object.

Specified by:
getId in interface ISignatureInterfaceMapping
Returns:
id attribute's value or null if that attribute is not set.

hasId

public boolean hasId(String id)
Determines if this object's id attribute has the given value.

Specified by:
hasId in interface ISignatureInterfaceMapping
Parameters:
id - value to test.
Returns:
true if the values match, false otherwise. Matching is done by string-matching.

setDescription

public void setDescription(IDescription value)
Description copied from interface: ISignatureInterfaceMapping
Set the description for this SignatureInterfaceMapping.

Specified by:
setDescription in interface ISignatureInterfaceMapping
Parameters:
value - new description

clearDescription

public void clearDescription()
Description copied from interface: ISignatureInterfaceMapping
Clear the description from this SignatureInterfaceMapping.

Specified by:
clearDescription in interface ISignatureInterfaceMapping

getDescription

public IDescription getDescription()
Description copied from interface: ISignatureInterfaceMapping
Get the description from this SignatureInterfaceMapping.

Specified by:
getDescription in interface ISignatureInterfaceMapping
Returns:
description

hasDescription

public boolean hasDescription(IDescription value)
Description copied from interface: ISignatureInterfaceMapping
Determine if this SignatureInterfaceMapping has the given description

Specified by:
hasDescription in interface ISignatureInterfaceMapping
Parameters:
value - description to compare
Returns:
true if the descriptions are equivalent, false otherwise

setOuterSignature

public void setOuterSignature(IXMLLink value)
Description copied from interface: ISignatureInterfaceMapping
Set the outerSignature for this SignatureInterfaceMapping.

Specified by:
setOuterSignature in interface ISignatureInterfaceMapping
Parameters:
value - new outerSignature

clearOuterSignature

public void clearOuterSignature()
Description copied from interface: ISignatureInterfaceMapping
Clear the outerSignature from this SignatureInterfaceMapping.

Specified by:
clearOuterSignature in interface ISignatureInterfaceMapping

getOuterSignature

public IXMLLink getOuterSignature()
Description copied from interface: ISignatureInterfaceMapping
Get the outerSignature from this SignatureInterfaceMapping.

Specified by:
getOuterSignature in interface ISignatureInterfaceMapping
Returns:
outerSignature

hasOuterSignature

public boolean hasOuterSignature(IXMLLink value)
Description copied from interface: ISignatureInterfaceMapping
Determine if this SignatureInterfaceMapping has the given outerSignature

Specified by:
hasOuterSignature in interface ISignatureInterfaceMapping
Parameters:
value - outerSignature to compare
Returns:
true if the outerSignatures are equivalent, false otherwise

setInnerInterface

public void setInnerInterface(IXMLLink value)
Description copied from interface: ISignatureInterfaceMapping
Set the innerInterface for this SignatureInterfaceMapping.

Specified by:
setInnerInterface in interface ISignatureInterfaceMapping
Parameters:
value - new innerInterface

clearInnerInterface

public void clearInnerInterface()
Description copied from interface: ISignatureInterfaceMapping
Clear the innerInterface from this SignatureInterfaceMapping.

Specified by:
clearInnerInterface in interface ISignatureInterfaceMapping

getInnerInterface

public IXMLLink getInnerInterface()
Description copied from interface: ISignatureInterfaceMapping
Get the innerInterface from this SignatureInterfaceMapping.

Specified by:
getInnerInterface in interface ISignatureInterfaceMapping
Returns:
innerInterface

hasInnerInterface

public boolean hasInnerInterface(IXMLLink value)
Description copied from interface: ISignatureInterfaceMapping
Determine if this SignatureInterfaceMapping has the given innerInterface

Specified by:
hasInnerInterface in interface ISignatureInterfaceMapping
Parameters:
value - innerInterface to compare
Returns:
true if the innerInterfaces are equivalent, false otherwise

isEqual

public boolean isEqual(ISignatureInterfaceMapping SignatureInterfaceMappingToCheck)
Description copied from interface: ISignatureInterfaceMapping
Determine if another SignatureInterfaceMapping has the same id as this one.

Specified by:
isEqual in interface ISignatureInterfaceMapping
Parameters:
SignatureInterfaceMappingToCheck - SignatureInterfaceMapping to compare with this one.

isEquivalent

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

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

xArch/xADL 2.0 Data Binding Library