|
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.SubArchitectureImpl
DOM-Based implementation of the ISubArchitecture interface.
| Field Summary | |
static String |
ARCH_STRUCTURE_ELT_NAME
Tag name for archStructures in this object. |
protected Element |
elt
|
static String |
SIGNATURE_INTERFACE_MAPPING_ELT_NAME
Tag name for signatureInterfaceMappings 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.ISubArchitecture |
TYPE_METADATA |
| Fields inherited from interface edu.uci.isr.xarch.IXArchElement |
DEPTH_INFINITY, DEPTH_ONE, DEPTH_ZERO |
| Constructor Summary | |
SubArchitectureImpl(Element elt)
|
|
| Method Summary | |
void |
addSignatureInterfaceMapping(ISignatureInterfaceMapping newSignatureInterfaceMapping)
Add a signatureInterfaceMapping to this SubArchitecture. |
void |
addSignatureInterfaceMappings(Collection signatureInterfaceMappings)
Add a collection of signatureInterfaceMappings to this SubArchitecture. |
void |
clearArchStructure()
Clear the archStructure from this SubArchitecture. |
void |
clearSignatureInterfaceMappings()
Remove all signatureInterfaceMappings from this SubArchitecture. |
IXArchElement |
cloneElement(int depth)
|
boolean |
equals(Object o)
|
Collection |
getAllSignatureInterfaceMappings()
Get all the signatureInterfaceMappings from this SubArchitecture. |
IXMLLink |
getArchStructure()
Get the archStructure from this SubArchitecture. |
Node |
getDOMNode()
Gets the DOM node on which this implementation is based. |
XArchInstanceMetadata |
getInstanceMetadata()
Gets metadata describing the instance of this element. |
protected static SequenceOrder |
getSequenceOrder()
|
ISignatureInterfaceMapping |
getSignatureInterfaceMapping(String id)
Gets the signatureInterfaceMapping from this SubArchitecture with the given id. |
Collection |
getSignatureInterfaceMappings(Collection ids)
Gets the signatureInterfaceMappings from this SubArchitecture with the given ids. |
XArchTypeMetadata |
getTypeMetadata()
Gets metadata describing the xsi:type of this element. |
IXArch |
getXArch()
|
boolean |
hasAllSignatureInterfaceMappings(Collection signatureInterfaceMappingsToCheck)
Determine if this SubArchitecture contains each element in the given set of signatureInterfaceMappings. |
boolean |
hasArchStructure(IXMLLink value)
Determine if this SubArchitecture has the given archStructure |
int |
hashCode()
|
boolean |
hasSignatureInterfaceMapping(ISignatureInterfaceMapping signatureInterfaceMappingToCheck)
Determine if this SubArchitecture contains a given signatureInterfaceMapping. |
Collection |
hasSignatureInterfaceMappings(Collection signatureInterfaceMappingsToCheck)
Determine if this SubArchitecture contains the given set of signatureInterfaceMappings. |
boolean |
isEquivalent(ISubArchitecture c)
Determine if another SubArchitecture is equivalent to this one, ignoring ID's. |
void |
removeSignatureInterfaceMapping(ISignatureInterfaceMapping signatureInterfaceMappingToRemove)
Remove the given signatureInterfaceMapping from this SubArchitecture. |
void |
removeSignatureInterfaceMappings(Collection signatureInterfaceMappings)
Remove all the given signatureInterfaceMappings from this SubArchitecture. |
void |
setArchStructure(IXMLLink value)
Set the archStructure for this SubArchitecture. |
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 ARCH_STRUCTURE_ELT_NAME
public static final String SIGNATURE_INTERFACE_MAPPING_ELT_NAME
protected Element elt
| Constructor Detail |
public SubArchitectureImpl(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 setArchStructure(IXMLLink value)
ISubArchitecture
setArchStructure in interface ISubArchitecturevalue - new archStructurepublic void clearArchStructure()
ISubArchitecture
clearArchStructure in interface ISubArchitecturepublic IXMLLink getArchStructure()
ISubArchitecture
getArchStructure in interface ISubArchitecturepublic boolean hasArchStructure(IXMLLink value)
ISubArchitecture
hasArchStructure in interface ISubArchitecturevalue - archStructure to compare
true if the archStructures are equivalent,
false otherwisepublic void addSignatureInterfaceMapping(ISignatureInterfaceMapping newSignatureInterfaceMapping)
ISubArchitecture
addSignatureInterfaceMapping in interface ISubArchitecturenewSignatureInterfaceMapping - signatureInterfaceMapping to add.public void addSignatureInterfaceMappings(Collection signatureInterfaceMappings)
ISubArchitecture
addSignatureInterfaceMappings in interface ISubArchitecturesignatureInterfaceMappings - signatureInterfaceMappings to add.public void clearSignatureInterfaceMappings()
ISubArchitecture
clearSignatureInterfaceMappings in interface ISubArchitecturepublic void removeSignatureInterfaceMapping(ISignatureInterfaceMapping signatureInterfaceMappingToRemove)
ISubArchitectureisEquivalent(...) function.
removeSignatureInterfaceMapping in interface ISubArchitecturesignatureInterfaceMappingToRemove - signatureInterfaceMapping to remove.public void removeSignatureInterfaceMappings(Collection signatureInterfaceMappings)
ISubArchitectureisEquivalent(...) function.
removeSignatureInterfaceMappings in interface ISubArchitecturesignatureInterfaceMappings - signatureInterfaceMapping to remove.public Collection getAllSignatureInterfaceMappings()
ISubArchitecture
getAllSignatureInterfaceMappings in interface ISubArchitecturepublic boolean hasSignatureInterfaceMapping(ISignatureInterfaceMapping signatureInterfaceMappingToCheck)
ISubArchitecture
hasSignatureInterfaceMapping in interface ISubArchitecturetrue if this SubArchitecture contains the given
signatureInterfaceMappingToCheck, false otherwise.public Collection hasSignatureInterfaceMappings(Collection signatureInterfaceMappingsToCheck)
ISubArchitecture
hasSignatureInterfaceMappings in interface ISubArchitecturesignatureInterfaceMappingsToCheck - signatureInterfaceMappings to check for.
java.lang.Boolean. If the ith
element in signatureInterfaceMappings 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 hasAllSignatureInterfaceMappings(Collection signatureInterfaceMappingsToCheck)
ISubArchitecture
hasAllSignatureInterfaceMappings in interface ISubArchitecturesignatureInterfaceMappingsToCheck - signatureInterfaceMappings to check for.
true if every element in
signatureInterfaceMappings is found in this SubArchitecture,
false otherwise.public ISignatureInterfaceMapping getSignatureInterfaceMapping(String id)
ISubArchitecture
getSignatureInterfaceMapping in interface ISubArchitectureid - ID to look for.
null if not found.public Collection getSignatureInterfaceMappings(Collection ids)
ISubArchitecture
getSignatureInterfaceMappings in interface ISubArchitectureids - ID to look for.
public boolean isEquivalent(ISubArchitecture c)
ISubArchitecture
isEquivalent in interface ISubArchitecturec - SubArchitecture to compare to this one.
true if all the child elements of this
SubArchitecture 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 | |||||||||