org.kuali.rice.krms.api.engine
Class TermSpecification

java.lang.Object
  extended by 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

Constructor Summary
TermSpecification(String name, String type)
          This constructs a TermSpecification, which defines a (blech) type of data that is most likely obtainable through the TermResolutionEngine.
 
Method Summary
 int compareTo(TermSpecification o)
           
 boolean equals(Object obj)
           
 String getName()
           
 String getType()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 -
Method Detail

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.