|
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.pladiff.AddLinkImpl
DOM-Based implementation of the IAddLink interface.
| Field Summary | |
protected Element |
elt
|
static String |
INTERFACE_END_POINT_ELT_NAME
Tag name for interfaceEndPoints in this object. |
static String |
LINK_ELT_NAME
Tag name for links 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.IAddLink |
TYPE_METADATA |
| Fields inherited from interface edu.uci.isr.xarch.IXArchElement |
DEPTH_INFINITY, DEPTH_ONE, DEPTH_ZERO |
| Constructor Summary | |
AddLinkImpl(Element elt)
|
|
| Method Summary | |
void |
addInterfaceEndPoint(IInterfaceEndPoint newInterfaceEndPoint)
Add a interfaceEndPoint to this AddLink. |
void |
addInterfaceEndPoints(Collection interfaceEndPoints)
Add a collection of interfaceEndPoints to this AddLink. |
void |
clearInterfaceEndPoints()
Remove all interfaceEndPoints from this AddLink. |
void |
clearLink()
Clear the link from this AddLink. |
IXArchElement |
cloneElement(int depth)
|
boolean |
equals(Object o)
|
Collection |
getAllInterfaceEndPoints()
Get all the interfaceEndPoints from this AddLink. |
Node |
getDOMNode()
Gets the DOM node on which this implementation is based. |
XArchInstanceMetadata |
getInstanceMetadata()
Gets metadata describing the instance of this element. |
ILink |
getLink()
Get the link from this AddLink. |
protected static SequenceOrder |
getSequenceOrder()
|
XArchTypeMetadata |
getTypeMetadata()
Gets metadata describing the xsi:type of this element. |
IXArch |
getXArch()
|
boolean |
hasAllInterfaceEndPoints(Collection interfaceEndPointsToCheck)
Determine if this AddLink contains each element in the given set of interfaceEndPoints. |
int |
hashCode()
|
boolean |
hasInterfaceEndPoint(IInterfaceEndPoint interfaceEndPointToCheck)
Determine if this AddLink contains a given interfaceEndPoint. |
Collection |
hasInterfaceEndPoints(Collection interfaceEndPointsToCheck)
Determine if this AddLink contains the given set of interfaceEndPoints. |
boolean |
hasLink(ILink value)
Determine if this AddLink has the given link |
boolean |
isEquivalent(IAddLink c)
Determine if another AddLink is equivalent to this one, ignoring ID's. |
void |
removeInterfaceEndPoint(IInterfaceEndPoint interfaceEndPointToRemove)
Remove the given interfaceEndPoint from this AddLink. |
void |
removeInterfaceEndPoints(Collection interfaceEndPoints)
Remove all the given interfaceEndPoints from this AddLink. |
void |
setDOMNode(Node node)
Sets the DOM node on which this implementation is based. |
void |
setLink(ILink value)
Set the link for this AddLink. |
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 LINK_ELT_NAME
public static final String INTERFACE_END_POINT_ELT_NAME
protected Element elt
| Constructor Detail |
public AddLinkImpl(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 setLink(ILink value)
IAddLink
setLink in interface IAddLinkvalue - new linkpublic void clearLink()
IAddLink
clearLink in interface IAddLinkpublic ILink getLink()
IAddLink
getLink in interface IAddLinkpublic boolean hasLink(ILink value)
IAddLink
hasLink in interface IAddLinkvalue - link to compare
true if the links are equivalent,
false otherwisepublic void addInterfaceEndPoint(IInterfaceEndPoint newInterfaceEndPoint)
IAddLink
addInterfaceEndPoint in interface IAddLinknewInterfaceEndPoint - interfaceEndPoint to add.public void addInterfaceEndPoints(Collection interfaceEndPoints)
IAddLink
addInterfaceEndPoints in interface IAddLinkinterfaceEndPoints - interfaceEndPoints to add.public void clearInterfaceEndPoints()
IAddLink
clearInterfaceEndPoints in interface IAddLinkpublic void removeInterfaceEndPoint(IInterfaceEndPoint interfaceEndPointToRemove)
IAddLinkisEquivalent(...) function.
removeInterfaceEndPoint in interface IAddLinkinterfaceEndPointToRemove - interfaceEndPoint to remove.public void removeInterfaceEndPoints(Collection interfaceEndPoints)
IAddLinkisEquivalent(...) function.
removeInterfaceEndPoints in interface IAddLinkinterfaceEndPoints - interfaceEndPoint to remove.public Collection getAllInterfaceEndPoints()
IAddLink
getAllInterfaceEndPoints in interface IAddLinkpublic boolean hasInterfaceEndPoint(IInterfaceEndPoint interfaceEndPointToCheck)
IAddLink
hasInterfaceEndPoint in interface IAddLinktrue if this AddLink contains the given
interfaceEndPointToCheck, false otherwise.public Collection hasInterfaceEndPoints(Collection interfaceEndPointsToCheck)
IAddLink
hasInterfaceEndPoints in interface IAddLinkinterfaceEndPointsToCheck - interfaceEndPoints to check for.
java.lang.Boolean. If the ith
element in interfaceEndPoints was found, then the ith
element of the collection will be set to true, otherwise it
will be set to false. Matching is done with the
isEquivalent(...) method.public boolean hasAllInterfaceEndPoints(Collection interfaceEndPointsToCheck)
IAddLink
hasAllInterfaceEndPoints in interface IAddLinkinterfaceEndPointsToCheck - interfaceEndPoints to check for.
true if every element in
interfaceEndPoints is found in this AddLink,
false otherwise.public boolean isEquivalent(IAddLink c)
IAddLink
isEquivalent in interface IAddLinkc - AddLink to compare to this one.
true if all the child elements of this
AddLink 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 | |||||||||