com.ibm.xtools.transform.uml2
Class HasStereotype
java.lang.Object
com.ibm.xtools.emf.query.conditions.Condition
com.ibm.xtools.transform.uml2.HasStereotype
- public class HasStereotype
- extends Condition
Determine if the source UML2 object has the specified stereotype applied to
it.
Method Summary |
boolean |
isSatisfied(Object object)
This operation is the evaluation operation of this Condition
in regard to the argument Object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HasStereotype
public HasStereotype(String stereotype)
- Constructor.
- Parameters:
stereotype
- the stereotype to check.
isSatisfied
public boolean isSatisfied(Object object)
- Description copied from class:
Condition
- This operation is the evaluation operation of this
Condition
in regard to the argument Object. In other words, the operation answers
whether the argument Object satisfied this Condition
or
not.
- Specified by:
isSatisfied
in class Condition
- Parameters:
object
- an Object to check if it satisfies this Condition
- Returns:
true
if the argument Object satisfies this
Condition
,false
otherwise.
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2004. All rights reserved.