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

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

public class SubscriptionBundleModelDao
extends EntityBase
implements EntityModelDao<SubscriptionBaseBundle>


Field Summary
 
Fields inherited from class com.ning.billing.util.entity.EntityBase
createdDate, id, updatedDate
 
Constructor Summary
SubscriptionBundleModelDao()
           
SubscriptionBundleModelDao(DefaultSubscriptionBaseBundle input)
           
SubscriptionBundleModelDao(UUID id, String key, UUID accountId, org.joda.time.DateTime lastSysUpdateDate, org.joda.time.DateTime createdDate, org.joda.time.DateTime updateDate)
           
 
Method Summary
 boolean equals(Object o)
           
 UUID getAccountId()
           
 String getExternalKey()
           
 TableName getHistoryTableName()
           
 org.joda.time.DateTime getLastSysUpdateDate()
           
 TableName getTableName()
           
 int hashCode()
           
 String toString()
           
static SubscriptionBaseBundle toSubscriptionbundle(SubscriptionBundleModelDao 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

SubscriptionBundleModelDao

public SubscriptionBundleModelDao()

SubscriptionBundleModelDao

public SubscriptionBundleModelDao(UUID id,
                                  String key,
                                  UUID accountId,
                                  org.joda.time.DateTime lastSysUpdateDate,
                                  org.joda.time.DateTime createdDate,
                                  org.joda.time.DateTime updateDate)

SubscriptionBundleModelDao

public SubscriptionBundleModelDao(DefaultSubscriptionBaseBundle input)
Method Detail

getExternalKey

public String getExternalKey()

getAccountId

public UUID getAccountId()

getLastSysUpdateDate

public org.joda.time.DateTime getLastSysUpdateDate()

toSubscriptionbundle

public static SubscriptionBaseBundle toSubscriptionbundle(SubscriptionBundleModelDao 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<SubscriptionBaseBundle>

getHistoryTableName

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


Copyright © 2010-2013. All Rights Reserved.