xArch/xADL 2.0 Data Binding Library

edu.uci.isr.xarch.options
Class OptionalSignatureInterfaceMappingImpl

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

public class OptionalSignatureInterfaceMappingImpl
extends SignatureInterfaceMappingImpl
implements IOptionalSignatureInterfaceMapping, ISignatureInterfaceMapping, DOMBased

DOM-Based implementation of the IOptionalSignatureInterfaceMapping interface.

Author:
Automatically generated by xArch apigen.

Field Summary
static String OPTIONAL_ELT_NAME
          Tag name for optionals in this object.
static String XSD_TYPE_NAME
           
static String XSD_TYPE_NSURI
           
 
Fields inherited from class edu.uci.isr.xarch.types.SignatureInterfaceMappingImpl
DESCRIPTION_ELT_NAME, elt, ID_ATTR_NAME, INNER_INTERFACE_ELT_NAME, OUTER_SIGNATURE_ELT_NAME, xArch
 
Fields inherited from interface edu.uci.isr.xarch.options.IOptionalSignatureInterfaceMapping
TYPE_METADATA
 
Fields inherited from interface edu.uci.isr.xarch.IXArchElement
DEPTH_INFINITY, DEPTH_ONE, DEPTH_ZERO
 
Constructor Summary
OptionalSignatureInterfaceMappingImpl(Element elt)
           
 
Method Summary
 void clearOptional()
          Clear the optional from this OptionalSignatureInterfaceMapping.
 IXArchElement cloneElement(int depth)
           
 XArchInstanceMetadata getInstanceMetadata()
          Gets metadata describing the instance of this element.
 IOptional getOptional()
          Get the optional from this OptionalSignatureInterfaceMapping.
protected static SequenceOrder getSequenceOrder()
           
 XArchTypeMetadata getTypeMetadata()
          Gets metadata describing the xsi:type of this element.
 boolean hasOptional(IOptional value)
          Determine if this OptionalSignatureInterfaceMapping has the given optional
 boolean isEquivalent(IOptionalSignatureInterfaceMapping c)
          Determine if another OptionalSignatureInterfaceMapping is equivalent to this one, ignoring ID's.
 void setOptional(IOptional value)
          Set the optional for this OptionalSignatureInterfaceMapping.
 
Methods inherited from class edu.uci.isr.xarch.types.SignatureInterfaceMappingImpl
clearDescription, clearId, clearInnerInterface, clearOuterSignature, equals, getDescription, getDOMNode, getId, getInnerInterface, getOuterSignature, getXArch, hasDescription, hashCode, hasId, hasInnerInterface, hasOuterSignature, isEqual, isEquivalent, setDescription, setDOMNode, setId, setInnerInterface, setOuterSignature, setXArch
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.uci.isr.xarch.types.ISignatureInterfaceMapping
clearDescription, clearId, clearInnerInterface, clearOuterSignature, getDescription, getId, getInnerInterface, getOuterSignature, hasDescription, hasId, hasInnerInterface, hasOuterSignature, isEqual, isEquivalent, setDescription, setId, setInnerInterface, setOuterSignature
 
Methods inherited from interface edu.uci.isr.xarch.IXArchElement
getXArch, setXArch
 
Methods inherited from interface edu.uci.isr.xarch.DOMBased
getDOMNode, setDOMNode
 

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

OPTIONAL_ELT_NAME

public static final String OPTIONAL_ELT_NAME
Tag name for optionals in this object.

See Also:
Constant Field Values
Constructor Detail

OptionalSignatureInterfaceMappingImpl

public OptionalSignatureInterfaceMappingImpl(Element elt)
Method Detail

getSequenceOrder

protected static SequenceOrder getSequenceOrder()

cloneElement

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

getTypeMetadata

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

Specified by:
getTypeMetadata in interface IXArchElement
Overrides:
getTypeMetadata in class SignatureInterfaceMappingImpl

getInstanceMetadata

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

Specified by:
getInstanceMetadata in interface IXArchElement
Overrides:
getInstanceMetadata in class SignatureInterfaceMappingImpl

setOptional

public void setOptional(IOptional value)
Description copied from interface: IOptionalSignatureInterfaceMapping
Set the optional for this OptionalSignatureInterfaceMapping.

Specified by:
setOptional in interface IOptionalSignatureInterfaceMapping
Parameters:
value - new optional

clearOptional

public void clearOptional()
Description copied from interface: IOptionalSignatureInterfaceMapping
Clear the optional from this OptionalSignatureInterfaceMapping.

Specified by:
clearOptional in interface IOptionalSignatureInterfaceMapping

getOptional

public IOptional getOptional()
Description copied from interface: IOptionalSignatureInterfaceMapping
Get the optional from this OptionalSignatureInterfaceMapping.

Specified by:
getOptional in interface IOptionalSignatureInterfaceMapping
Returns:
optional

hasOptional

public boolean hasOptional(IOptional value)
Description copied from interface: IOptionalSignatureInterfaceMapping
Determine if this OptionalSignatureInterfaceMapping has the given optional

Specified by:
hasOptional in interface IOptionalSignatureInterfaceMapping
Parameters:
value - optional to compare
Returns:
true if the optionals are equivalent, false otherwise

isEquivalent

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

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

xArch/xADL 2.0 Data Binding Library