public final class Term extends Object implements Comparable<Term>
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
.Constructor and Description |
---|
Term(String name)
Constructor
|
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 |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Term o) |
boolean |
equals(Object obj) |
String |
getName()
Return the name of the term
|
Map<String,String> |
getParameters()
Return an unmodifiable Map of parameters specified on this Term.
|
Map<String,String> |
getProperties() |
int |
hashCode() |
String |
toString() |
public Term(String name, Map<String,String> parameters)
TermResolutionEngine
name
- the term nameparameters
- an optional map of properties that may be used to allow a single TermResolver to resolve multiple Termspublic Map<String,String> getProperties()
public int compareTo(Term o)
compareTo
in interface Comparable<Term>
public Map<String,String> getParameters()
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.