xArch/xADL 2.0 Data Binding Library

edu.uci.isr.xarch.pladiff
Class InterfaceEndPointImpl

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

public class InterfaceEndPointImpl
extends Object
implements IInterfaceEndPoint, DOMBased

DOM-Based implementation of the IInterfaceEndPoint interface.

Author:
Automatically generated by xArch apigen.

Field Summary
static String CONNECTING_ELEMENT_DESCRIPTION_ELT_NAME
          Tag name for connectingElementDescriptions in this object.
protected  Element elt
           
static String INTERFACE_DESCRIPTION_ELT_NAME
          Tag name for interfaceDescriptions 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.IInterfaceEndPoint
TYPE_METADATA
 
Fields inherited from interface edu.uci.isr.xarch.IXArchElement
DEPTH_INFINITY, DEPTH_ONE, DEPTH_ZERO
 
Constructor Summary
InterfaceEndPointImpl(Element elt)
           
 
Method Summary
 void clearConnectingElementDescription()
          Clear the connectingElementDescription from this InterfaceEndPoint.
 void clearInterfaceDescription()
          Clear the interfaceDescription from this InterfaceEndPoint.
 IXArchElement cloneElement(int depth)
           
 boolean equals(Object o)
           
 IDescription getConnectingElementDescription()
          Get the connectingElementDescription from this InterfaceEndPoint.
 Node getDOMNode()
          Gets the DOM node on which this implementation is based.
 XArchInstanceMetadata getInstanceMetadata()
          Gets metadata describing the instance of this element.
 IDescription getInterfaceDescription()
          Get the interfaceDescription from this InterfaceEndPoint.
protected static SequenceOrder getSequenceOrder()
           
 XArchTypeMetadata getTypeMetadata()
          Gets metadata describing the xsi:type of this element.
 IXArch getXArch()
           
 boolean hasConnectingElementDescription(IDescription value)
          Determine if this InterfaceEndPoint has the given connectingElementDescription
 int hashCode()
           
 boolean hasInterfaceDescription(IDescription value)
          Determine if this InterfaceEndPoint has the given interfaceDescription
 boolean isEquivalent(IInterfaceEndPoint c)
          Determine if another InterfaceEndPoint is equivalent to this one, ignoring ID's.
 void setConnectingElementDescription(IDescription value)
          Set the connectingElementDescription for this InterfaceEndPoint.
 void setDOMNode(Node node)
          Sets the DOM node on which this implementation is based.
 void setInterfaceDescription(IDescription value)
          Set the interfaceDescription for this InterfaceEndPoint.
 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

INTERFACE_DESCRIPTION_ELT_NAME

public static final String INTERFACE_DESCRIPTION_ELT_NAME
Tag name for interfaceDescriptions in this object.

See Also:
Constant Field Values

CONNECTING_ELEMENT_DESCRIPTION_ELT_NAME

public static final String CONNECTING_ELEMENT_DESCRIPTION_ELT_NAME
Tag name for connectingElementDescriptions in this object.

See Also:
Constant Field Values

elt

protected Element elt
Constructor Detail

InterfaceEndPointImpl

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

setInterfaceDescription

public void setInterfaceDescription(IDescription value)
Description copied from interface: IInterfaceEndPoint
Set the interfaceDescription for this InterfaceEndPoint.

Specified by:
setInterfaceDescription in interface IInterfaceEndPoint
Parameters:
value - new interfaceDescription

clearInterfaceDescription

public void clearInterfaceDescription()
Description copied from interface: IInterfaceEndPoint
Clear the interfaceDescription from this InterfaceEndPoint.

Specified by:
clearInterfaceDescription in interface IInterfaceEndPoint

getInterfaceDescription

public IDescription getInterfaceDescription()
Description copied from interface: IInterfaceEndPoint
Get the interfaceDescription from this InterfaceEndPoint.

Specified by:
getInterfaceDescription in interface IInterfaceEndPoint
Returns:
interfaceDescription

hasInterfaceDescription

public boolean hasInterfaceDescription(IDescription value)
Description copied from interface: IInterfaceEndPoint
Determine if this InterfaceEndPoint has the given interfaceDescription

Specified by:
hasInterfaceDescription in interface IInterfaceEndPoint
Parameters:
value - interfaceDescription to compare
Returns:
true if the interfaceDescriptions are equivalent, false otherwise

setConnectingElementDescription

public void setConnectingElementDescription(IDescription value)
Description copied from interface: IInterfaceEndPoint
Set the connectingElementDescription for this InterfaceEndPoint.

Specified by:
setConnectingElementDescription in interface IInterfaceEndPoint
Parameters:
value - new connectingElementDescription

clearConnectingElementDescription

public void clearConnectingElementDescription()
Description copied from interface: IInterfaceEndPoint
Clear the connectingElementDescription from this InterfaceEndPoint.

Specified by:
clearConnectingElementDescription in interface IInterfaceEndPoint

getConnectingElementDescription

public IDescription getConnectingElementDescription()
Description copied from interface: IInterfaceEndPoint
Get the connectingElementDescription from this InterfaceEndPoint.

Specified by:
getConnectingElementDescription in interface IInterfaceEndPoint
Returns:
connectingElementDescription

hasConnectingElementDescription

public boolean hasConnectingElementDescription(IDescription value)
Description copied from interface: IInterfaceEndPoint
Determine if this InterfaceEndPoint has the given connectingElementDescription

Specified by:
hasConnectingElementDescription in interface IInterfaceEndPoint
Parameters:
value - connectingElementDescription to compare
Returns:
true if the connectingElementDescriptions are equivalent, false otherwise

isEquivalent

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

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

xArch/xADL 2.0 Data Binding Library