public static final class Note.Builder extends Object implements Serializable, ModelBuilder, NoteContract
Note instances. Enforces the constraints of the NoteContract.| Modifier and Type | Method and Description |
|---|---|
Note |
build() |
static Note.Builder |
create(NoteContract contract) |
static Note.Builder |
create(String documentId,
String authorPrincipalId) |
String |
getAuthorPrincipalId() |
org.joda.time.DateTime |
getCreateDate() |
String |
getDocumentId() |
String |
getId() |
String |
getText() |
Long |
getVersionNumber() |
void |
setAuthorPrincipalId(String authorPrincipalId) |
void |
setCreateDate(org.joda.time.DateTime createDate) |
void |
setDocumentId(String documentId) |
void |
setId(String id) |
void |
setText(String text) |
void |
setVersionNumber(Long versionNumber) |
public static Note.Builder create(String documentId, String authorPrincipalId)
public static Note.Builder create(NoteContract contract)
public Note build()
build in interface ModelBuilderpublic String getId()
getId in interface Identifiablepublic String getDocumentId()
getDocumentId in interface NoteContractpublic String getAuthorPrincipalId()
getAuthorPrincipalId in interface NoteContractpublic org.joda.time.DateTime getCreateDate()
getCreateDate in interface NoteContractpublic String getText()
getText in interface NoteContractpublic Long getVersionNumber()
getVersionNumber in interface Versionedpublic void setDocumentId(String documentId)
public void setAuthorPrincipalId(String authorPrincipalId)
public void setCreateDate(org.joda.time.DateTime createDate)
public void setVersionNumber(Long versionNumber)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.