Class MyCouponPO
java.lang.Object
com.intershop.beehive.orm.internal.common.ORMObjectImpl
com.intershop.beehive.orm.capi.common.ORMObject
com.intershop.beehive.core.capi.domain.PersistentObjectPO
com.intershop.issup.component.mycoupon.orm.internal.mycoupon.orm.MyCouponPO
- All Implemented Interfaces:
com.intershop.beehive.core.capi.domain.PersistentObject,com.intershop.beehive.orm.capi.common.Touchable,com.intershop.beehive.orm.capi.transaction.TransactionListener,com.intershop.beehive.orm.internal.state.TransactionalStateProvider
public class MyCouponPO
extends com.intershop.beehive.core.capi.domain.PersistentObjectPO
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic com.intershop.beehive.orm.capi.description.AttributeDescriptionstatic com.intershop.beehive.orm.capi.description.AttributeDescriptionstatic com.intershop.beehive.orm.capi.description.AttributeDescriptionFields inherited from class com.intershop.beehive.core.capi.domain.PersistentObjectPO
domainIDAttribute, lastModifiedAttribute, ocaAttribute, UUIDAttribute -
Constructor Summary
ConstructorsConstructorDescriptionMyCouponPO(com.intershop.beehive.orm.capi.common.ORMObjectFactory factory, MyCouponPOKey key) The constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of attribute 'coupon'.Returns the value of attribute 'creationDate'.getEmail()Returns the value of attribute 'email'.Returns the name of the factory that manages this type of objects.voidonChange()This hook is called whenever the bean has been modified.voidSets the value of the attribute 'coupon'.voidsetCreationDate(Date aValue) Sets the value of the attribute 'creationDate'.voidSets the value of the attribute 'email'.Methods inherited from class com.intershop.beehive.core.capi.domain.PersistentObjectPO
copyInto, getDomain, getDomainID, getLastModified, getLastModifiedNull, getOca, getOcaNull, getUUID, init, isIdenticalWith, setDomain, setDomainID, setLastModified, setLastModifiedNull, setOca, setOcaNullMethods inherited from class com.intershop.beehive.orm.capi.common.ORMObject
addToRelatedObjects, disableAlternateKeyCaching, enableAlternateKeyCaching, flush, getAttributeValue, getAttributeValue, getClassDescription, getCurrentState, getEngine, getFactory, getOcaAttributeDescription, getPrimaryKey, getRelatedObject, getRelatedObjects, getRelationCollection, getSharedState, getTransactionalState, getTransactionalState, hasCurrentState, hasSharedState, hasTransactionalState, isChanged, isInvalid, isLoaded, isLocked, isMarkedForDelete, isMarkedForInsert, isMarkedForUpdate, isNew, isRemoved, lock, markChanged, refresh, release, remove, removeFromRelatedObjects, setAttributeValue, setCurrentState, setRelatedObject, setSharedState, setTransactionalState, store, toString, touch, touch, transactionBeginning, transactionBegun, transactionCommitted, transactionCommitting, transactionFlushed, transactionFlushing, transactionPrepared, transactionPreparing, transactionRolledback, transactionRollingback, tryLock, tryLockMethods inherited from class com.intershop.beehive.orm.internal.common.ORMObjectImpl
isAlternateKeyCachingEnabled
-
Field Details
-
emailAttribute
public static com.intershop.beehive.orm.capi.description.AttributeDescription emailAttribute -
couponAttribute
public static com.intershop.beehive.orm.capi.description.AttributeDescription couponAttribute -
creationDateAttribute
public static com.intershop.beehive.orm.capi.description.AttributeDescription creationDateAttribute
-
-
Constructor Details
-
MyCouponPO
public MyCouponPO(com.intershop.beehive.orm.capi.common.ORMObjectFactory factory, MyCouponPOKey key) The constructor.
-
-
Method Details
-
getFactoryName
Returns the name of the factory that manages this type of objects. The name can be used to lookup the factory from the NamingMgr.- Specified by:
getFactoryNamein interfacecom.intershop.beehive.core.capi.domain.PersistentObject- Overrides:
getFactoryNamein classcom.intershop.beehive.core.capi.domain.PersistentObjectPO- Returns:
- the factory name
-
onChange
public void onChange()This hook is called whenever the bean has been modified.- Overrides:
onChangein classcom.intershop.beehive.core.capi.domain.PersistentObjectPO
-
getEmail
Returns the value of attribute 'email'.The email for mycoupon
- Returns:
- the value of the attribute 'email'
-
setEmail
Sets the value of the attribute 'email'.The email for mycoupon
- Parameters:
aValue- the new value of the attribute
-
getCoupon
Returns the value of attribute 'coupon'.The coupon text for mycoupon
- Returns:
- the value of the attribute 'coupon'
-
setCoupon
Sets the value of the attribute 'coupon'.The coupon text for mycoupon
- Parameters:
aValue- the new value of the attribute
-
getCreationDate
Returns the value of attribute 'creationDate'.The creation date
- Returns:
- the value of the attribute 'creationDate'
-
setCreationDate
Sets the value of the attribute 'creationDate'.The creation date
- Parameters:
aValue- the new value of the attribute
-