Class NaturalLanguageTemplateBo

java.lang.Object
org.kuali.rice.krms.impl.repository.NaturalLanguageTemplateBo
All Implemented Interfaces:
Serializable, org.kuali.rice.core.api.mo.common.active.Inactivatable, org.kuali.rice.core.api.mo.common.Identifiable, org.kuali.rice.core.api.mo.common.Versioned, org.kuali.rice.krms.api.repository.language.NaturalLanguageTemplateContract

@Entity public class NaturalLanguageTemplateBo extends Object implements org.kuali.rice.krms.api.repository.language.NaturalLanguageTemplateContract, org.kuali.rice.core.api.mo.common.Versioned, Serializable
The mutable implementation of the @{link NaturalLanguageTemplateContract} interface, the counterpart to the immutable implementation NaturalLanguageTemplate.
Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
  • Constructor Details

    • NaturalLanguageTemplateBo

      public NaturalLanguageTemplateBo()
      Default Constructor
  • Method Details

    • getLanguageCode

      public String getLanguageCode()
      Specified by:
      getLanguageCode in interface org.kuali.rice.krms.api.repository.language.NaturalLanguageTemplateContract
    • getNaturalLanguageUsageId

      public String getNaturalLanguageUsageId()
      Specified by:
      getNaturalLanguageUsageId in interface org.kuali.rice.krms.api.repository.language.NaturalLanguageTemplateContract
    • getTypeId

      public String getTypeId()
      Specified by:
      getTypeId in interface org.kuali.rice.krms.api.repository.language.NaturalLanguageTemplateContract
    • getTemplate

      public String getTemplate()
      Specified by:
      getTemplate in interface org.kuali.rice.krms.api.repository.language.NaturalLanguageTemplateContract
    • getId

      public String getId()
      Specified by:
      getId in interface org.kuali.rice.core.api.mo.common.Identifiable
    • isActive

      public boolean isActive()
      Specified by:
      isActive in interface org.kuali.rice.core.api.mo.common.active.Inactivatable
    • getVersionNumber

      public Long getVersionNumber()
      Specified by:
      getVersionNumber in interface org.kuali.rice.core.api.mo.common.Versioned
    • setLanguageCode

      public void setLanguageCode(String languageCode)
      Sets the value of languageCode on this builder to the given value.
      Parameters:
      languageCode - the languageCode value to set.
    • setNaturalLanguageUsageId

      public void setNaturalLanguageUsageId(String naturalLanguageUsageId)
      Sets the value of naturalLanguageUsageId on this builder to the given value.
      Parameters:
      naturalLanguageUsageId - the naturalLanguageUsageId value to set.
    • setTypeId

      public void setTypeId(String typeId)
      Sets the value of typeId on this builder to the given value.
      Parameters:
      typeId - the typeId value to set.
    • setTemplate

      public void setTemplate(String template)
      Sets the value of template on this builder to the given value.
      Parameters:
      template - the template value to set.
    • setId

      public void setId(String id)
      Sets the value of id on this builder to the given value.
      Parameters:
      id - the id value to set.
    • setActive

      public void setActive(boolean active)
      Sets the value of active on this builder to the given value.
      Parameters:
      active - the active value to set.
    • setVersionNumber

      public void setVersionNumber(Long versionNumber)
      Sets the value of versionNumber on this builder to the given value.
      Parameters:
      versionNumber - the versionNumber value to set.
    • setAttributeBos

      public void setAttributeBos(List<NaturalLanguageTemplateAttributeBo> attributeBos)
      Sets the value of AttributeBos on this builder to the given value.
      Parameters:
      attributeBos - the AttributeBos value to set.
    • setAttributeBos

      public void setAttributeBos(Set<NaturalLanguageTemplateAttributeBo> attributeBos)
      Sets the value of AttributeBos on this builder to the given value.
      Parameters:
      attributeBos - the AttributeBos value to set.
    • to

      public static org.kuali.rice.krms.api.repository.language.NaturalLanguageTemplate to(NaturalLanguageTemplateBo naturalLanguageTemplateBo)
      Converts a mutable NaturalLanguageTemplateBo to its immutable counterpart, NaturalLanguageTemplate.
      Parameters:
      naturalLanguageTemplateBo - the mutable business object.
      Returns:
      a NaturalLanguageTemplate the immutable object.
    • from

      public static NaturalLanguageTemplateBo from(org.kuali.rice.krms.api.repository.language.NaturalLanguageTemplate naturalLanguageTemplate)
      Converts a immutable NaturalLanguageTemplate to its mutable NaturalLanguageTemplateBo counterpart.
      Parameters:
      naturalLanguageTemplate - the immutable object.
      Returns:
      a NaturalLanguageTemplateBo the mutable NaturalLanguageTemplateBo.
    • getAttributes

      public Map<String,String> getAttributes()
      Specified by:
      getAttributes in interface org.kuali.rice.krms.api.repository.language.NaturalLanguageTemplateContract
    • setAttributes

      public void setAttributes(Map<String,String> attributes)
      TODO
    • setAttributeDefinitionService

      public static void setAttributeDefinitionService(KrmsAttributeDefinitionService attributeDefinitionService)
    • getTypeRepositoryService

      public static org.kuali.rice.krms.api.repository.type.KrmsTypeRepositoryService getTypeRepositoryService()
    • setTypeRepositoryService

      public static void setTypeRepositoryService(org.kuali.rice.krms.api.repository.type.KrmsTypeRepositoryService typeRepositoryService)
    • getAttributeDefinitionService

      public static KrmsAttributeDefinitionService getAttributeDefinitionService()