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 TypeMethodDescriptionboolean
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
setDiscountDays
(Integer discountDays) void
setDiscountPercentage
(Integer discountPercentage) void
setFromTime
(Long fromTime) void
setNetDueDays
(Integer netDueDays) void
void
void
void
setThruTime
(Long thruTime) void
toString()
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:
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
-
getStandardTermValue
-
setStandardTermValue
- 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
-
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
-