|
xArch/xADL 2.0 Data Binding Library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface for accessing objects of the
TronAnalysis xsi:type in the
tronanalysis namespace. Extends and
inherits the properties of the
Analysis xsi:type.
| Field Summary | |
static XArchTypeMetadata |
TYPE_METADATA
|
| Fields inherited from interface edu.uci.isr.xarch.IXArchElement |
DEPTH_INFINITY, DEPTH_ONE, DEPTH_ZERO |
| Method Summary | |
void |
addTest(ITest newTest)
Add a test to this TronAnalysis. |
void |
addTests(Collection tests)
Add a collection of tests to this TronAnalysis. |
void |
clearDescription()
Clear the description from this TronAnalysis. |
void |
clearId()
Remove the id attribute from this TronAnalysis. |
void |
clearTests()
Remove all tests from this TronAnalysis. |
Collection |
getAllTests()
Get all the tests from this TronAnalysis. |
IDescription |
getDescription()
Get the description from this TronAnalysis. |
String |
getId()
Get the id attribute from this TronAnalysis. |
ITest |
getTest(String id)
Gets the test from this TronAnalysis with the given id. |
Collection |
getTests(Collection ids)
Gets the tests from this TronAnalysis with the given ids. |
boolean |
hasAllTests(Collection testsToCheck)
Determine if this TronAnalysis contains each element in the given set of tests. |
boolean |
hasDescription(IDescription descriptionToCheck)
Determine if this TronAnalysis has the given description |
boolean |
hasId(String id)
Determine if the id attribute on this TronAnalysis has the given value. |
boolean |
hasTest(ITest testToCheck)
Determine if this TronAnalysis contains a given test. |
Collection |
hasTests(Collection testsToCheck)
Determine if this TronAnalysis contains the given set of tests. |
boolean |
isEquivalent(ITronAnalysis TronAnalysisToCheck)
Determine if another TronAnalysis is equivalent to this one, ignoring ID's. |
void |
removeTest(ITest testToRemove)
Remove the given test from this TronAnalysis. |
void |
removeTests(Collection tests)
Remove all the given tests from this TronAnalysis. |
void |
setDescription(IDescription value)
Set the description for this TronAnalysis. |
void |
setId(String id)
Set the id attribute on this TronAnalysis. |
| Methods inherited from interface edu.uci.isr.xarch.analysis.IAnalysis |
isEquivalent |
| Methods inherited from interface edu.uci.isr.xarch.IXArchElement |
cloneElement, getInstanceMetadata, getTypeMetadata, getXArch, setXArch |
| Field Detail |
public static final XArchTypeMetadata TYPE_METADATA
| Method Detail |
public void setId(String id)
id - id
FixedValueException - if the attribute has a fixed value
and the value passed is not the fixed value.public void clearId()
public String getId()
public boolean hasId(String id)
id - Attribute value to compare
true if they match; false
otherwise.public void setDescription(IDescription value)
value - new descriptionpublic void clearDescription()
public IDescription getDescription()
public boolean hasDescription(IDescription descriptionToCheck)
descriptionToCheck - description to compare
true if the descriptions are equivalent,
false otherwisepublic void addTest(ITest newTest)
newTest - test to add.public void addTests(Collection tests)
tests - tests to add.public void clearTests()
public void removeTest(ITest testToRemove)
isEquivalent(...) function.
testToRemove - test to remove.public void removeTests(Collection tests)
isEquivalent(...) function.
tests - test to remove.public Collection getAllTests()
public boolean hasTest(ITest testToCheck)
true if this TronAnalysis contains the given
testToCheck, false otherwise.public Collection hasTests(Collection testsToCheck)
testsToCheck - tests to check for.
java.lang.Boolean. If the ith
element in tests 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 hasAllTests(Collection testsToCheck)
testsToCheck - tests to check for.
true if every element in
tests is found in this TronAnalysis,
false otherwise.public ITest getTest(String id)
id - ID to look for.
null if not found.public Collection getTests(Collection ids)
ids - ID to look for.
public boolean isEquivalent(ITronAnalysis TronAnalysisToCheck)
TronAnalysisToCheck - TronAnalysis to compare to this one.
true if all the child elements of this
TronAnalysis 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 | |||||||||