org.kuali.rice.krms.api.engine
Class Term
java.lang.Object
org.kuali.rice.krms.api.engine.Term
- All Implemented Interfaces:
- Comparable<Term>
public final class Term
- extends Object
- implements Comparable<Term>
Identifies a (hopefully) resolvable Term
. For resolution in the TermResolutionEngine
, The
appropriate TermResolver
will be selected by matching the name and parameters of the Term
with
the output and parameter names of the TermResolver
.
- Author:
- gilesp
Term
public Term(String name)
Term
public Term(String name,
Map<String,String> parameters)
- This constructs a Term, which is a named piece of data that is usually obtainable
through the
TermResolutionEngine
- Parameters:
name
- parameters
- an optional map of properties that may be used to allow a single TermResolver to resolve multiple Terms
getName
public String getName()
getProperties
public Map<String,String> getProperties()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
compareTo
public int compareTo(Term o)
- Specified by:
compareTo
in interface Comparable<Term>
getParameters
public Map<String,String> getParameters()
- Returns:
- an unmodifiable Map of parameters specified on this Term. Guaranteed non-null.
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.