|
xArch/xADL 2.0 Data Binding Library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.uci.isr.xarch.types.InterfaceImpl
DOM-Based implementation of the IInterface interface.
| Field Summary | |
static String |
DESCRIPTION_ELT_NAME
Tag name for descriptions in this object. |
static String |
DIRECTION_ELT_NAME
Tag name for directions in this object. |
protected Element |
elt
|
static String |
ID_ATTR_NAME
Tag name for ids in this object. |
static String |
SIGNATURE_ELT_NAME
Tag name for signatures in this object. |
static String |
TYPE_ELT_NAME
Tag name for types in this object. |
protected IXArch |
xArch
|
static String |
XSD_TYPE_NAME
|
static String |
XSD_TYPE_NSURI
|
| Fields inherited from interface edu.uci.isr.xarch.types.IInterface |
TYPE_METADATA |
| Fields inherited from interface edu.uci.isr.xarch.IXArchElement |
DEPTH_INFINITY, DEPTH_ONE, DEPTH_ZERO |
| Constructor Summary | |
InterfaceImpl(Element elt)
|
|
| Method Summary | |
void |
clearDescription()
Clear the description from this Interface. |
void |
clearDirection()
Clear the direction from this Interface. |
void |
clearId()
Removes the id attribute from this object. |
void |
clearSignature()
Clear the signature from this Interface. |
void |
clearType()
Clear the type from this Interface. |
IXArchElement |
cloneElement(int depth)
|
boolean |
equals(Object o)
|
IDescription |
getDescription()
Get the description from this Interface. |
IDirection |
getDirection()
Get the direction from this Interface. |
Node |
getDOMNode()
Gets the DOM node on which this implementation is based. |
String |
getId()
Gets the value of the id attribute on this object. |
XArchInstanceMetadata |
getInstanceMetadata()
Gets metadata describing the instance of this element. |
protected static SequenceOrder |
getSequenceOrder()
|
IXMLLink |
getSignature()
Get the signature from this Interface. |
IXMLLink |
getType()
Get the type from this Interface. |
XArchTypeMetadata |
getTypeMetadata()
Gets metadata describing the xsi:type of this element. |
IXArch |
getXArch()
|
boolean |
hasDescription(IDescription value)
Determine if this Interface has the given description |
boolean |
hasDirection(IDirection value)
Determine if this Interface has the given direction |
int |
hashCode()
|
boolean |
hasId(String id)
Determines if this object's id attribute has the given value. |
boolean |
hasSignature(IXMLLink value)
Determine if this Interface has the given signature |
boolean |
hasType(IXMLLink value)
Determine if this Interface has the given type |
boolean |
isEqual(IInterface InterfaceToCheck)
Determine if another Interface has the same id as this one. |
boolean |
isEquivalent(IInterface c)
Determine if another Interface is equivalent to this one, ignoring ID's. |
void |
setDescription(IDescription value)
Set the description for this Interface. |
void |
setDirection(IDirection value)
Set the direction for this Interface. |
void |
setDOMNode(Node node)
Sets the DOM node on which this implementation is based. |
void |
setId(String id)
Set the id attribute on this object. |
void |
setSignature(IXMLLink value)
Set the signature for this Interface. |
void |
setType(IXMLLink value)
Set the type for this Interface. |
void |
setXArch(IXArch xArch)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String XSD_TYPE_NSURI
public static final String XSD_TYPE_NAME
protected IXArch xArch
public static final String ID_ATTR_NAME
public static final String DESCRIPTION_ELT_NAME
public static final String DIRECTION_ELT_NAME
public static final String TYPE_ELT_NAME
public static final String SIGNATURE_ELT_NAME
protected Element elt
| Constructor Detail |
public InterfaceImpl(Element elt)
| Method Detail |
public Node getDOMNode()
DOMBased
getDOMNode in interface DOMBasedpublic void setDOMNode(Node node)
DOMBased
setDOMNode in interface DOMBasednode - DOM nodeprotected static SequenceOrder getSequenceOrder()
public void setXArch(IXArch xArch)
setXArch in interface IXArchElementpublic IXArch getXArch()
getXArch in interface IXArchElementpublic IXArchElement cloneElement(int depth)
cloneElement in interface IXArchElementpublic boolean equals(Object o)
public int hashCode()
public XArchTypeMetadata getTypeMetadata()
IXArchElementxsi:type of this element.
getTypeMetadata in interface IXArchElementxsi:type of this element.public XArchInstanceMetadata getInstanceMetadata()
IXArchElement
getInstanceMetadata in interface IXArchElementpublic void setId(String id)
setId in interface IInterfaceid - attribute value.public void clearId()
clearId in interface IInterfacepublic String getId()
getId in interface IInterfacenull if that
attribute is not set.public boolean hasId(String id)
hasId in interface IInterfaceid - value to test.
true if the values match, false otherwise.
Matching is done by string-matching.public void setDescription(IDescription value)
IInterface
setDescription in interface IInterfacevalue - new descriptionpublic void clearDescription()
IInterface
clearDescription in interface IInterfacepublic IDescription getDescription()
IInterface
getDescription in interface IInterfacepublic boolean hasDescription(IDescription value)
IInterface
hasDescription in interface IInterfacevalue - description to compare
true if the descriptions are equivalent,
false otherwisepublic void setDirection(IDirection value)
IInterface
setDirection in interface IInterfacevalue - new directionpublic void clearDirection()
IInterface
clearDirection in interface IInterfacepublic IDirection getDirection()
IInterface
getDirection in interface IInterfacepublic boolean hasDirection(IDirection value)
IInterface
hasDirection in interface IInterfacevalue - direction to compare
true if the directions are equivalent,
false otherwisepublic void setType(IXMLLink value)
IInterface
setType in interface IInterfacevalue - new typepublic void clearType()
IInterface
clearType in interface IInterfacepublic IXMLLink getType()
IInterface
getType in interface IInterfacepublic boolean hasType(IXMLLink value)
IInterface
hasType in interface IInterfacevalue - type to compare
true if the types are equivalent,
false otherwisepublic void setSignature(IXMLLink value)
IInterface
setSignature in interface IInterfacevalue - new signaturepublic void clearSignature()
IInterface
clearSignature in interface IInterfacepublic IXMLLink getSignature()
IInterface
getSignature in interface IInterfacepublic boolean hasSignature(IXMLLink value)
IInterface
hasSignature in interface IInterfacevalue - signature to compare
true if the signatures are equivalent,
false otherwisepublic boolean isEqual(IInterface InterfaceToCheck)
IInterface
isEqual in interface IInterfaceInterfaceToCheck - Interface to compare with this
one.public boolean isEquivalent(IInterface c)
IInterface
isEquivalent in interface IInterfacec - Interface to compare to this one.
true if all the child elements of this
Interface are equivalent, false otherwise.
|
xArch/xADL 2.0 Data Binding Library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||