Class ContextSelectionCriteria
java.lang.Object
org.kuali.rice.core.api.mo.AbstractDataTransferObject
org.kuali.rice.krms.api.repository.context.ContextSelectionCriteria
- All Implemented Interfaces:
Serializable,ModelObjectBasic,ModelObjectComplete
A set of criteria for selecting a
ContextDefinition.- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the list of qualifiers as a map to name, value pair strings.getName()Returns the name of the contextReturns the namespace of the context.static ContextSelectionCriteriaFactory method returns a new context selection criteria object with the fields set to the parameters provided.static ContextSelectionCriterianewCriteria(String namespaceCode, Map<String, String> contextQualifiers) Factory method returns a new context selection criteria object with the namespace and contextQualifiers fields set to the parameters provided.static ContextSelectionCriterianewCriteria(Map<String, String> contextQualifiers) Factory method returns a new context selection criteria object with the contextQualifiers property set to the parameter provided.Methods inherited from class org.kuali.rice.core.api.mo.AbstractDataTransferObject
afterUnmarshal, beforeUnmarshal, equals, equalsExcludeFields, getDefaultHashCodeEqualsExcludeFields, hashCode, hashCodeExcludeFields, toString
-
Method Details
-
newCriteria
public static ContextSelectionCriteria newCriteria(String namespaceCode, String name, Map<String, String> contextQualifiers) Factory method returns a new context selection criteria object with the fields set to the parameters provided.- Parameters:
namespaceCode- the namespace of the contextname- the name of the contextcontextQualifiers- a Map of name value pair strings representing the list of qualifiers to use as selection criteria.
-
newCriteria
public static ContextSelectionCriteria newCriteria(String namespaceCode, Map<String, String> contextQualifiers) Factory method returns a new context selection criteria object with the namespace and contextQualifiers fields set to the parameters provided. The name field is set to null.- Parameters:
namespaceCode- the namespace of the contextcontextQualifiers- a Map of name value pair strings representing the list of qualifiers to use as selection criteria.
-
newCriteria
Factory method returns a new context selection criteria object with the contextQualifiers property set to the parameter provided. The name and namespace properties are set to null.- Parameters:
contextQualifiers- a Map of name value pair strings representing the list of qualifiers to use as selection criteria.
-
getNamespaceCode
Returns the namespace of the context.- Returns:
- the namespace code of the context
-
getName
Returns the name of the context- Returns:
- the name of the context
-
getContextQualifiers
Returns the list of qualifiers as a map to name, value pair strings.- Returns:
- a map containing the qualifier name, value pairs.
-