|
IBM Rational Software Modeler Release 6.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.xtools.patterns.core.AbstractPatternResult
com.ibm.xtools.patterns.framework.PatternsFrameworkResult
This class provides a default implementation of the AbstractPatternResult class.
Constructor Summary | |
PatternsFrameworkResult()
Create an empty pattern result. |
|
PatternsFrameworkResult(Object createdObject)
Create a pattern result with the given created object. |
|
PatternsFrameworkResult(Object[] createdObjects)
Create a pattern result with the given created objects. |
Method Summary | |
void |
addCreatedObject(Object object)
Add the given object to the created objects of this pattern result. |
void |
addCreatedObjects(Object[] objects)
Add the given array of objects to the collection of created objects associated with this pattern result. |
void |
addNestedResult(AbstractPatternResult nestedResult)
Add the given result to the nested results of this pattern result. |
Object[] |
getCreatedObjects()
Get the created objects, if any, of this pattern result. |
AbstractPatternResult[] |
getNestedResults()
Get the nested results, if any, of this pattern result. |
boolean |
hasCreatedObjects()
Get the nested results, if any, of this pattern result. |
boolean |
hasNestedResults()
Indicate whether this pattern result has any nested results. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PatternsFrameworkResult()
public PatternsFrameworkResult(Object createdObject)
createdObject
- the object to be added to the collection
of created objects associated with this resultpublic PatternsFrameworkResult(Object[] createdObjects)
createdObjects
- the array of objects to be added
to the collection of created objects associated
with this resultMethod Detail |
public boolean hasNestedResults()
hasNestedResults
in class AbstractPatternResult
true
if the pattern result has nested results;
else false
public AbstractPatternResult[] getNestedResults()
getNestedResults
in class AbstractPatternResult
public void addNestedResult(AbstractPatternResult nestedResult)
addNestedResult
in class AbstractPatternResult
public boolean hasCreatedObjects()
hasCreatedObjects
in class AbstractPatternResult
public Object[] getCreatedObjects()
getCreatedObjects
in class AbstractPatternResult
public void addCreatedObject(Object object)
addCreatedObject
in class AbstractPatternResult
public void addCreatedObjects(Object[] objects)
addCreatedObjects
in class AbstractPatternResult
objects
- the array of objects to be added to the collection
of created objects
|
IBM Rational Software Modeler Release 6.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2004. All rights reserved.