Class DateDrivenTerm
java.lang.Object
com.echothree.util.server.persistence.BaseEntity
com.echothree.model.data.term.server.entity.DateDrivenTerm
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields inherited from class com.echothree.util.server.persistence.BaseEntity
_entityPermission -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance of DateDrivenTermDateDrivenTerm(DateDrivenTermValue value, EntityPermission entityPermission) Creates a new instance of DateDrivenTerm -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanbooleanbooleangetTerm()getTerm(EntityPermission entityPermission) getTerm(Session session, EntityPermission entityPermission) getTermForUpdate(Session session) booleanbooleanbooleaninthashCode()voidremove()voidvoidvoidsetDiscountBeforeDayOfMonth(Integer discountBeforeDayOfMonth) voidsetDiscountPercentage(Integer discountPercentage) voidsetDueNextMonthDays(Integer dueNextMonthDays) voidsetFromTime(Long fromTime) voidsetNetDueDayOfMonth(Integer netDueDayOfMonth) voidvoidvoidsetThruTime(Long thruTime) voidtoString()Methods inherited from class com.echothree.util.server.persistence.BaseEntity
checkReadWrite, getEntityPermission, store
-
Constructor Details
-
DateDrivenTerm
Creates a new instance of DateDrivenTerm- Throws:
PersistenceException
-
DateDrivenTerm
Creates a new instance of DateDrivenTerm
-
-
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
-
remove
- Overrides:
removein classBaseEntity- Throws:
PersistenceDatabaseException
-
getDateDrivenTermValue
-
setDateDrivenTermValue
- Throws:
PersistenceReadOnlyException
-
getPrimaryKey
- Specified by:
getPrimaryKeyin classBaseEntity
-
getTermPK
-
getTerm
-
getTerm
-
getTerm
-
getTerm
-
getTermForUpdate
-
getTermForUpdate
-
setTermPK
public void setTermPK(TermPK termPK) throws PersistenceNotNullException, PersistenceReadOnlyException -
setTerm
-
getTermPKHasBeenModified
-
getNetDueDayOfMonth
-
setNetDueDayOfMonth
public void setNetDueDayOfMonth(Integer netDueDayOfMonth) throws PersistenceNotNullException, PersistenceReadOnlyException -
getNetDueDayOfMonthHasBeenModified
-
getDueNextMonthDays
-
setDueNextMonthDays
public void setDueNextMonthDays(Integer dueNextMonthDays) throws PersistenceNotNullException, PersistenceReadOnlyException -
getDueNextMonthDaysHasBeenModified
-
getDiscountPercentage
-
setDiscountPercentage
public void setDiscountPercentage(Integer discountPercentage) throws PersistenceNotNullException, PersistenceReadOnlyException -
getDiscountPercentageHasBeenModified
-
getDiscountBeforeDayOfMonth
-
setDiscountBeforeDayOfMonth
public void setDiscountBeforeDayOfMonth(Integer discountBeforeDayOfMonth) throws PersistenceNotNullException, PersistenceReadOnlyException -
getDiscountBeforeDayOfMonthHasBeenModified
-
getFromTime
-
setFromTime
public void setFromTime(Long fromTime) throws PersistenceNotNullException, PersistenceReadOnlyException -
getFromTimeHasBeenModified
-
getThruTime
-
setThruTime
public void setThruTime(Long thruTime) throws PersistenceNotNullException, PersistenceReadOnlyException -
getThruTimeHasBeenModified
-