public abstract class ProtocolNotepadBase extends ProtocolAssociateBase implements Comparable<ProtocolNotepadBase>
| Modifier and Type | Class and Description |
|---|---|
static class |
ProtocolNotepadBase.NotepadByEntryNumber
compares Notepads by entry number.
|
| Modifier and Type | Field and Description |
|---|---|
protected String |
comments |
protected String |
createUserFullName |
protected boolean |
editable |
protected Integer |
entryNumber |
protected Long |
id |
protected String |
noteTopic |
protected boolean |
restrictedView |
protected String |
updateUserFullName |
UPDATE_USER_LENGTH| Modifier | Constructor and Description |
|---|---|
protected |
ProtocolNotepadBase()
empty ctor to satisfy JavaBean convention.
|
|
ProtocolNotepadBase(ProtocolBase protocol)
Convenience ctor to add the protocol as an owner.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ProtocolNotepadBase protocolNotepad)
Sort by updateTimestamp
|
boolean |
equals(Object obj) |
String |
getComments()
Gets the comments attribute.
|
Timestamp |
getCreateTimestamp() |
String |
getCreateUser() |
String |
getCreateUserFullName() |
Integer |
getEntryNumber()
Gets the entryNumber attribute.
|
Long |
getId()
Gets the id attribute.
|
String |
getNoteTopic()
Gets the noteTopic attribute.
|
boolean |
getRestrictedView()
Gets the restrictedView attribute.
|
String |
getUpdateUserFullName()
Gets the updateUserFullName attribute.
|
int |
hashCode() |
boolean |
isEditable() |
void |
resetPersistenceState()
This method resets the persistence state used to establish
whether this is a new entity or an already-persisted entity.
|
void |
setComments(String comments)
Sets the comments attribute value.
|
void |
setCreateTimestamp(Timestamp createTimestamp) |
void |
setCreateUser(String createUser) |
void |
setCreateUserFullName(String createUserFullName) |
void |
setEditable(boolean editable) |
void |
setEntryNumber(Integer entryNumber)
Sets the entryNumber attribute value.
|
void |
setId(Long id)
Sets the id attribute value.
|
void |
setNoteTopic(String noteTopic)
Sets the noteTopic attribute value.
|
void |
setRestrictedView(boolean restrictedView)
Sets the restrictedView attribute value.
|
void |
setUpdateTimestamp(Timestamp updateTimestamp) |
void |
setUpdateUser(String updateUser)
Sets the update user, making sure it is not the system user and truncating the name so it will fit.
|
void |
setUpdateUserFullName(String updateUserFullName)
Sets the updateUserFullName attribute value.
|
getProtocol, getProtocolId, getProtocolNumber, getSequenceNumber, getSequenceOwner, init, postInitHook, setProtocol, setProtocolId, setProtocolNumber, setSequenceNumber, setSequenceOwnergetAuthorPersonName, getKcPersonService, getUpdateTimestamp, getUpdateUser, isUpdateUserSet, postPersist, prePersist, preUpdate, setUpdateUserSetafterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postRemove, postUpdate, preRemove, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumberprotected Long id
protected Integer entryNumber
protected String comments
protected boolean restrictedView
protected String noteTopic
protected boolean editable
protected transient String updateUserFullName
protected transient String createUserFullName
protected ProtocolNotepadBase()
public ProtocolNotepadBase(ProtocolBase protocol)
This ctor does not validate any of the properties.
protocol - the protocol.public Long getId()
public void setId(Long id)
id - The id to set.public Integer getEntryNumber()
public void setEntryNumber(Integer entryNumber)
entryNumber - The entryNumber to set.public String getComments()
public void setComments(String comments)
comments - The comments to set.public boolean getRestrictedView()
public void setRestrictedView(boolean restrictedView)
restrictedView - The restrictedView to set.public String getNoteTopic()
public void setNoteTopic(String noteTopic)
noteTopic - The noteTopic to set.public String getUpdateUserFullName()
public void setUpdateUserFullName(String updateUserFullName)
updateUserFullName - The updateUserFullName to set.public String getCreateUserFullName()
public void setCreateUserFullName(String createUserFullName)
public void resetPersistenceState()
resetPersistenceState in interface Sequenceablepublic int hashCode()
hashCode in class ProtocolAssociateBasepublic boolean equals(Object obj)
equals in class ProtocolAssociateBasepublic void setUpdateTimestamp(Timestamp updateTimestamp)
setUpdateTimestamp in class KraPersistableBusinessObjectBasepublic void setUpdateUser(String updateUser)
KraPersistableBusinessObjectBasesetUpdateUser in class KraPersistableBusinessObjectBaseupdateUser - the user who updated this objectpublic boolean isEditable()
public void setEditable(boolean editable)
public int compareTo(ProtocolNotepadBase protocolNotepad)
compareTo in interface Comparable<ProtocolNotepadBase>Comparable.compareTo(java.lang.Object)public String getCreateUser()
public void setCreateUser(String createUser)
public Timestamp getCreateTimestamp()
public void setCreateTimestamp(Timestamp createTimestamp)
Copyright © 2013 The Kuali Foundation. All Rights Reserved.