|
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.analysis.ArchAnalysisImpl
DOM-Based implementation of the IArchAnalysis interface.
| Field Summary | |
static String |
ANALYSIS_ELT_NAME
Tag name for analysiss in this object. |
protected Element |
elt
|
protected IXArch |
xArch
|
static String |
XSD_TYPE_NAME
|
static String |
XSD_TYPE_NSURI
|
| Fields inherited from interface edu.uci.isr.xarch.analysis.IArchAnalysis |
TYPE_METADATA |
| Fields inherited from interface edu.uci.isr.xarch.IXArchElement |
DEPTH_INFINITY, DEPTH_ONE, DEPTH_ZERO |
| Constructor Summary | |
ArchAnalysisImpl(Element elt)
|
|
| Method Summary | |
void |
addAnalysis(IAnalysis newAnalysis)
Add a analysis to this ArchAnalysis. |
void |
addAnalysiss(Collection analysiss)
Add a collection of analysiss to this ArchAnalysis. |
void |
clearAnalysiss()
Remove all analysiss from this ArchAnalysis. |
IXArchElement |
cloneElement(int depth)
|
boolean |
equals(Object o)
|
Collection |
getAllAnalysiss()
Get all the analysiss from this ArchAnalysis. |
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()
|
XArchTypeMetadata |
getTypeMetadata()
Gets metadata describing the xsi:type of this element. |
IXArch |
getXArch()
|
boolean |
hasAllAnalysiss(Collection analysissToCheck)
Determine if this ArchAnalysis contains each element in the given set of analysiss. |
boolean |
hasAnalysis(IAnalysis analysisToCheck)
Determine if this ArchAnalysis contains a given analysis. |
Collection |
hasAnalysiss(Collection analysissToCheck)
Determine if this ArchAnalysis contains the given set of analysiss. |
int |
hashCode()
|
boolean |
isEquivalent(IArchAnalysis c)
Determine if another ArchAnalysis is equivalent to this one, ignoring ID's. |
void |
removeAnalysis(IAnalysis analysisToRemove)
Remove the given analysis from this ArchAnalysis. |
void |
removeAnalysiss(Collection analysiss)
Remove all the given analysiss from this ArchAnalysis. |
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 ANALYSIS_ELT_NAME
protected Element elt
| Constructor Detail |
public ArchAnalysisImpl(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 addAnalysis(IAnalysis newAnalysis)
IArchAnalysis
addAnalysis in interface IArchAnalysisnewAnalysis - analysis to add.public void addAnalysiss(Collection analysiss)
IArchAnalysis
addAnalysiss in interface IArchAnalysisanalysiss - analysiss to add.public void clearAnalysiss()
IArchAnalysis
clearAnalysiss in interface IArchAnalysispublic void removeAnalysis(IAnalysis analysisToRemove)
IArchAnalysisisEquivalent(...) function.
removeAnalysis in interface IArchAnalysisanalysisToRemove - analysis to remove.public void removeAnalysiss(Collection analysiss)
IArchAnalysisisEquivalent(...) function.
removeAnalysiss in interface IArchAnalysisanalysiss - analysis to remove.public Collection getAllAnalysiss()
IArchAnalysis
getAllAnalysiss in interface IArchAnalysispublic boolean hasAnalysis(IAnalysis analysisToCheck)
IArchAnalysis
hasAnalysis in interface IArchAnalysistrue if this ArchAnalysis contains the given
analysisToCheck, false otherwise.public Collection hasAnalysiss(Collection analysissToCheck)
IArchAnalysis
hasAnalysiss in interface IArchAnalysisanalysissToCheck - analysiss to check for.
java.lang.Boolean. If the ith
element in analysiss 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 hasAllAnalysiss(Collection analysissToCheck)
IArchAnalysis
hasAllAnalysiss in interface IArchAnalysisanalysissToCheck - analysiss to check for.
true if every element in
analysiss is found in this ArchAnalysis,
false otherwise.public boolean isEquivalent(IArchAnalysis c)
IArchAnalysis
isEquivalent in interface IArchAnalysisc - ArchAnalysis to compare to this one.
true if all the child elements of this
ArchAnalysis 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 | |||||||||