Class StandardTermValue
java.lang.Object
com.echothree.util.server.persistence.BaseValue<StandardTermPK>
com.echothree.model.data.term.server.value.StandardTermValue
- All Implemented Interfaces:
Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.echothree.util.server.persistence.BaseValue
_primaryKey, entityId
-
Constructor Summary
ConstructorsConstructorDescriptionStandardTermValue
(StandardTermPK standardTermPK, TermPK termPK, Integer netDueDays, Integer discountPercentage, Integer discountDays, Long fromTime, Long thruTime) Creates a new instance of StandardTermValueStandardTermValue
(TermPK termPK, Integer netDueDays, Integer discountPercentage, Integer discountDays, Long fromTime, Long thruTime) Creates a new instance of StandardTermValue -
Method Summary
Modifier and TypeMethodDescriptionvoid
clone()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
int
hashCode()
boolean
isIdentical
(Object other) void
setDiscountDays
(Integer discountDays) void
setDiscountPercentage
(Integer discountPercentage) void
setFromTime
(Long fromTime) void
setNetDueDays
(Integer netDueDays) void
void
setThruTime
(Long thruTime) toString()
Methods inherited from class com.echothree.util.server.persistence.BaseValue
checkForNull, getEntityId, hasIdentity, setEntityId
-
Constructor Details
-
StandardTermValue
public StandardTermValue(StandardTermPK standardTermPK, TermPK termPK, Integer netDueDays, Integer discountPercentage, Integer discountDays, Long fromTime, Long thruTime) throws PersistenceNotNullException Creates a new instance of StandardTermValue- Throws:
PersistenceNotNullException
-
StandardTermValue
public StandardTermValue(TermPK termPK, Integer netDueDays, Integer discountPercentage, Integer discountDays, Long fromTime, Long thruTime) throws PersistenceNotNullException Creates a new instance of StandardTermValue- Throws:
PersistenceNotNullException
-
-
Method Details
-
getBaseFactoryInstance
- Specified by:
getBaseFactoryInstance
in classBaseValue<StandardTermPK>
-
clone
-
getPrimaryKey
- Specified by:
getPrimaryKey
in classBaseValue<StandardTermPK>
-
hashCode
-
toString
-
equals
-
isIdentical
-
hasBeenModified
- Specified by:
hasBeenModified
in classBaseValue<StandardTermPK>
-
clearHasBeenModified
- Specified by:
clearHasBeenModified
in classBaseValue<StandardTermPK>
-
getTermPK
-
setTermPK
- Throws:
PersistenceNotNullException
-
getTermPKHasBeenModified
-
getNetDueDays
-
setNetDueDays
- Throws:
PersistenceNotNullException
-
getNetDueDaysHasBeenModified
-
getDiscountPercentage
-
setDiscountPercentage
- Throws:
PersistenceNotNullException
-
getDiscountPercentageHasBeenModified
-
getDiscountDays
-
setDiscountDays
- Throws:
PersistenceNotNullException
-
getDiscountDaysHasBeenModified
-
getFromTime
-
setFromTime
- Throws:
PersistenceNotNullException
-
getFromTimeHasBeenModified
-
getThruTime
-
setThruTime
- Throws:
PersistenceNotNullException
-
getThruTimeHasBeenModified
-