org.kuali.rice.kew.api.note
Class Note
java.lang.Object
org.kuali.rice.core.api.mo.AbstractDataTransferObject
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. |
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–2014 The Kuali Foundation. All rights reserved.