org.kuali.rice.kew.api.note
Class Note

java.lang.Object
  extended by org.kuali.rice.core.api.mo.AbstractDataTransferObject
      extended by org.kuali.rice.kew.api.note.Note
All Implemented Interfaces:
Serializable, Identifiable, Versioned, ModelObjectBasic, ModelObjectComplete, NoteContract

public final class Note
extends AbstractDataTransferObject
implements NoteContract

See Also:
Serialized Form

Nested Class Summary
static class Note.Builder
          A builder which can be used to construct Note instances.
 
Method Summary
 String getAuthorPrincipalId()
           
 org.joda.time.DateTime getCreateDate()
           
 String getDocumentId()
           
 String getId()
          The unique identifier for an object.
 String getText()
           
 Long getVersionNumber()
          Returns the version number for this object.
 
Methods inherited from class org.kuali.rice.core.api.mo.AbstractDataTransferObject
afterUnmarshal, beforeUnmarshal, equals, equalsExcludeFields, getDefaultHashCodeEqualsExcludeFields, hashCode, hashCodeExcludeFields, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getId

public String getId()
Description copied from interface: Identifiable
The unique identifier for an object. This can be null.

Specified by:
getId in interface Identifiable
Returns:
the id

getDocumentId

public String getDocumentId()
Specified by:
getDocumentId in interface NoteContract

getAuthorPrincipalId

public String getAuthorPrincipalId()
Specified by:
getAuthorPrincipalId in interface NoteContract

getCreateDate

public org.joda.time.DateTime getCreateDate()
Specified by:
getCreateDate in interface NoteContract

getText

public String getText()
Specified by:
getText in interface NoteContract

getVersionNumber

public Long getVersionNumber()
Description copied from interface: Versioned
Returns the version number for this object. In general, this value should only be null if the object has not yet been stored to a persistent data store. This version number is generally used for the purposes of optimistic locking.

Specified by:
getVersionNumber in interface Versioned
Returns:
the version number, or null if one has not been assigned yet


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.