Class NaturalLanguageUsageBo

java.lang.Object
org.kuali.rice.krms.impl.repository.NaturalLanguageUsageBo
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.NaturalLanguageUsageContract

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

    • NaturalLanguageUsageBo

      public NaturalLanguageUsageBo()
      Default Constructor
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface org.kuali.rice.krms.api.repository.language.NaturalLanguageUsageContract
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface org.kuali.rice.krms.api.repository.language.NaturalLanguageUsageContract
    • getNamespace

      public String getNamespace()
      Specified by:
      getNamespace in interface org.kuali.rice.krms.api.repository.language.NaturalLanguageUsageContract
    • 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
    • setName

      public void setName(String name)
      Sets the value of name on this builder to the given value.
      Parameters:
      name - the name value to set.
    • setDescription

      public void setDescription(String description)
      Sets the value of description on this builder to the given value.
      Parameters:
      description - the description value to set.
    • setNamespace

      public void setNamespace(String namespace)
      Sets the value of namespace on this builder to the given value.
      Parameters:
      namespace - the namespace 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.
    • to

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

      public static NaturalLanguageUsageBo from(org.kuali.rice.krms.api.repository.language.NaturalLanguageUsage naturalLanguageUsage)
      Converts a immutable NaturalLanguageUsage to its mutable NaturalLanguageUsageBo counterpart.
      Parameters:
      naturalLanguageUsage - the immutable object.
      Returns:
      a NaturalLanguageUsageBo the mutable NaturalLanguageUsageBo.