org.kuali.rice.krms.impl.repository
Class TermBo

java.lang.Object
  extended by org.kuali.rice.krad.bo.BusinessObjectBase
      extended by org.kuali.rice.krad.bo.PersistableBusinessObjectBase
          extended by org.kuali.rice.krms.impl.repository.TermBo
All Implemented Interfaces:
groovy.lang.GroovyObject, Serializable, org.apache.ojb.broker.PersistenceBrokerAware, GloballyUnique, Identifiable, Versioned, ModelObjectBasic, BusinessObject, PersistableBusinessObject, TermDefinitionContract

public class TermBo
extends PersistableBusinessObjectBase
implements TermDefinitionContract, groovy.lang.GroovyObject

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
TermBo()
           
 
Method Summary
static TermBo from(TermDefinition im)
           
 String getDescription()
           
 String getId()
          The unique identifier for an object.
 groovy.lang.MetaClass getMetaClass()
           
 List<TermParameterBo> getParameters()
           
 Object getProperty(String property)
           
 TermSpecificationBo getSpecification()
           
 String getSpecificationId()
           
 Object invokeMethod(String method, Object arguments)
           
 void setDescription(String value)
           
 void setId(String value)
           
 void setMetaClass(groovy.lang.MetaClass mc)
           
 void setParameters(List<TermParameterBo> value)
           
 void setProperty(String property, Object value)
           
 void setSpecification(TermSpecificationBo value)
           
 void setSpecificationId(String value)
           
static TermDefinition to(TermBo bo)
           
 
Methods inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
 
Methods inherited from class org.kuali.rice.krad.bo.BusinessObjectBase
prepareForWorkflow, toString, toStringBuilder, toStringMapper
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.core.api.mo.common.Versioned
getVersionNumber
 
Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic
toString
 

Constructor Detail

TermBo

public TermBo()
Method Detail

getMetaClass

public groovy.lang.MetaClass getMetaClass()
Specified by:
getMetaClass in interface groovy.lang.GroovyObject

setMetaClass

public void setMetaClass(groovy.lang.MetaClass mc)
Specified by:
setMetaClass in interface groovy.lang.GroovyObject

invokeMethod

public Object invokeMethod(String method,
                           Object arguments)
Specified by:
invokeMethod in interface groovy.lang.GroovyObject

getProperty

public Object getProperty(String property)
Specified by:
getProperty in interface groovy.lang.GroovyObject

setProperty

public void setProperty(String property,
                        Object value)
Specified by:
setProperty in interface groovy.lang.GroovyObject

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

setId

public void setId(String value)

getSpecificationId

public String getSpecificationId()

setSpecificationId

public void setSpecificationId(String value)

getDescription

public String getDescription()
Specified by:
getDescription in interface TermDefinitionContract
Returns:
the description for this TermDefinitionContract

setDescription

public void setDescription(String value)

setSpecification

public void setSpecification(TermSpecificationBo value)

setParameters

public void setParameters(List<TermParameterBo> value)

to

public static TermDefinition to(TermBo bo)

from

public static TermBo from(TermDefinition im)

getSpecification

public TermSpecificationBo getSpecification()
Specified by:
getSpecification in interface TermDefinitionContract
Returns:
the associated TermSpecificationDefinitionContract

getParameters

public List<TermParameterBo> getParameters()
Specified by:
getParameters in interface TermDefinitionContract
Returns:
any parameters specified on this TermDefinitionContract


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