public abstract class ProtocolAttachmentPersonnelBase extends ProtocolAttachmentBase
| Modifier and Type | Class and Description |
|---|---|
static class |
ProtocolAttachmentPersonnelBase.PropertyName
Contains all the property names in this class.
|
| Modifier and Type | Field and Description |
|---|---|
protected String |
description |
protected ProtocolPersonBase |
person |
protected Integer |
personId |
protected ProtocolAttachmentTypeBase |
type |
protected String |
typeCode |
UPDATE_USER_LENGTH| Constructor and Description |
|---|
ProtocolAttachmentPersonnelBase()
empty ctor to satisfy JavaBean convention.
|
ProtocolAttachmentPersonnelBase(ProtocolBase protocol)
Convenience ctor to add the protocol as an owner.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
abstract String |
getAttachmentDescription()
A human readable description of the attachment type.
|
String |
getDescription()
Gets the Description.
|
abstract String |
getGroupCode()
The group code that the ProtocolBase Attachment belongs to.
|
ProtocolPersonBase |
getPerson()
Gets the ProtocolBase Attachment Personnel Person.
|
Integer |
getPersonId()
Gets the person Id.
|
ProtocolAttachmentTypeBase |
getType()
Gets the ProtocolBase Attachment Base Type.
|
String |
getTypeCode()
Gets the type Code .
|
int |
hashCode() |
void |
init(ProtocolPersonBase protocolPerson) |
void |
resetPersistenceState()
This method resets the persistence state used to establish
whether this is a new entity or an already-persisted entity.
|
void |
setDescription(String description)
Sets the Description.
|
void |
setPerson(ProtocolPersonBase person)
Sets the ProtocolBase Attachment Personnel Person.
|
void |
setPersonId(Integer personId)
Sets the person Id.
|
void |
setType(ProtocolAttachmentTypeBase type)
Sets the ProtocolBase Attachment Base Type.
|
void |
setTypeCode(String typeCode)
Sets the type Code.
|
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.
|
boolean |
supportsVersioning()
Method to check whether an attachment supports versioning.
|
addAttachmentToCollection, filterExistingAttachments, filterNewAttachments, getDocumentId, getFile, getFileId, getId, getNewFile, getUpdateUserFullName, isNew, removeAttachmentFromCollection, setDocumentId, setFile, setFileId, setId, setNewFile, setUpdateUserFullNamegetProtocol, 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 Integer personId
protected ProtocolPersonBase person
protected String typeCode
protected ProtocolAttachmentTypeBase type
protected String description
public ProtocolAttachmentPersonnelBase()
public ProtocolAttachmentPersonnelBase(ProtocolBase protocol)
This ctor does not validate any of the properties.
protocol - the protocol.public ProtocolPersonBase getPerson()
public void setPerson(ProtocolPersonBase person)
person - the ProtocolBase Attachment Personnel Personpublic Integer getPersonId()
public void setPersonId(Integer personId)
personId - the person Id.public ProtocolAttachmentTypeBase getType()
public void setType(ProtocolAttachmentTypeBase type)
type - the ProtocolBase Attachment Base Typepublic String getTypeCode()
public void setTypeCode(String typeCode)
typeCode - the type Code.public abstract String getGroupCode()
ProtocolAttachmentGroup.public String getDescription()
public void setDescription(String description)
description - the Descriptionpublic abstract String getAttachmentDescription()
getAttachmentDescription in class ProtocolAttachmentBasepublic boolean supportsVersioning()
supportsVersioning in class ProtocolAttachmentBasepublic void resetPersistenceState()
resetPersistenceState in interface SequenceableresetPersistenceState in class ProtocolAttachmentBasepublic int hashCode()
hashCode in class ProtocolAttachmentBasepublic boolean equals(Object obj)
equals in class ProtocolAttachmentBasepublic void setUpdateTimestamp(Timestamp updateTimestamp)
setUpdateTimestamp in class KraPersistableBusinessObjectBasepublic void setUpdateUser(String updateUser)
KraPersistableBusinessObjectBasesetUpdateUser in class KraPersistableBusinessObjectBaseupdateUser - the user who updated this objectpublic void init(ProtocolPersonBase protocolPerson)
Copyright © 2013 The Kuali Foundation. All Rights Reserved.