public class ClassCriteria extends Object implements MatchingCriteria
NAME_AND_NAMESPACE_MATCH, NAME_MATCH, NONE| Constructor and Description |
|---|
ClassCriteria(String className,
MatchingCriteria nested) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAssociations(javax.jmi.reflect.RefObject forObject)
Returns the wrapped list of associations only if the model element is of the metaclass with class name provided
|
List<String> |
getAttributes(javax.jmi.reflect.RefObject forObject)
Returns the wrapped list of attributes only if the model element is of the metaclass with class name provided
|
String |
toString() |
public ClassCriteria(String className, MatchingCriteria nested)
className - nested - public List<String> getAttributes(javax.jmi.reflect.RefObject forObject)
getAttributes in interface MatchingCriteriaSimpleCriteria.getAttributes(javax.jmi.reflect.RefObject)public List<String> getAssociations(javax.jmi.reflect.RefObject forObject)
getAssociations in interface MatchingCriteriaSimpleCriteria.getAssociations(RefObject)public String toString()
toString in class ObjectObject.toString()Copyright © 2001–2018 MDA Tools. All rights reserved.