org.kuali.rice.krms.api.engine
Class TermSpecification
java.lang.Object
org.kuali.rice.krms.api.engine.TermSpecification
- All Implemented Interfaces:
- Comparable<TermSpecification>
public final class TermSpecification
- extends Object
- implements Comparable<TermSpecification>
Specifies name and type for Terms.
- Author:
- gilesp
TermSpecification
public TermSpecification(String name,
String type)
- This constructs a TermSpecification, which defines a (blech) type of data that is most likely obtainable
through the
TermResolutionEngine
. Or perhaps more accurately, it maps a kind of data item to a
specific service (a TermResolver
) to resolve instances of it.
- Parameters:
name
- type
-
getName
public String getName()
getType
public String getType()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
compareTo
public int compareTo(TermSpecification o)
- Specified by:
compareTo
in interface Comparable<TermSpecification>
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.