public abstract class ProtocolAssociateBase extends KraPersistableBusinessObjectBase implements SequenceAssociate<ProtocolBase>
UPDATE_USER_LENGTH| Constructor and Description |
|---|
ProtocolAssociateBase()
Constructs a ProtocolAssociateBase.
|
ProtocolAssociateBase(ProtocolBase protocol)
Constructs a ProtocolAssociateBase setting protocol related fields.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
ProtocolBase |
getProtocol()
Gets the protocol attribute.
|
Long |
getProtocolId()
Gets the protocolId attribute.
|
String |
getProtocolNumber()
Gets the protocol number.
|
Integer |
getSequenceNumber()
Gets the sequence number.
|
ProtocolBase |
getSequenceOwner()
The SequenceOwner is returned; "this" should be returned if this associate is the sequence owner.
|
int |
hashCode() |
void |
init(ProtocolBase aProtocol)
This inits the object to an unpersisted state by calling
Sequenceable.resetPersistenceState()
Also, sets the protocol, protocol id, sequence number, and protocol number. |
void |
postInitHook(ProtocolBase aProtocol)
This method is designed to allow subclasses to perform additional initialization not performed by the final init method.
|
void |
setProtocol(ProtocolBase protocol)
Sets the protocol attribute value.
|
void |
setProtocolId(Long protocolId)
Sets the protocolId attribute value.
|
void |
setProtocolNumber(String protocolNumber)
Sets the protocol number.
|
void |
setSequenceNumber(Integer sequenceNumber)
Sets the sequence number.
|
void |
setSequenceOwner(ProtocolBase newlyVersionedOwner)
This sets the sequence owner on the associate.
|
getAuthorPersonName, getKcPersonService, getUpdateTimestamp, getUpdateUser, isUpdateUserSet, postPersist, prePersist, preUpdate, setUpdateTimestamp, setUpdateUser, 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, setVersionNumberclone, finalize, getClass, notify, notifyAll, wait, wait, waitresetPersistenceStatepublic ProtocolAssociateBase(ProtocolBase protocol)
protocol - the ProtocolBasepublic ProtocolAssociateBase()
public Long getProtocolId()
public void setProtocolId(Long protocolId)
protocolId - The protocolId to set.public ProtocolBase getProtocol()
public void setProtocol(ProtocolBase protocol)
protocol - The protocol to set.public Integer getSequenceNumber()
getSequenceNumber in interface Sequenceablepublic void setSequenceNumber(Integer sequenceNumber)
sequenceNumber - sequence number.public String getProtocolNumber()
public void setProtocolNumber(String protocolNumber)
protocolNumber - protocol number.public ProtocolBase getSequenceOwner()
getSequenceOwner in interface SequenceAssociate<ProtocolBase>public void setSequenceOwner(ProtocolBase newlyVersionedOwner)
setSequenceOwner in interface SequenceAssociate<ProtocolBase>public final void init(ProtocolBase aProtocol)
Sequenceable.resetPersistenceState()
Also, sets the protocol, protocol id, sequence number, and protocol number.aProtocol - the protocol to init the object with.public void postInitHook(ProtocolBase aProtocol)
init(ProtocolBase) after all other initialization is performed.aProtocol - the protocol initialization is requested with.Copyright © 2013 The Kuali Foundation. All Rights Reserved.