com.ning.billing.subscription.engine.dao.model
Class SubscriptionModelDao
java.lang.Object
com.ning.billing.util.entity.EntityBase
com.ning.billing.subscription.engine.dao.model.SubscriptionModelDao
- All Implemented Interfaces:
- EntityModelDao<SubscriptionBase>, Entity
public class SubscriptionModelDao
- extends EntityBase
- implements EntityModelDao<SubscriptionBase>
SubscriptionModelDao
public SubscriptionModelDao()
SubscriptionModelDao
public SubscriptionModelDao(UUID id,
UUID bundleId,
ProductCategory category,
org.joda.time.DateTime startDate,
org.joda.time.DateTime bundleStartDate,
long activeVersion,
org.joda.time.DateTime chargedThroughDate,
org.joda.time.DateTime paidThroughDate,
org.joda.time.DateTime createdDate,
org.joda.time.DateTime updateDate)
SubscriptionModelDao
public SubscriptionModelDao(DefaultSubscriptionBase src)
getBundleId
public UUID getBundleId()
getCategory
public ProductCategory getCategory()
getStartDate
public org.joda.time.DateTime getStartDate()
getBundleStartDate
public org.joda.time.DateTime getBundleStartDate()
getActiveVersion
public long getActiveVersion()
getChargedThroughDate
public org.joda.time.DateTime getChargedThroughDate()
getPaidThroughDate
public org.joda.time.DateTime getPaidThroughDate()
toSubscription
public static SubscriptionBase toSubscription(SubscriptionModelDao 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<SubscriptionBase>
getHistoryTableName
public TableName getHistoryTableName()
- Specified by:
getHistoryTableName in interface EntityModelDao<SubscriptionBase>
Copyright © 2010-2013. All Rights Reserved.