Class StandardTerm
java.lang.Object
com.echothree.util.server.persistence.BaseEntity
com.echothree.model.data.term.server.entity.StandardTerm
- 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 StandardTermStandardTerm(StandardTermValue value, EntityPermission entityPermission) Creates a new instance of StandardTerm -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanbooleangetTerm()getTerm(EntityPermission entityPermission) getTerm(Session session, EntityPermission entityPermission) getTermForUpdate(Session session) booleanbooleanbooleaninthashCode()voidremove()voidvoidsetDiscountDays(Integer discountDays) voidsetDiscountPercentage(Integer discountPercentage) voidsetFromTime(Long fromTime) voidsetNetDueDays(Integer netDueDays) voidvoidvoidvoidsetThruTime(Long thruTime) voidtoString()Methods inherited from class com.echothree.util.server.persistence.BaseEntity
checkReadWrite, getEntityPermission, store
-
Constructor Details
-
StandardTerm
Creates a new instance of StandardTerm- Throws:
PersistenceException
-
StandardTerm
Creates a new instance of StandardTerm
-
-
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
-
getStandardTermValue
-
setStandardTermValue
- 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
-
getNetDueDays
-
setNetDueDays
public void setNetDueDays(Integer netDueDays) throws PersistenceNotNullException, PersistenceReadOnlyException -
getNetDueDaysHasBeenModified
-
getDiscountPercentage
-
setDiscountPercentage
public void setDiscountPercentage(Integer discountPercentage) throws PersistenceNotNullException, PersistenceReadOnlyException -
getDiscountPercentageHasBeenModified
-
getDiscountDays
-
setDiscountDays
public void setDiscountDays(Integer discountDays) throws PersistenceNotNullException, PersistenceReadOnlyException -
getDiscountDaysHasBeenModified
-
getFromTime
-
setFromTime
public void setFromTime(Long fromTime) throws PersistenceNotNullException, PersistenceReadOnlyException -
getFromTimeHasBeenModified
-
getThruTime
-
setThruTime
public void setThruTime(Long thruTime) throws PersistenceNotNullException, PersistenceReadOnlyException -
getThruTimeHasBeenModified
-