org.kuali.student.core.bo
Class KsVersionBusinessObjectBase
java.lang.Object
org.kuali.rice.kns.bo.BusinessObjectBase
org.kuali.rice.kns.bo.PersistableBusinessObjectBase
org.kuali.student.core.bo.KsBusinessObjectBase
org.kuali.student.core.bo.KsMetaBusinessObjectBase
org.kuali.student.core.bo.KsVersionBusinessObjectBase
- All Implemented Interfaces:
- Serializable, org.apache.ojb.broker.PersistenceBrokerAware, BusinessObject, PersistableBusinessObject, KsBusinessObject, KsMetaBusinessObject, KsVersionBusinessObject
- Direct Known Subclasses:
- Clu
public abstract class KsVersionBusinessObjectBase
- extends KsMetaBusinessObjectBase
- implements KsVersionBusinessObject
- See Also:
- Serialized Form
Methods inherited from class org.kuali.student.core.bo.KsMetaBusinessObjectBase |
beforeUpdate, getCreateDate, getCreateId, getMeta, getUpdateDate, getUpdateId, setCreateDate, setCreateId, setMeta, setUpdateDate, setUpdateId |
Methods inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase |
addNote, afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, deleteNote, getAttachmentService, getBoNote, getBoNotes, getExtension, getNoteService, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isAutoIncrementSet, isBoNotesSupport, isNewCollectionRecord, linkEditableUserFields, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setAutoIncrementSet, setBoNotes, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber, supportsBoNotes |
Methods inherited from interface org.kuali.rice.kns.bo.PersistableBusinessObject |
addNote, buildListOfDeletionAwareLists, deleteNote, getBoNote, getBoNotes, getExtension, getObjectId, getVersionNumber, isBoNotesSupport, isNewCollectionRecord, linkEditableUserFields, refreshNonUpdateableReferences, refreshReferenceObject, setAutoIncrementSet, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber |
Methods inherited from interface org.apache.ojb.broker.PersistenceBrokerAware |
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeUpdate |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
versionIndId
private String versionIndId
sequenceNumber
private Long sequenceNumber
currentVersionStart
private Date currentVersionStart
currentVersionEnd
private Date currentVersionEnd
versionedFromId
private String versionedFromId
versionComment
private String versionComment
KsVersionBusinessObjectBase
public KsVersionBusinessObjectBase()
beforeInsert
public void beforeInsert(org.apache.ojb.broker.PersistenceBroker persistenceBroker)
throws org.apache.ojb.broker.PersistenceBrokerException
- Specified by:
beforeInsert
in interface org.apache.ojb.broker.PersistenceBrokerAware
- Overrides:
beforeInsert
in class KsMetaBusinessObjectBase
- Throws:
org.apache.ojb.broker.PersistenceBrokerException
getVersion
public Version getVersion()
- This will take properties and create a Version object to return, the value is not persisted.
This is to support the KS embedded style Version object for future compatibility. OJB/KNS
do not seem to support embedded entities (called Nested in OJB terms).
- Specified by:
getVersion
in interface KsVersionBusinessObject
setVersion
public void setVersion(Version version)
- This will set the internal properties from the incoming Version object.
This is to support the KS embedded style Version object for future compatibility. OJB/KNS
do not seem to support embedded entities (called Nested in OJB terms).
Uses setter methods to allow behavior from subclass.
- Specified by:
setVersion
in interface KsVersionBusinessObject
getVersionIndId
public String getVersionIndId()
- Specified by:
getVersionIndId
in interface KsVersionBusinessObject
setVersionIndId
public void setVersionIndId(String versionIndId)
- Specified by:
setVersionIndId
in interface KsVersionBusinessObject
getSequenceNumber
public Long getSequenceNumber()
- Specified by:
getSequenceNumber
in interface KsVersionBusinessObject
setSequenceNumber
public void setSequenceNumber(Long sequenceNumber)
- Specified by:
setSequenceNumber
in interface KsVersionBusinessObject
getCurrentVersionStart
public Date getCurrentVersionStart()
- Specified by:
getCurrentVersionStart
in interface KsVersionBusinessObject
setCurrentVersionStart
public void setCurrentVersionStart(Date currentVersionStart)
- Specified by:
setCurrentVersionStart
in interface KsVersionBusinessObject
getCurrentVersionEnd
public Date getCurrentVersionEnd()
- Specified by:
getCurrentVersionEnd
in interface KsVersionBusinessObject
setCurrentVersionEnd
public void setCurrentVersionEnd(Date currentVersionEnd)
- Specified by:
setCurrentVersionEnd
in interface KsVersionBusinessObject
getVersionedFromId
public String getVersionedFromId()
- Specified by:
getVersionedFromId
in interface KsVersionBusinessObject
setVersionedFromId
public void setVersionedFromId(String versionedFromId)
- Specified by:
setVersionedFromId
in interface KsVersionBusinessObject
getVersionComment
public String getVersionComment()
- Specified by:
getVersionComment
in interface KsVersionBusinessObject
setVersionComment
public void setVersionComment(String versionComment)
- Specified by:
setVersionComment
in interface KsVersionBusinessObject
Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.