public class AwardAttachment extends AwardAssociate implements Comparable<AwardAttachment>
UPDATE_USER_LENGTH| Constructor and Description |
|---|
AwardAttachment()
empty ctor to satisfy JavaBean convention.
|
AwardAttachment(Award award)
Convenience ctor to add the protocol as an owner.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(AwardAttachment o)
Implements comparable based on the awardAttachmentId.
|
boolean |
equals(Object obj) |
String |
getAttachmentDescription() |
Long |
getAwardAttachmentId()
Gets the id.
|
AwardAttachmentType |
getAwardAttachmentType()
Gets the type attribute.
|
Long |
getAwardId()
Gets the awardId attribute.
|
String |
getDescription() |
Integer |
getDocumentId() |
AttachmentFile |
getFile()
Gets the Award Attachment File.
|
Long |
getFileId()
Gets the file Id.
|
org.apache.struts.upload.FormFile |
getNewFile()
Gets the Award Attachment New File.
|
AwardAttachmentType |
getType()
Gets the type attribute.
|
String |
getTypeCode() |
String |
getUpdateUserName()
This method returns the full name of the update user.
|
int |
hashCode() |
boolean |
isNew()
Checks if an attachment is new (not persisted yet).
|
protected void |
preRemove() |
protected void |
preUpdate() |
void |
resetPersistenceState()
This method resets the persistence state used to establish
whether this is a new entity or an already-persisted entity.
|
void |
setAwardAttachmentId(Long awardAttachmentId)
Sets the id.
|
void |
setAwardId(Long awardId)
Sets the awardId attribute value.
|
void |
setDescription(String description) |
void |
setDocumentId(Integer documentId) |
void |
setFile(AttachmentFile file)
Sets the Award Attachment File.
|
void |
setFileId(Long fileId)
Sets the file Id.
|
void |
setNewFile(org.apache.struts.upload.FormFile newFile)
Sets the Award Attachment New File.
|
void |
setType(AwardAttachmentType type)
Sets the type attribute value.
|
void |
setTypeCode(String typeCode) |
void |
setUpdateTimestamp(Timestamp updateTimestamp)
This sets the update time stamp only if it hasn't already been set.
|
boolean |
supportsVersioning() |
getAward, getAwardNumber, getSequenceNumber, getSequenceOwner, prePersist, setAward, setAwardNumber, setSequenceNumber, setSequenceOwnergetAuthorPersonName, getKcPersonService, getUpdateTimestamp, getUpdateUser, isUpdateUserSet, postPersist, setUpdateUser, setUpdateUserSetafterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postRemove, postUpdate, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumberpublic AwardAttachment()
public AwardAttachment(Award award)
This ctor does not validate any of the properties.
protocol - the protocol.public Long getAwardId()
public void setAwardId(Long awardId)
awardId - The awardId to set.public String getTypeCode()
public void setTypeCode(String typeCode)
public Integer getDocumentId()
public void setDocumentId(Integer documentId)
public String getDescription()
public void setDescription(String description)
public String getAttachmentDescription()
public AttachmentFile getFile()
public void setFile(AttachmentFile file)
public org.apache.struts.upload.FormFile getNewFile()
public void setNewFile(org.apache.struts.upload.FormFile newFile)
newFile - the Award Attachment New Filepublic Long getFileId()
public void setFileId(Long fileId)
fileId - the file Id.public Long getAwardAttachmentId()
public void setAwardAttachmentId(Long awardAttachmentId)
id - the idpublic AwardAttachmentType getAwardAttachmentType()
public AwardAttachmentType getType()
public void setType(AwardAttachmentType type)
type - The type to set.public boolean supportsVersioning()
public void resetPersistenceState()
resetPersistenceState in interface Sequenceablepublic boolean isNew()
public int hashCode()
hashCode in class AwardAssociateObject.hashCode()public boolean equals(Object obj)
equals in class AwardAssociateObject.equals(java.lang.Object)protected void preUpdate()
preUpdate in class KraPersistableBusinessObjectBasePersistableBusinessObjectBase.beforeUpdate(org.apache.ojb.broker.PersistenceBroker)public String getUpdateUserName()
public void setUpdateTimestamp(Timestamp updateTimestamp)
setUpdateTimestamp in class KraPersistableBusinessObjectBaseKraPersistableBusinessObjectBase.setUpdateTimestamp(java.sql.Timestamp)public int compareTo(AwardAttachment o)
compareTo in interface Comparable<AwardAttachment>Comparable.compareTo(java.lang.Object)protected void preRemove()
preRemove in class org.kuali.rice.krad.bo.PersistableBusinessObjectBaseCopyright © 2013 The Kuali Foundation. All Rights Reserved.