org.kuali.rice.krms.api.repository.term
Class TermResolverDefinition

java.lang.Object
  extended by org.kuali.rice.krms.api.repository.term.TermResolverDefinition
All Implemented Interfaces:
Serializable, Identifiable, Versioned, ModelObjectBasic, ModelObjectComplete, TermResolverDefinitionContract

public final class TermResolverDefinition
extends Object
implements TermResolverDefinitionContract, ModelObjectComplete

This is a description of what this class does - gilesp don't forget to fill this in.

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Nested Class Summary
static class TermResolverDefinition.Builder
           
(package private) static class TermResolverDefinition.Constants
          Defines some internal constants used on this class.
(package private) static class TermResolverDefinition.Elements
           
 
Field Summary
private  Collection<Element> _futureElements
           
private  Map<String,String> attributes
           
private  String contextId
           
private  String id
           
private  String name
           
private  String namespaceCode
           
private  TermSpecificationDefinition output
           
private  Set<String> parameterNames
           
private  Set<TermSpecificationDefinition> prerequisites
           
private static long serialVersionUID
           
private  String typeId
           
private  Long versionNumber
           
 
Constructor Summary
private TermResolverDefinition()
          This private constructor is for JAXB use only, don't invoke directly.
private TermResolverDefinition(TermResolverDefinition.Builder builder)
           
 
Method Summary
 boolean equals(Object obj)
          All "Complete" model object's should adhere to the ModelObjectComplete.equals(Object) contract.
 Map<String,String> getAttributes()
           
 String getContextId()
           
 String getId()
          The unique identifier for an object.
 String getName()
           
 String getNamespaceCode()
           
 TermSpecificationDefinition getOutput()
           
 Set<String> getParameterNames()
           
 Set<TermSpecificationDefinition> getPrerequisites()
           
 String getTypeId()
           
 Long getVersionNumber()
          Returns the version number for this object.
 int hashCode()
          All "Complete" model object's should adhere to the ModelObjectComplete.hashCode() contract.
 String toString()
          This will return a proper string representation of the Model Object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

id

private final String id

namespaceCode

private final String namespaceCode

name

private final String name

contextId

private final String contextId

typeId

private final String typeId

output

private final TermSpecificationDefinition output

prerequisites

private final Set<TermSpecificationDefinition> prerequisites

attributes

private final Map<String,String> attributes

parameterNames

private final Set<String> parameterNames

versionNumber

private final Long versionNumber

_futureElements

private final Collection<Element> _futureElements
Constructor Detail

TermResolverDefinition

private TermResolverDefinition()
This private constructor is for JAXB use only, don't invoke directly.


TermResolverDefinition

private TermResolverDefinition(TermResolverDefinition.Builder builder)
Method Detail

getId

public String getId()
Description copied from interface: Identifiable
The unique identifier for an object. This can be null.

Specified by:
getId in interface Identifiable
Returns:
the id

getNamespaceCode

public String getNamespaceCode()
Specified by:
getNamespaceCode in interface TermResolverDefinitionContract
Returns:
the namespaceCode

getName

public String getName()
Specified by:
getName in interface TermResolverDefinitionContract
Returns:
the name

getContextId

public String getContextId()
Specified by:
getContextId in interface TermResolverDefinitionContract
Returns:
the contextId

getTypeId

public String getTypeId()
Specified by:
getTypeId in interface TermResolverDefinitionContract
Returns:
the typeId

getOutput

public TermSpecificationDefinition getOutput()
Specified by:
getOutput in interface TermResolverDefinitionContract
Returns:
the specification

getPrerequisites

public Set<TermSpecificationDefinition> getPrerequisites()
Specified by:
getPrerequisites in interface TermResolverDefinitionContract
Returns:
the prerequisites

getAttributes

public Map<String,String> getAttributes()
Specified by:
getAttributes in interface TermResolverDefinitionContract
Returns:
the attributes

getParameterNames

public Set<String> getParameterNames()
Specified by:
getParameterNames in interface TermResolverDefinitionContract
Returns:
the parameterNames

getVersionNumber

public Long getVersionNumber()
Description copied from interface: Versioned
Returns the version number for this object. In general, this value should only be null if the object has not yet been stored to a persistent data store. This version number is generally used for the purposes of optimistic locking.

Specified by:
getVersionNumber in interface Versioned
Returns:
the version number, or null if one has not been assigned yet
See Also:
Versioned.getVersionNumber()

equals

public boolean equals(Object obj)
Description copied from interface: ModelObjectComplete
All "Complete" model object's should adhere to the ModelObjectComplete.equals(Object) contract.

Specified by:
equals in interface ModelObjectComplete
Overrides:
equals in class Object
Parameters:
obj - to object to compare for equality
Returns:
if equal
See Also:
Object.equals(java.lang.Object)

hashCode

public int hashCode()
Description copied from interface: ModelObjectComplete
All "Complete" model object's should adhere to the ModelObjectComplete.hashCode() contract.

Specified by:
hashCode in interface ModelObjectComplete
Overrides:
hashCode in class Object
Returns:
the hashCode value
See Also:
Object.hashCode()

toString

public String toString()
Description copied from interface: ModelObjectBasic
This will return a proper string representation of the Model Object. All of the fields comprising the "public" api should be represented in the return value.

Specified by:
toString in interface ModelObjectBasic
Overrides:
toString in class Object
Returns:
the string representation
See Also:
Object.toString()


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.