org.olat.note
Class NoteImpl

java.lang.Object
  extended by org.olat.core.commons.persistence.PersistentObject
      extended by org.olat.note.NoteImpl
All Implemented Interfaces:
java.io.Serializable, CreateInfo, ModifiedInfo, Persistable, Note

public class NoteImpl
extends PersistentObject
implements Note

Description:
Implementation of the Note Interface

Author:
Alexander Schneider
See Also:
Serialized Form

Constructor Summary
NoteImpl()
          Default construcor
 
Method Summary
 java.util.Date getLastModified()
           
 java.lang.String getNoteText()
           
 java.lang.String getNoteTitle()
           
 Identity getOwner()
           
 java.lang.Long getResourceTypeId()
           
 java.lang.String getResourceTypeName()
           
 java.lang.String getSubtype()
           
 void setLastModified(java.util.Date date)
           
 void setNoteText(java.lang.String noteText)
           
 void setNoteTitle(java.lang.String noteTitle)
           
 void setOwner(Identity owner)
           
 void setResourceTypeId(java.lang.Long resourceTypeId)
           
 void setResourceTypeName(java.lang.String resourceTypeName)
           
 void setSubtype(java.lang.String subtype)
           
 
Methods inherited from class org.olat.core.commons.persistence.PersistentObject
equalsByPersistableKey, getCreationDate, getKey, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.olat.core.id.CreateInfo
getCreationDate
 
Methods inherited from interface org.olat.core.id.Persistable
equalsByPersistableKey, getKey
 

Constructor Detail

NoteImpl

public NoteImpl()
Default construcor

Method Detail

getNoteText

public java.lang.String getNoteText()
Specified by:
getNoteText in interface Note
Returns:
Returns the noteText.

setNoteText

public void setNoteText(java.lang.String noteText)
Specified by:
setNoteText in interface Note
Parameters:
noteText - The noteText to set.

getNoteTitle

public java.lang.String getNoteTitle()
Specified by:
getNoteTitle in interface Note
Returns:
Returns the noteTitle.

setNoteTitle

public void setNoteTitle(java.lang.String noteTitle)
Specified by:
setNoteTitle in interface Note
Parameters:
noteTitle - The noteTitle to set.

getOwner

public Identity getOwner()
Specified by:
getOwner in interface Note
Returns:
Returns the owner.

setOwner

public void setOwner(Identity owner)
Specified by:
setOwner in interface Note
Parameters:
owner - The owner to set.

getResourceTypeId

public java.lang.Long getResourceTypeId()
Specified by:
getResourceTypeId in interface Note
Returns:
Returns the resourceTypeId.

setResourceTypeId

public void setResourceTypeId(java.lang.Long resourceTypeId)
Specified by:
setResourceTypeId in interface Note
Parameters:
resourceTypeId - The resourceTypeId to set.

getResourceTypeName

public java.lang.String getResourceTypeName()
Specified by:
getResourceTypeName in interface Note
Returns:
Returns the resourceTypeName.

setResourceTypeName

public void setResourceTypeName(java.lang.String resourceTypeName)
Specified by:
setResourceTypeName in interface Note
Parameters:
resourceTypeName - The resourceTypeName to set.

getSubtype

public java.lang.String getSubtype()
Specified by:
getSubtype in interface Note
Returns:
Returns the subtype.

setSubtype

public void setSubtype(java.lang.String subtype)
Specified by:
setSubtype in interface Note
Parameters:
subtype - The subtype to set.

getLastModified

public java.util.Date getLastModified()
Specified by:
getLastModified in interface ModifiedInfo
Returns:
See Also:
ModifiedInfo.getLastModified()

setLastModified

public void setLastModified(java.util.Date date)
Specified by:
setLastModified in interface ModifiedInfo
See Also:
ModifiedInfo.setLastModified(java.util.Date)