xArch/xADL 2.0 Data Binding Library

edu.uci.isr.xarch.types
Class PrescribedInterfaceInstanceImpl

java.lang.Object
  extended byedu.uci.isr.xarch.instance.InterfaceInstanceImpl
      extended byedu.uci.isr.xarch.types.PrescribedInterfaceInstanceImpl
All Implemented Interfaces:
DOMBased, IInterfaceInstance, IPrescribedInterfaceInstance, IXArchElement

public class PrescribedInterfaceInstanceImpl
extends InterfaceInstanceImpl
implements IPrescribedInterfaceInstance, IInterfaceInstance, DOMBased

DOM-Based implementation of the IPrescribedInterfaceInstance interface.

Author:
Automatically generated by xArch apigen.

Field Summary
static String STRUCTURE_ELT_NAME
          Tag name for structures in this object.
static String XSD_TYPE_NAME
           
static String XSD_TYPE_NSURI
           
 
Fields inherited from class edu.uci.isr.xarch.instance.InterfaceInstanceImpl
DESCRIPTION_ELT_NAME, DIRECTION_ELT_NAME, elt, ID_ATTR_NAME, xArch
 
Fields inherited from interface edu.uci.isr.xarch.types.IPrescribedInterfaceInstance
TYPE_METADATA
 
Fields inherited from interface edu.uci.isr.xarch.IXArchElement
DEPTH_INFINITY, DEPTH_ONE, DEPTH_ZERO
 
Constructor Summary
PrescribedInterfaceInstanceImpl(Element elt)
           
 
Method Summary
 void clearStructure()
          Clear the structure from this PrescribedInterfaceInstance.
 IXArchElement cloneElement(int depth)
           
 XArchInstanceMetadata getInstanceMetadata()
          Gets metadata describing the instance of this element.
protected static SequenceOrder getSequenceOrder()
           
 IXMLLink getStructure()
          Get the structure from this PrescribedInterfaceInstance.
 XArchTypeMetadata getTypeMetadata()
          Gets metadata describing the xsi:type of this element.
 boolean hasStructure(IXMLLink value)
          Determine if this PrescribedInterfaceInstance has the given structure
 boolean isEquivalent(IPrescribedInterfaceInstance c)
          Determine if another PrescribedInterfaceInstance is equivalent to this one, ignoring ID's.
 void setStructure(IXMLLink value)
          Set the structure for this PrescribedInterfaceInstance.
 
Methods inherited from class edu.uci.isr.xarch.instance.InterfaceInstanceImpl
clearDescription, clearDirection, clearId, equals, getDescription, getDirection, getDOMNode, getId, getXArch, hasDescription, hasDirection, hashCode, hasId, isEqual, isEquivalent, setDescription, setDirection, setDOMNode, setId, 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.instance.IInterfaceInstance
clearDescription, clearDirection, clearId, getDescription, getDirection, getId, hasDescription, hasDirection, hasId, isEqual, isEquivalent, setDescription, setDirection, setId
 
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

STRUCTURE_ELT_NAME

public static final String STRUCTURE_ELT_NAME
Tag name for structures in this object.

See Also:
Constant Field Values
Constructor Detail

PrescribedInterfaceInstanceImpl

public PrescribedInterfaceInstanceImpl(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 InterfaceInstanceImpl

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 InterfaceInstanceImpl

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 InterfaceInstanceImpl

setStructure

public void setStructure(IXMLLink value)
Description copied from interface: IPrescribedInterfaceInstance
Set the structure for this PrescribedInterfaceInstance.

Specified by:
setStructure in interface IPrescribedInterfaceInstance
Parameters:
value - new structure

clearStructure

public void clearStructure()
Description copied from interface: IPrescribedInterfaceInstance
Clear the structure from this PrescribedInterfaceInstance.

Specified by:
clearStructure in interface IPrescribedInterfaceInstance

getStructure

public IXMLLink getStructure()
Description copied from interface: IPrescribedInterfaceInstance
Get the structure from this PrescribedInterfaceInstance.

Specified by:
getStructure in interface IPrescribedInterfaceInstance
Returns:
structure

hasStructure

public boolean hasStructure(IXMLLink value)
Description copied from interface: IPrescribedInterfaceInstance
Determine if this PrescribedInterfaceInstance has the given structure

Specified by:
hasStructure in interface IPrescribedInterfaceInstance
Parameters:
value - structure to compare
Returns:
true if the structures are equivalent, false otherwise

isEquivalent

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

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

xArch/xADL 2.0 Data Binding Library