Class NotificationContentTypeBo

All Implemented Interfaces:
Serializable, Cloneable, org.apache.ojb.broker.PersistenceBrokerAware, org.eclipse.persistence.descriptors.changetracking.ChangeTracker, org.eclipse.persistence.internal.descriptors.PersistenceEntity, org.eclipse.persistence.internal.descriptors.PersistenceObject, org.eclipse.persistence.internal.weaving.PersistenceWeaved, org.eclipse.persistence.internal.weaving.PersistenceWeavedChangeTracking, org.eclipse.persistence.internal.weaving.PersistenceWeavedFetchGroups, org.eclipse.persistence.internal.weaving.PersistenceWeavedRest, org.eclipse.persistence.queries.FetchGroupTracker, GloballyUnique, Versioned, ModelObjectBasic, KenIdentifiable, NotificationContentTypeContract, BusinessObject, PersistableBusinessObject

@Entity public class NotificationContentTypeBo extends PersistableBusinessObjectBase implements NotificationContentTypeContract
This class represents the different types of Notification content that the system can handle. For example, and instance of content type could be "Alert" or "Event".
Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
  • Constructor Details

    • NotificationContentTypeBo

      public NotificationContentTypeBo()
      Constructs a NotificationContentType instance.
  • Method Details

    • getDescription

      public String getDescription()
      Gets the description attribute.
      Specified by:
      getDescription in interface NotificationContentTypeContract
      Returns:
      Returns the description.
    • setDescription

      public void setDescription(String description)
      Sets the description attribute value.
      Parameters:
      description - The description to set.
    • getId

      public Long getId()
      Gets the id attribute.
      Specified by:
      getId in interface KenIdentifiable
      Returns:
      Returns the id.
    • setId

      public void setId(Long id)
      Sets the id attribute value.
      Parameters:
      id - The id to set.
    • getName

      public String getName()
      Gets the name attribute.
      Specified by:
      getName in interface NotificationContentTypeContract
      Returns:
      Returns the name.
    • isCurrent

      public boolean isCurrent()
      Specified by:
      isCurrent in interface NotificationContentTypeContract
      Returns:
      whether this is the current version
    • setCurrent

      public void setCurrent(boolean current)
      Parameters:
      current - whether this is the current version
    • getVersion

      public Integer getVersion()
      Specified by:
      getVersion in interface NotificationContentTypeContract
      Returns:
      the version
    • setVersion

      public void setVersion(Integer version)
      Parameters:
      version - the version to set
    • setName

      public void setName(String name)
      Sets the name attribute value.
      Parameters:
      name - The name to set.
    • getNamespace

      public String getNamespace()
      Gets the namespace attribute.
      Specified by:
      getNamespace in interface NotificationContentTypeContract
      Returns:
      Returns the namespace.
    • setNamespace

      public void setNamespace(String namespace)
      Sets the namespace attribute value.
      Parameters:
      namespace - The namespace to set.
    • getXsd

      public String getXsd()
      Gets the xsd attribute. The value of this field is used to validate a notification's content field dynamically.
      Specified by:
      getXsd in interface NotificationContentTypeContract
      Returns:
      Returns the xsd.
    • setXsd

      public void setXsd(String xsd)
      Sets the xsd attribute value. The value of this field is used to validate a notification's content field dynamically.
      Parameters:
      xsd - The xsd to set.
    • getXsl

      public String getXsl()
      Gets the xsl attribute. The value of this field is used to render a notification's contents dynamically.
      Specified by:
      getXsl in interface NotificationContentTypeContract
      Returns:
      Returns the xsl.
    • setXsl

      public void setXsl(String xsl)
      Sets the xsl attribute value. The value of this field is used to render a notification's contents dynamically.
      Parameters:
      xsl - The xsl to set.
    • to

      Converts a mutable bo to its immutable counterpart
      Parameters:
      bo - the mutable business object
      Returns:
      the immutable object
    • from

      Converts a immutable object to its mutable counterpart
      Parameters:
      im - immutable object
      Returns:
      the mutable bo