xArch/xADL 2.0 Data Binding Library

edu.uci.isr.xarch.instance
Class DirectionSimpleTypeImpl

java.lang.Object
  extended byedu.uci.isr.xarch.instance.DirectionSimpleTypeImpl
All Implemented Interfaces:
DOMBased, IDirectionSimpleType, IXArchElement

public class DirectionSimpleTypeImpl
extends Object
implements IDirectionSimpleType, DOMBased

DOM-Based implementation of the IDirectionSimpleType interface.

Author:
Automatically generated by xArch apigen.

Field Summary
protected  Element elt
           
protected  IXArch xArch
           
static String XSD_TYPE_NAME
           
static String XSD_TYPE_NSURI
           
 
Fields inherited from interface edu.uci.isr.xarch.instance.IDirectionSimpleType
ENUM_IN, ENUM_INOUT, ENUM_NONE, ENUM_OUT, TYPE_METADATA
 
Fields inherited from interface edu.uci.isr.xarch.IXArchElement
DEPTH_INFINITY, DEPTH_ONE, DEPTH_ZERO
 
Constructor Summary
DirectionSimpleTypeImpl(Element elt)
           
 
Method Summary
 void clearValue()
          Remove the value for this DirectionSimpleType.
 IXArchElement cloneElement(int depth)
           
 boolean equals(Object o)
           
 Node getDOMNode()
          Gets the DOM node on which this implementation is based.
 XArchInstanceMetadata getInstanceMetadata()
          Gets metadata describing the instance of this element.
 XArchTypeMetadata getTypeMetadata()
          Gets metadata describing the xsi:type of this element.
 String getValue()
          Get the value for this DirectionSimpleType.
 IXArch getXArch()
          Gets the xArch element that is the document element of the document that is this object's context.
 int hashCode()
           
 boolean hasValue(String value)
          Determine if this DirectionSimpleType has the given value.
 boolean isEquivalent(IDirectionSimpleType DirectionSimpleTypeToCheck)
          Determine if another DirectionSimpleType is equivalent to this one.
 void setDOMNode(Node node)
          Sets the DOM node on which this implementation is based.
 void setValue(String value)
          Set the value for this DirectionSimpleType.
 void setXArch(IXArch xArch)
          Set the xArch element that is the document element of the document that is this object's context.
 
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

elt

protected Element elt
Constructor Detail

DirectionSimpleTypeImpl

public DirectionSimpleTypeImpl(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

equals

public boolean equals(Object o)

hashCode

public int hashCode()

setXArch

public void setXArch(IXArch xArch)
Set the xArch element that is the document element of the document that is this object's context.

Specified by:
setXArch in interface IXArchElement
Parameters:
xArch - XArch document element for this element.

getXArch

public IXArch getXArch()
Gets the xArch element that is the document element of the document that is this object's context.

Specified by:
getXArch in interface IXArchElement
Returns:
XArch document element for this element.

cloneElement

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

setValue

public void setValue(String value)
Description copied from interface: IDirectionSimpleType
Set the value for this DirectionSimpleType.

Specified by:
setValue in interface IDirectionSimpleType
Parameters:
value - Value to set.

clearValue

public void clearValue()
Description copied from interface: IDirectionSimpleType
Remove the value for this DirectionSimpleType.

Specified by:
clearValue in interface IDirectionSimpleType

getValue

public String getValue()
Description copied from interface: IDirectionSimpleType
Get the value for this DirectionSimpleType.

Specified by:
getValue in interface IDirectionSimpleType
Returns:
value

hasValue

public boolean hasValue(String value)
Description copied from interface: IDirectionSimpleType
Determine if this DirectionSimpleType has the given value. Matching is done by string equality.

Specified by:
hasValue in interface IDirectionSimpleType
Returns:
true if they match, false otherwise.

isEquivalent

public boolean isEquivalent(IDirectionSimpleType DirectionSimpleTypeToCheck)
Description copied from interface: IDirectionSimpleType
Determine if another DirectionSimpleType is equivalent to this one.

Specified by:
isEquivalent in interface IDirectionSimpleType
Parameters:
DirectionSimpleTypeToCheck - DirectionSimpleType to compare against this one.
Returns:
true if their values are equivalent, false otherwise.

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.

xArch/xADL 2.0 Data Binding Library