Class Period
java.lang.Object
com.echothree.util.server.persistence.BaseEntity
com.echothree.model.data.period.server.entity.Period
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields inherited from class com.echothree.util.server.persistence.BaseEntity
_entityPermission -
Constructor Summary
ConstructorsConstructorDescriptionPeriod()Creates a new instance of PeriodPeriod(PeriodValue value, EntityPermission entityPermission) Creates a new instance of Period -
Method Summary
Modifier and TypeMethodDescriptionbooleangetActiveDetail(EntityPermission entityPermission) booleangetLastDetail(EntityPermission entityPermission) booleanbooleaninthashCode()voidremove()voidsetActiveDetail(PeriodDetail entity) voidsetActiveDetailPK(PeriodDetailPK activeDetailPK) voidsetLastDetail(PeriodDetail entity) voidsetLastDetailPK(PeriodDetailPK lastDetailPK) voidsetPeriodValue(PeriodValue value) voidstore()toString()Methods inherited from class com.echothree.util.server.persistence.BaseEntity
checkReadWrite, getEntityPermission
-
Constructor Details
-
Period
Creates a new instance of Period- Throws:
PersistenceException
-
Period
Creates a new instance of Period
-
-
Method Details
-
getBaseFactoryInstance
- Specified by:
getBaseFactoryInstancein classBaseEntity
-
hasBeenModified
- Specified by:
hasBeenModifiedin classBaseEntity
-
hashCode
-
toString
-
equals
-
store
- Specified by:
storein classBaseEntity- Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein classBaseEntity- Throws:
PersistenceDatabaseException
-
getPeriodValue
-
setPeriodValue
- Throws:
PersistenceReadOnlyException
-
getPrimaryKey
- Specified by:
getPrimaryKeyin classBaseEntity
-
getActiveDetailPK
-
getActiveDetail
-
getActiveDetail
-
getActiveDetailForUpdate
-
setActiveDetailPK
public void setActiveDetailPK(PeriodDetailPK activeDetailPK) throws PersistenceNotNullException, PersistenceReadOnlyException -
setActiveDetail
-
getActiveDetailPKHasBeenModified
-
getLastDetailPK
-
getLastDetail
-
getLastDetail
-
getLastDetailForUpdate
-
setLastDetailPK
public void setLastDetailPK(PeriodDetailPK lastDetailPK) throws PersistenceNotNullException, PersistenceReadOnlyException -
setLastDetail
-
getLastDetailPKHasBeenModified
-