public class SimpleCriteria extends Object implements MatchingCriteria
NAME_AND_NAMESPACE_MATCH, NAME_MATCH, NONE| Constructor and Description |
|---|
SimpleCriteria(List<String> attributes,
List<String> associations)
Use explicitly provided lists of attribute names and association names.
|
SimpleCriteria(String attributes,
String associations) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAssociations(javax.jmi.reflect.RefObject forObject) |
List<String> |
getAttributes(javax.jmi.reflect.RefObject forObject) |
String |
toString() |
public SimpleCriteria(String attributes, String associations)
attributes - is a non-null comma-separated list of attributes/paths to useassociations - is a non-null comma-separated list of associations/paths to usepublic SimpleCriteria(List<String> attributes, List<String> associations)
attributes - not nullassociations - not nullpublic List<String> getAttributes(javax.jmi.reflect.RefObject forObject)
getAttributes in interface MatchingCriteriaMatchingCriteria.getAttributes(javax.jmi.reflect.RefObject)public List<String> getAssociations(javax.jmi.reflect.RefObject forObject)
getAssociations in interface MatchingCriteriaMatchingCriteria.getAssociations(javax.jmi.reflect.RefObject)public String toString()
toString in class ObjectObject.toString()Copyright © 2001–2018 MDA Tools. All rights reserved.