Class CustomerValue
java.lang.Object
com.echothree.util.server.persistence.BaseValue<CustomerPK>
com.echothree.model.data.customer.server.value.CustomerValue
- All Implemented Interfaces:
Serializable,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.echothree.util.server.persistence.BaseValue
_primaryKey, entityId -
Constructor Summary
ConstructorsConstructorDescriptionCustomerValue(CustomerPK customerPK, PartyPK partyPK, String customerName, CustomerTypePK customerTypePK, OfferUsePK initialOfferUsePK, CancellationPolicyPK cancellationPolicyPK, ReturnPolicyPK returnPolicyPK, GlAccountPK arGlAccountPK, Boolean holdUntilComplete, Boolean allowBackorders, Boolean allowSubstitutions, Boolean allowCombiningShipments, Boolean requireReference, Boolean allowReferenceDuplicates, String referenceValidationPattern, Long fromTime, Long thruTime) Creates a new instance of CustomerValueCustomerValue(PartyPK partyPK, String customerName, CustomerTypePK customerTypePK, OfferUsePK initialOfferUsePK, CancellationPolicyPK cancellationPolicyPK, ReturnPolicyPK returnPolicyPK, GlAccountPK arGlAccountPK, Boolean holdUntilComplete, Boolean allowBackorders, Boolean allowSubstitutions, Boolean allowCombiningShipments, Boolean requireReference, Boolean allowReferenceDuplicates, String referenceValidationPattern, Long fromTime, Long thruTime) Creates a new instance of CustomerValue -
Method Summary
Modifier and TypeMethodDescriptionvoidclone()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleaninthashCode()booleanisIdentical(Object other) voidsetAllowBackorders(Boolean allowBackorders) voidsetAllowCombiningShipments(Boolean allowCombiningShipments) voidsetAllowReferenceDuplicates(Boolean allowReferenceDuplicates) voidsetAllowSubstitutions(Boolean allowSubstitutions) voidsetArGlAccountPK(GlAccountPK arGlAccountPK) voidsetCancellationPolicyPK(CancellationPolicyPK cancellationPolicyPK) voidsetCustomerName(String customerName) voidsetCustomerTypePK(CustomerTypePK customerTypePK) voidsetFromTime(Long fromTime) voidsetHoldUntilComplete(Boolean holdUntilComplete) voidsetInitialOfferUsePK(OfferUsePK initialOfferUsePK) voidsetPartyPK(PartyPK partyPK) voidsetReferenceValidationPattern(String referenceValidationPattern) voidsetRequireReference(Boolean requireReference) voidsetReturnPolicyPK(ReturnPolicyPK returnPolicyPK) voidsetThruTime(Long thruTime) toString()Methods inherited from class com.echothree.util.server.persistence.BaseValue
checkForNull, getEntityId, hasIdentity, setEntityId
-
Constructor Details
-
CustomerValue
public CustomerValue(CustomerPK customerPK, PartyPK partyPK, String customerName, CustomerTypePK customerTypePK, OfferUsePK initialOfferUsePK, CancellationPolicyPK cancellationPolicyPK, ReturnPolicyPK returnPolicyPK, GlAccountPK arGlAccountPK, Boolean holdUntilComplete, Boolean allowBackorders, Boolean allowSubstitutions, Boolean allowCombiningShipments, Boolean requireReference, Boolean allowReferenceDuplicates, String referenceValidationPattern, Long fromTime, Long thruTime) throws PersistenceNotNullException Creates a new instance of CustomerValue- Throws:
PersistenceNotNullException
-
CustomerValue
public CustomerValue(PartyPK partyPK, String customerName, CustomerTypePK customerTypePK, OfferUsePK initialOfferUsePK, CancellationPolicyPK cancellationPolicyPK, ReturnPolicyPK returnPolicyPK, GlAccountPK arGlAccountPK, Boolean holdUntilComplete, Boolean allowBackorders, Boolean allowSubstitutions, Boolean allowCombiningShipments, Boolean requireReference, Boolean allowReferenceDuplicates, String referenceValidationPattern, Long fromTime, Long thruTime) throws PersistenceNotNullException Creates a new instance of CustomerValue- Throws:
PersistenceNotNullException
-
-
Method Details
-
getBaseFactoryInstance
- Specified by:
getBaseFactoryInstancein classBaseValue<CustomerPK>
-
clone
-
getPrimaryKey
- Specified by:
getPrimaryKeyin classBaseValue<CustomerPK>
-
hashCode
-
toString
-
equals
-
isIdentical
-
hasBeenModified
- Specified by:
hasBeenModifiedin classBaseValue<CustomerPK>
-
clearHasBeenModified
- Specified by:
clearHasBeenModifiedin classBaseValue<CustomerPK>
-
getPartyPK
-
setPartyPK
- Throws:
PersistenceNotNullException
-
getPartyPKHasBeenModified
-
getCustomerName
-
setCustomerName
- Throws:
PersistenceNotNullException
-
getCustomerNameHasBeenModified
-
getCustomerTypePK
-
setCustomerTypePK
public void setCustomerTypePK(@Nonnull CustomerTypePK customerTypePK) throws PersistenceNotNullException - Throws:
PersistenceNotNullException
-
getCustomerTypePKHasBeenModified
-
getInitialOfferUsePK
-
setInitialOfferUsePK
public void setInitialOfferUsePK(@Nonnull OfferUsePK initialOfferUsePK) throws PersistenceNotNullException - Throws:
PersistenceNotNullException
-
getInitialOfferUsePKHasBeenModified
-
getCancellationPolicyPK
-
setCancellationPolicyPK
-
getCancellationPolicyPKHasBeenModified
-
getReturnPolicyPK
-
setReturnPolicyPK
-
getReturnPolicyPKHasBeenModified
-
getArGlAccountPK
-
setArGlAccountPK
-
getArGlAccountPKHasBeenModified
-
getHoldUntilComplete
-
setHoldUntilComplete
public void setHoldUntilComplete(@Nonnull Boolean holdUntilComplete) throws PersistenceNotNullException - Throws:
PersistenceNotNullException
-
getHoldUntilCompleteHasBeenModified
-
getAllowBackorders
-
setAllowBackorders
- Throws:
PersistenceNotNullException
-
getAllowBackordersHasBeenModified
-
getAllowSubstitutions
-
setAllowSubstitutions
public void setAllowSubstitutions(@Nonnull Boolean allowSubstitutions) throws PersistenceNotNullException - Throws:
PersistenceNotNullException
-
getAllowSubstitutionsHasBeenModified
-
getAllowCombiningShipments
-
setAllowCombiningShipments
public void setAllowCombiningShipments(@Nonnull Boolean allowCombiningShipments) throws PersistenceNotNullException - Throws:
PersistenceNotNullException
-
getAllowCombiningShipmentsHasBeenModified
-
getRequireReference
-
setRequireReference
public void setRequireReference(@Nonnull Boolean requireReference) throws PersistenceNotNullException - Throws:
PersistenceNotNullException
-
getRequireReferenceHasBeenModified
-
getAllowReferenceDuplicates
-
setAllowReferenceDuplicates
public void setAllowReferenceDuplicates(@Nonnull Boolean allowReferenceDuplicates) throws PersistenceNotNullException - Throws:
PersistenceNotNullException
-
getAllowReferenceDuplicatesHasBeenModified
-
getReferenceValidationPattern
-
setReferenceValidationPattern
-
getReferenceValidationPatternHasBeenModified
-
getFromTime
-
setFromTime
- Throws:
PersistenceNotNullException
-
getFromTimeHasBeenModified
-
getThruTime
-
setThruTime
- Throws:
PersistenceNotNullException
-
getThruTimeHasBeenModified
-