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 TypeMethodDescriptionboolean
boolean
boolean
boolean
boolean
boolean
getTerm()
getTerm
(EntityPermission entityPermission) getTerm
(Session session, EntityPermission entityPermission) getTermForUpdate
(Session session) boolean
boolean
boolean
int
hashCode()
void
remove()
void
void
void
setDiscountBeforeDayOfMonth
(Integer discountBeforeDayOfMonth) void
setDiscountPercentage
(Integer discountPercentage) void
setDueNextMonthDays
(Integer dueNextMonthDays) void
setFromTime
(Long fromTime) void
setNetDueDayOfMonth
(Integer netDueDayOfMonth) void
void
void
setThruTime
(Long thruTime) void
toString()
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:
getBaseFactoryInstance
in classBaseEntity
-
hasBeenModified
- Specified by:
hasBeenModified
in classBaseEntity
-
hashCode
-
toString
-
equals
-
store
- Specified by:
store
in classBaseEntity
- Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in classBaseEntity
- Throws:
PersistenceDatabaseException
-
remove
- Overrides:
remove
in classBaseEntity
- Throws:
PersistenceDatabaseException
-
getDateDrivenTermValue
-
setDateDrivenTermValue
- Throws:
PersistenceReadOnlyException
-
getPrimaryKey
- Specified by:
getPrimaryKey
in 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
-