|
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.versions.ArchVersionsImpl
DOM-Based implementation of the IArchVersions interface.
| Field Summary | |
static String |
COMPONENT_TYPE_VERSION_GRAPH_ELT_NAME
Tag name for componentTypeVersionGraphs in this object. |
static String |
CONNECTOR_TYPE_VERSION_GRAPH_ELT_NAME
Tag name for connectorTypeVersionGraphs in this object. |
protected Element |
elt
|
static String |
INTERFACE_TYPE_VERSION_GRAPH_ELT_NAME
Tag name for interfaceTypeVersionGraphs in this object. |
protected IXArch |
xArch
|
static String |
XSD_TYPE_NAME
|
static String |
XSD_TYPE_NSURI
|
| Fields inherited from interface edu.uci.isr.xarch.versions.IArchVersions |
TYPE_METADATA |
| Fields inherited from interface edu.uci.isr.xarch.IXArchElement |
DEPTH_INFINITY, DEPTH_ONE, DEPTH_ZERO |
| Constructor Summary | |
ArchVersionsImpl(Element elt)
|
|
| Method Summary | |
void |
addComponentTypeVersionGraph(IComponentTypeVersionGraph newComponentTypeVersionGraph)
Add a componentTypeVersionGraph to this ArchVersions. |
void |
addComponentTypeVersionGraphs(Collection componentTypeVersionGraphs)
Add a collection of componentTypeVersionGraphs to this ArchVersions. |
void |
addConnectorTypeVersionGraph(IConnectorTypeVersionGraph newConnectorTypeVersionGraph)
Add a connectorTypeVersionGraph to this ArchVersions. |
void |
addConnectorTypeVersionGraphs(Collection connectorTypeVersionGraphs)
Add a collection of connectorTypeVersionGraphs to this ArchVersions. |
void |
addInterfaceTypeVersionGraph(IInterfaceTypeVersionGraph newInterfaceTypeVersionGraph)
Add a interfaceTypeVersionGraph to this ArchVersions. |
void |
addInterfaceTypeVersionGraphs(Collection interfaceTypeVersionGraphs)
Add a collection of interfaceTypeVersionGraphs to this ArchVersions. |
void |
clearComponentTypeVersionGraphs()
Remove all componentTypeVersionGraphs from this ArchVersions. |
void |
clearConnectorTypeVersionGraphs()
Remove all connectorTypeVersionGraphs from this ArchVersions. |
void |
clearInterfaceTypeVersionGraphs()
Remove all interfaceTypeVersionGraphs from this ArchVersions. |
IXArchElement |
cloneElement(int depth)
|
boolean |
equals(Object o)
|
Collection |
getAllComponentTypeVersionGraphs()
Get all the componentTypeVersionGraphs from this ArchVersions. |
Collection |
getAllConnectorTypeVersionGraphs()
Get all the connectorTypeVersionGraphs from this ArchVersions. |
Collection |
getAllInterfaceTypeVersionGraphs()
Get all the interfaceTypeVersionGraphs from this ArchVersions. |
IComponentTypeVersionGraph |
getComponentTypeVersionGraph(String id)
Gets the componentTypeVersionGraph from this ArchVersions with the given id. |
Collection |
getComponentTypeVersionGraphs(Collection ids)
Gets the componentTypeVersionGraphs from this ArchVersions with the given ids. |
IConnectorTypeVersionGraph |
getConnectorTypeVersionGraph(String id)
Gets the connectorTypeVersionGraph from this ArchVersions with the given id. |
Collection |
getConnectorTypeVersionGraphs(Collection ids)
Gets the connectorTypeVersionGraphs from this ArchVersions with the given ids. |
Node |
getDOMNode()
Gets the DOM node on which this implementation is based. |
XArchInstanceMetadata |
getInstanceMetadata()
Gets metadata describing the instance of this element. |
IInterfaceTypeVersionGraph |
getInterfaceTypeVersionGraph(String id)
Gets the interfaceTypeVersionGraph from this ArchVersions with the given id. |
Collection |
getInterfaceTypeVersionGraphs(Collection ids)
Gets the interfaceTypeVersionGraphs from this ArchVersions with the given ids. |
protected static SequenceOrder |
getSequenceOrder()
|
XArchTypeMetadata |
getTypeMetadata()
Gets metadata describing the xsi:type of this element. |
IXArch |
getXArch()
|
boolean |
hasAllComponentTypeVersionGraphs(Collection componentTypeVersionGraphsToCheck)
Determine if this ArchVersions contains each element in the given set of componentTypeVersionGraphs. |
boolean |
hasAllConnectorTypeVersionGraphs(Collection connectorTypeVersionGraphsToCheck)
Determine if this ArchVersions contains each element in the given set of connectorTypeVersionGraphs. |
boolean |
hasAllInterfaceTypeVersionGraphs(Collection interfaceTypeVersionGraphsToCheck)
Determine if this ArchVersions contains each element in the given set of interfaceTypeVersionGraphs. |
boolean |
hasComponentTypeVersionGraph(IComponentTypeVersionGraph componentTypeVersionGraphToCheck)
Determine if this ArchVersions contains a given componentTypeVersionGraph. |
Collection |
hasComponentTypeVersionGraphs(Collection componentTypeVersionGraphsToCheck)
Determine if this ArchVersions contains the given set of componentTypeVersionGraphs. |
boolean |
hasConnectorTypeVersionGraph(IConnectorTypeVersionGraph connectorTypeVersionGraphToCheck)
Determine if this ArchVersions contains a given connectorTypeVersionGraph. |
Collection |
hasConnectorTypeVersionGraphs(Collection connectorTypeVersionGraphsToCheck)
Determine if this ArchVersions contains the given set of connectorTypeVersionGraphs. |
int |
hashCode()
|
boolean |
hasInterfaceTypeVersionGraph(IInterfaceTypeVersionGraph interfaceTypeVersionGraphToCheck)
Determine if this ArchVersions contains a given interfaceTypeVersionGraph. |
Collection |
hasInterfaceTypeVersionGraphs(Collection interfaceTypeVersionGraphsToCheck)
Determine if this ArchVersions contains the given set of interfaceTypeVersionGraphs. |
boolean |
isEquivalent(IArchVersions c)
Determine if another ArchVersions is equivalent to this one, ignoring ID's. |
void |
removeComponentTypeVersionGraph(IComponentTypeVersionGraph componentTypeVersionGraphToRemove)
Remove the given componentTypeVersionGraph from this ArchVersions. |
void |
removeComponentTypeVersionGraphs(Collection componentTypeVersionGraphs)
Remove all the given componentTypeVersionGraphs from this ArchVersions. |
void |
removeConnectorTypeVersionGraph(IConnectorTypeVersionGraph connectorTypeVersionGraphToRemove)
Remove the given connectorTypeVersionGraph from this ArchVersions. |
void |
removeConnectorTypeVersionGraphs(Collection connectorTypeVersionGraphs)
Remove all the given connectorTypeVersionGraphs from this ArchVersions. |
void |
removeInterfaceTypeVersionGraph(IInterfaceTypeVersionGraph interfaceTypeVersionGraphToRemove)
Remove the given interfaceTypeVersionGraph from this ArchVersions. |
void |
removeInterfaceTypeVersionGraphs(Collection interfaceTypeVersionGraphs)
Remove all the given interfaceTypeVersionGraphs from this ArchVersions. |
void |
setDOMNode(Node node)
Sets the DOM node on which this implementation is based. |
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 COMPONENT_TYPE_VERSION_GRAPH_ELT_NAME
public static final String CONNECTOR_TYPE_VERSION_GRAPH_ELT_NAME
public static final String INTERFACE_TYPE_VERSION_GRAPH_ELT_NAME
protected Element elt
| Constructor Detail |
public ArchVersionsImpl(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 addComponentTypeVersionGraph(IComponentTypeVersionGraph newComponentTypeVersionGraph)
IArchVersions
addComponentTypeVersionGraph in interface IArchVersionsnewComponentTypeVersionGraph - componentTypeVersionGraph to add.public void addComponentTypeVersionGraphs(Collection componentTypeVersionGraphs)
IArchVersions
addComponentTypeVersionGraphs in interface IArchVersionscomponentTypeVersionGraphs - componentTypeVersionGraphs to add.public void clearComponentTypeVersionGraphs()
IArchVersions
clearComponentTypeVersionGraphs in interface IArchVersionspublic void removeComponentTypeVersionGraph(IComponentTypeVersionGraph componentTypeVersionGraphToRemove)
IArchVersionsisEquivalent(...) function.
removeComponentTypeVersionGraph in interface IArchVersionscomponentTypeVersionGraphToRemove - componentTypeVersionGraph to remove.public void removeComponentTypeVersionGraphs(Collection componentTypeVersionGraphs)
IArchVersionsisEquivalent(...) function.
removeComponentTypeVersionGraphs in interface IArchVersionscomponentTypeVersionGraphs - componentTypeVersionGraph to remove.public Collection getAllComponentTypeVersionGraphs()
IArchVersions
getAllComponentTypeVersionGraphs in interface IArchVersionspublic boolean hasComponentTypeVersionGraph(IComponentTypeVersionGraph componentTypeVersionGraphToCheck)
IArchVersions
hasComponentTypeVersionGraph in interface IArchVersionstrue if this ArchVersions contains the given
componentTypeVersionGraphToCheck, false otherwise.public Collection hasComponentTypeVersionGraphs(Collection componentTypeVersionGraphsToCheck)
IArchVersions
hasComponentTypeVersionGraphs in interface IArchVersionscomponentTypeVersionGraphsToCheck - componentTypeVersionGraphs to check for.
java.lang.Boolean. If the ith
element in componentTypeVersionGraphs 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 hasAllComponentTypeVersionGraphs(Collection componentTypeVersionGraphsToCheck)
IArchVersions
hasAllComponentTypeVersionGraphs in interface IArchVersionscomponentTypeVersionGraphsToCheck - componentTypeVersionGraphs to check for.
true if every element in
componentTypeVersionGraphs is found in this ArchVersions,
false otherwise.public IComponentTypeVersionGraph getComponentTypeVersionGraph(String id)
IArchVersions
getComponentTypeVersionGraph in interface IArchVersionsid - ID to look for.
null if not found.public Collection getComponentTypeVersionGraphs(Collection ids)
IArchVersions
getComponentTypeVersionGraphs in interface IArchVersionsids - ID to look for.
public void addConnectorTypeVersionGraph(IConnectorTypeVersionGraph newConnectorTypeVersionGraph)
IArchVersions
addConnectorTypeVersionGraph in interface IArchVersionsnewConnectorTypeVersionGraph - connectorTypeVersionGraph to add.public void addConnectorTypeVersionGraphs(Collection connectorTypeVersionGraphs)
IArchVersions
addConnectorTypeVersionGraphs in interface IArchVersionsconnectorTypeVersionGraphs - connectorTypeVersionGraphs to add.public void clearConnectorTypeVersionGraphs()
IArchVersions
clearConnectorTypeVersionGraphs in interface IArchVersionspublic void removeConnectorTypeVersionGraph(IConnectorTypeVersionGraph connectorTypeVersionGraphToRemove)
IArchVersionsisEquivalent(...) function.
removeConnectorTypeVersionGraph in interface IArchVersionsconnectorTypeVersionGraphToRemove - connectorTypeVersionGraph to remove.public void removeConnectorTypeVersionGraphs(Collection connectorTypeVersionGraphs)
IArchVersionsisEquivalent(...) function.
removeConnectorTypeVersionGraphs in interface IArchVersionsconnectorTypeVersionGraphs - connectorTypeVersionGraph to remove.public Collection getAllConnectorTypeVersionGraphs()
IArchVersions
getAllConnectorTypeVersionGraphs in interface IArchVersionspublic boolean hasConnectorTypeVersionGraph(IConnectorTypeVersionGraph connectorTypeVersionGraphToCheck)
IArchVersions
hasConnectorTypeVersionGraph in interface IArchVersionstrue if this ArchVersions contains the given
connectorTypeVersionGraphToCheck, false otherwise.public Collection hasConnectorTypeVersionGraphs(Collection connectorTypeVersionGraphsToCheck)
IArchVersions
hasConnectorTypeVersionGraphs in interface IArchVersionsconnectorTypeVersionGraphsToCheck - connectorTypeVersionGraphs to check for.
java.lang.Boolean. If the ith
element in connectorTypeVersionGraphs 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 hasAllConnectorTypeVersionGraphs(Collection connectorTypeVersionGraphsToCheck)
IArchVersions
hasAllConnectorTypeVersionGraphs in interface IArchVersionsconnectorTypeVersionGraphsToCheck - connectorTypeVersionGraphs to check for.
true if every element in
connectorTypeVersionGraphs is found in this ArchVersions,
false otherwise.public IConnectorTypeVersionGraph getConnectorTypeVersionGraph(String id)
IArchVersions
getConnectorTypeVersionGraph in interface IArchVersionsid - ID to look for.
null if not found.public Collection getConnectorTypeVersionGraphs(Collection ids)
IArchVersions
getConnectorTypeVersionGraphs in interface IArchVersionsids - ID to look for.
public void addInterfaceTypeVersionGraph(IInterfaceTypeVersionGraph newInterfaceTypeVersionGraph)
IArchVersions
addInterfaceTypeVersionGraph in interface IArchVersionsnewInterfaceTypeVersionGraph - interfaceTypeVersionGraph to add.public void addInterfaceTypeVersionGraphs(Collection interfaceTypeVersionGraphs)
IArchVersions
addInterfaceTypeVersionGraphs in interface IArchVersionsinterfaceTypeVersionGraphs - interfaceTypeVersionGraphs to add.public void clearInterfaceTypeVersionGraphs()
IArchVersions
clearInterfaceTypeVersionGraphs in interface IArchVersionspublic void removeInterfaceTypeVersionGraph(IInterfaceTypeVersionGraph interfaceTypeVersionGraphToRemove)
IArchVersionsisEquivalent(...) function.
removeInterfaceTypeVersionGraph in interface IArchVersionsinterfaceTypeVersionGraphToRemove - interfaceTypeVersionGraph to remove.public void removeInterfaceTypeVersionGraphs(Collection interfaceTypeVersionGraphs)
IArchVersionsisEquivalent(...) function.
removeInterfaceTypeVersionGraphs in interface IArchVersionsinterfaceTypeVersionGraphs - interfaceTypeVersionGraph to remove.public Collection getAllInterfaceTypeVersionGraphs()
IArchVersions
getAllInterfaceTypeVersionGraphs in interface IArchVersionspublic boolean hasInterfaceTypeVersionGraph(IInterfaceTypeVersionGraph interfaceTypeVersionGraphToCheck)
IArchVersions
hasInterfaceTypeVersionGraph in interface IArchVersionstrue if this ArchVersions contains the given
interfaceTypeVersionGraphToCheck, false otherwise.public Collection hasInterfaceTypeVersionGraphs(Collection interfaceTypeVersionGraphsToCheck)
IArchVersions
hasInterfaceTypeVersionGraphs in interface IArchVersionsinterfaceTypeVersionGraphsToCheck - interfaceTypeVersionGraphs to check for.
java.lang.Boolean. If the ith
element in interfaceTypeVersionGraphs 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 hasAllInterfaceTypeVersionGraphs(Collection interfaceTypeVersionGraphsToCheck)
IArchVersions
hasAllInterfaceTypeVersionGraphs in interface IArchVersionsinterfaceTypeVersionGraphsToCheck - interfaceTypeVersionGraphs to check for.
true if every element in
interfaceTypeVersionGraphs is found in this ArchVersions,
false otherwise.public IInterfaceTypeVersionGraph getInterfaceTypeVersionGraph(String id)
IArchVersions
getInterfaceTypeVersionGraph in interface IArchVersionsid - ID to look for.
null if not found.public Collection getInterfaceTypeVersionGraphs(Collection ids)
IArchVersions
getInterfaceTypeVersionGraphs in interface IArchVersionsids - ID to look for.
public boolean isEquivalent(IArchVersions c)
IArchVersions
isEquivalent in interface IArchVersionsc - ArchVersions to compare to this one.
true if all the child elements of this
ArchVersions 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 | |||||||||