Class NotificationContentTypeBo

java.lang.Object
org.kuali.rice.krad.bo.BusinessObjectBase
org.kuali.rice.krad.bo.PersistableBusinessObjectBase
org.kuali.rice.ken.bo.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, org.kuali.rice.core.api.mo.common.GloballyUnique, org.kuali.rice.core.api.mo.common.Versioned, org.kuali.rice.core.api.mo.ModelObjectBasic, org.kuali.rice.ken.api.common.KenIdentifiable, org.kuali.rice.ken.api.notification.NotificationContentTypeContract, org.kuali.rice.krad.bo.BusinessObject, org.kuali.rice.krad.bo.PersistableBusinessObject

@Entity public class NotificationContentTypeBo extends org.kuali.rice.krad.bo.PersistableBusinessObjectBase implements org.kuali.rice.ken.api.notification.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:
  • Field Summary

    Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase

    extension, newCollectionRecord, objectId, versionNumber

    Fields inherited from class org.kuali.rice.krad.bo.BusinessObjectBase

    _persistence_cacheKey, _persistence_fetchGroup, _persistence_href, _persistence_links, _persistence_listener, _persistence_primaryKey, _persistence_relationshipInfo, _persistence_session, _persistence_shouldRefreshFetchGroup
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructs a NotificationContentType instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    from(org.kuali.rice.ken.api.notification.NotificationContentType im)
    Converts a immutable object to its mutable counterpart
    Gets the description attribute.
    Gets the id attribute.
    Gets the name attribute.
    Gets the namespace attribute.
     
    Gets the xsd attribute.
    Gets the xsl attribute.
    boolean
     
    void
    setCurrent(boolean current)
     
    void
    setDescription(String description)
    Sets the description attribute value.
    void
    setId(Long id)
    Sets the id attribute value.
    void
    Sets the name attribute value.
    void
    setNamespace(String namespace)
    Sets the namespace attribute value.
    void
     
    void
    Sets the xsd attribute value.
    void
    Sets the xsl attribute value.
    static org.kuali.rice.ken.api.notification.NotificationContentType
    Converts a mutable bo to its immutable counterpart

    Methods inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase

    _persistence_get, _persistence_get_objectId, _persistence_get_versionNumber, _persistence_new, _persistence_post_clone, _persistence_set, _persistence_set_objectId, _persistence_set_versionNumber, afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getLegacyDataAdapter, getObjectId, 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

    _persistence_checkFetched, _persistence_checkFetchedForSet, _persistence_getCacheKey, _persistence_getFetchGroup, _persistence_getHref, _persistence_getId, _persistence_getLinks, _persistence_getPropertyChangeListener, _persistence_getRelationships, _persistence_getSession, _persistence_isAttributeFetched, _persistence_propertyChange, _persistence_resetFetchGroup, _persistence_setCacheKey, _persistence_setFetchGroup, _persistence_setHref, _persistence_setId, _persistence_setLinks, _persistence_setPropertyChangeListener, _persistence_setRelationships, _persistence_setSession, _persistence_setShouldRefreshFetchGroup, _persistence_shallow_clone, _persistence_shouldRefreshFetchGroup, toString

    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.GloballyUnique

    getObjectId

    Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic

    toString

    Methods inherited from interface org.eclipse.persistence.internal.descriptors.PersistenceObject

    _persistence_shallow_clone

    Methods inherited from interface org.kuali.rice.core.api.mo.common.Versioned

    getVersionNumber
  • Constructor Details

    • NotificationContentTypeBo

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

    • getDescription

      public String getDescription()
      Gets the description attribute.
      Specified by:
      getDescription in interface org.kuali.rice.ken.api.notification.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 org.kuali.rice.ken.api.common.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 org.kuali.rice.ken.api.notification.NotificationContentTypeContract
      Returns:
      Returns the name.
    • isCurrent

      public boolean isCurrent()
      Specified by:
      isCurrent in interface org.kuali.rice.ken.api.notification.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 org.kuali.rice.ken.api.notification.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 org.kuali.rice.ken.api.notification.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 org.kuali.rice.ken.api.notification.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 org.kuali.rice.ken.api.notification.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

      public static org.kuali.rice.ken.api.notification.NotificationContentType to(NotificationContentTypeBo bo)
      Converts a mutable bo to its immutable counterpart
      Parameters:
      bo - the mutable business object
      Returns:
      the immutable object
    • from

      public static NotificationContentTypeBo from(org.kuali.rice.ken.api.notification.NotificationContentType im)
      Converts a immutable object to its mutable counterpart
      Parameters:
      im - immutable object
      Returns:
      the mutable bo