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

    Fields
    Modifier and Type
    Field
    Description
    static com.intershop.beehive.orm.capi.description.AttributeDescription
     
    static com.intershop.beehive.orm.capi.description.AttributeDescription
     
    static com.intershop.beehive.orm.capi.description.AttributeDescription
     

    Fields inherited from class com.intershop.beehive.core.capi.domain.PersistentObjectPO

    domainIDAttribute, lastModifiedAttribute, ocaAttribute, UUIDAttribute
  • Constructor Summary

    Constructors
    Constructor
    Description
    MyCouponPO(com.intershop.beehive.orm.capi.common.ORMObjectFactory factory, MyCouponPOKey key)
    The constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the value of attribute 'coupon'.
    Returns the value of attribute 'creationDate'.
    Returns the value of attribute 'email'.
    Returns the name of the factory that manages this type of objects.
    void
    This hook is called whenever the bean has been modified.
    void
    setCoupon(String aValue)
    Sets the value of the attribute 'coupon'.
    void
    Sets the value of the attribute 'creationDate'.
    void
    setEmail(String aValue)
    Sets 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, setOcaNull

    Methods 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, tryLock

    Methods inherited from class com.intershop.beehive.orm.internal.common.ORMObjectImpl

    isAlternateKeyCachingEnabled

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 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

      public String 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:
      getFactoryName in interface com.intershop.beehive.core.capi.domain.PersistentObject
      Overrides:
      getFactoryName in class com.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:
      onChange in class com.intershop.beehive.core.capi.domain.PersistentObjectPO
    • getEmail

      public String getEmail()
      Returns the value of attribute 'email'.

      The email for mycoupon

      Returns:
      the value of the attribute 'email'
    • setEmail

      public void setEmail(String aValue)
      Sets the value of the attribute 'email'.

      The email for mycoupon

      Parameters:
      aValue - the new value of the attribute
    • getCoupon

      public String getCoupon()
      Returns the value of attribute 'coupon'.

      The coupon text for mycoupon

      Returns:
      the value of the attribute 'coupon'
    • setCoupon

      public void setCoupon(String aValue)
      Sets the value of the attribute 'coupon'.

      The coupon text for mycoupon

      Parameters:
      aValue - the new value of the attribute
    • getCreationDate

      public Date getCreationDate()
      Returns the value of attribute 'creationDate'.

      The creation date

      Returns:
      the value of the attribute 'creationDate'
    • setCreationDate

      public void setCreationDate(Date aValue)
      Sets the value of the attribute 'creationDate'.

      The creation date

      Parameters:
      aValue - the new value of the attribute