xArch/xADL 2.0 Data Binding Library

edu.uci.isr.xarch.types
Class PrescribedLinkInstanceImpl

java.lang.Object
  extended byedu.uci.isr.xarch.instance.LinkInstanceImpl
      extended byedu.uci.isr.xarch.types.PrescribedLinkInstanceImpl
All Implemented Interfaces:
DOMBased, ILinkInstance, IPrescribedLinkInstance, IXArchElement

public class PrescribedLinkInstanceImpl
extends LinkInstanceImpl
implements IPrescribedLinkInstance, ILinkInstance, DOMBased

DOM-Based implementation of the IPrescribedLinkInstance 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.LinkInstanceImpl
DESCRIPTION_ELT_NAME, elt, ID_ATTR_NAME, POINT_ELT_NAME, xArch
 
Fields inherited from interface edu.uci.isr.xarch.types.IPrescribedLinkInstance
TYPE_METADATA
 
Fields inherited from interface edu.uci.isr.xarch.IXArchElement
DEPTH_INFINITY, DEPTH_ONE, DEPTH_ZERO
 
Constructor Summary
PrescribedLinkInstanceImpl(Element elt)
           
 
Method Summary
 void clearStructure()
          Clear the structure from this PrescribedLinkInstance.
 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 PrescribedLinkInstance.
 XArchTypeMetadata getTypeMetadata()
          Gets metadata describing the xsi:type of this element.
 boolean hasStructure(IXMLLink value)
          Determine if this PrescribedLinkInstance has the given structure
 boolean isEquivalent(IPrescribedLinkInstance c)
          Determine if another PrescribedLinkInstance is equivalent to this one, ignoring ID's.
 void setStructure(IXMLLink value)
          Set the structure for this PrescribedLinkInstance.
 
Methods inherited from class edu.uci.isr.xarch.instance.LinkInstanceImpl
addPoint, addPoints, clearDescription, clearId, clearPoints, equals, getAllPoints, getDescription, getDOMNode, getId, getXArch, hasAllPoints, hasDescription, hashCode, hasId, hasPoint, hasPoints, isEqual, isEquivalent, removePoint, removePoints, setDescription, 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.ILinkInstance
addPoint, addPoints, clearDescription, clearId, clearPoints, getAllPoints, getDescription, getId, hasAllPoints, hasDescription, hasId, hasPoint, hasPoints, isEqual, isEquivalent, removePoint, removePoints, setDescription, 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

PrescribedLinkInstanceImpl

public PrescribedLinkInstanceImpl(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 LinkInstanceImpl

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 LinkInstanceImpl

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 LinkInstanceImpl

setStructure

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

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

clearStructure

public void clearStructure()
Description copied from interface: IPrescribedLinkInstance
Clear the structure from this PrescribedLinkInstance.

Specified by:
clearStructure in interface IPrescribedLinkInstance

getStructure

public IXMLLink getStructure()
Description copied from interface: IPrescribedLinkInstance
Get the structure from this PrescribedLinkInstance.

Specified by:
getStructure in interface IPrescribedLinkInstance
Returns:
structure

hasStructure

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

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

isEquivalent

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

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

xArch/xADL 2.0 Data Binding Library