com.ning.billing.subscription.engine.dao.model
Class SubscriptionEventModelDao

java.lang.Object
  extended by com.ning.billing.util.entity.EntityBase
      extended by com.ning.billing.subscription.engine.dao.model.SubscriptionEventModelDao
All Implemented Interfaces:
EntityModelDao<SubscriptionBaseEvent>, Entity

public class SubscriptionEventModelDao
extends EntityBase
implements EntityModelDao<SubscriptionBaseEvent>


Field Summary
 
Fields inherited from class com.ning.billing.util.entity.EntityBase
createdDate, id, updatedDate
 
Constructor Summary
SubscriptionEventModelDao()
           
SubscriptionEventModelDao(SubscriptionBaseEvent src)
           
SubscriptionEventModelDao(UUID id, long totalOrdering, SubscriptionBaseEvent.EventType eventType, ApiEventType userType, org.joda.time.DateTime requestedDate, org.joda.time.DateTime effectiveDate, UUID subscriptionId, String planName, String phaseName, String priceListName, long currentVersion, boolean active, org.joda.time.DateTime createDate, org.joda.time.DateTime updateDate)
           
 
Method Summary
 boolean equals(Object o)
           
 long getCurrentVersion()
           
 org.joda.time.DateTime getEffectiveDate()
           
 SubscriptionBaseEvent.EventType getEventType()
           
 TableName getHistoryTableName()
           
 boolean getIsActive()
           
 String getPhaseName()
           
 String getPlanName()
           
 String getPriceListName()
           
 org.joda.time.DateTime getRequestedDate()
           
 UUID getSubscriptionId()
           
 TableName getTableName()
           
 long getTotalOrdering()
           
 ApiEventType getUserType()
           
 int hashCode()
           
 boolean isActive()
           
 String toString()
           
static SubscriptionBaseEvent toSubscriptionEvent(SubscriptionEventModelDao src)
           
 
Methods inherited from class com.ning.billing.util.entity.EntityBase
getCreatedDate, getId, getUpdatedDate, safeCompareTo
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ning.billing.util.entity.Entity
getCreatedDate, getId, getUpdatedDate
 

Constructor Detail

SubscriptionEventModelDao

public SubscriptionEventModelDao()

SubscriptionEventModelDao

public SubscriptionEventModelDao(UUID id,
                                 long totalOrdering,
                                 SubscriptionBaseEvent.EventType eventType,
                                 ApiEventType userType,
                                 org.joda.time.DateTime requestedDate,
                                 org.joda.time.DateTime effectiveDate,
                                 UUID subscriptionId,
                                 String planName,
                                 String phaseName,
                                 String priceListName,
                                 long currentVersion,
                                 boolean active,
                                 org.joda.time.DateTime createDate,
                                 org.joda.time.DateTime updateDate)

SubscriptionEventModelDao

public SubscriptionEventModelDao(SubscriptionBaseEvent src)
Method Detail

getTotalOrdering

public long getTotalOrdering()

getEventType

public SubscriptionBaseEvent.EventType getEventType()

getUserType

public ApiEventType getUserType()

getRequestedDate

public org.joda.time.DateTime getRequestedDate()

getEffectiveDate

public org.joda.time.DateTime getEffectiveDate()

getSubscriptionId

public UUID getSubscriptionId()

getPlanName

public String getPlanName()

getPhaseName

public String getPhaseName()

getPriceListName

public String getPriceListName()

getCurrentVersion

public long getCurrentVersion()

getIsActive

public boolean getIsActive()

isActive

public boolean isActive()

toSubscriptionEvent

public static SubscriptionBaseEvent toSubscriptionEvent(SubscriptionEventModelDao src)

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class EntityBase

hashCode

public int hashCode()
Overrides:
hashCode in class EntityBase

getTableName

public TableName getTableName()
Specified by:
getTableName in interface EntityModelDao<SubscriptionBaseEvent>

getHistoryTableName

public TableName getHistoryTableName()
Specified by:
getHistoryTableName in interface EntityModelDao<SubscriptionBaseEvent>


Copyright © 2010-2013. All Rights Reserved.