Class Note

  extended by
      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
afterUnmarshal, beforeUnmarshal, equals, hashCode, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait

Method Detail


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

Specified by:
getId in interface Identifiable
the id


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


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


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


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


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
the version number, or null if one has not been assigned yet

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