xArch/xADL 2.0 Data Binding Library

edu.uci.isr.xarch.lookupimplementation
Class LookupNameImpl

java.lang.Object
  extended byedu.uci.isr.xarch.lookupimplementation.LookupNameImpl
All Implemented Interfaces:
DOMBased, ILookupName, IXArchElement

public class LookupNameImpl
extends Object
implements ILookupName, DOMBased

DOM-Based implementation of the ILookupName 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.lookupimplementation.ILookupName
TYPE_METADATA
 
Fields inherited from interface edu.uci.isr.xarch.IXArchElement
DEPTH_INFINITY, DEPTH_ONE, DEPTH_ZERO
 
Constructor Summary
LookupNameImpl(Element elt)
           
 
Method Summary
 void clearValue()
          Remove the value for this LookupName.
 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 LookupName.
 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 LookupName has the given value.
 boolean isEquivalent(ILookupName LookupNameToCheck)
          Determine if another LookupName 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 LookupName.
 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

LookupNameImpl

public LookupNameImpl(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: ILookupName
Set the value for this LookupName.

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

clearValue

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

Specified by:
clearValue in interface ILookupName

getValue

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

Specified by:
getValue in interface ILookupName
Returns:
value

hasValue

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

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

isEquivalent

public boolean isEquivalent(ILookupName LookupNameToCheck)
Description copied from interface: ILookupName
Determine if another LookupName is equivalent to this one.

Specified by:
isEquivalent in interface ILookupName
Parameters:
LookupNameToCheck - LookupName 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