Cisco Systems, Inc.

com.pcube.apps.console.quota.data
Class QuotaBucketDataLegacy

java.lang.Object
  extended by com.pcube.apps.console.quota.data.QuotaBucketData
      extended by com.pcube.apps.console.quota.data.QuotaBucketDataLegacy
All Implemented Interfaces:
Formattable, QuotaBucketInterface, java.lang.Cloneable
Direct Known Subclasses:
QuotaBucketDataPeriodical, QuotaBucketDataSCESubscriberAPI

public abstract class QuotaBucketDataLegacy
extends QuotaBucketData


Nested Class Summary
static class QuotaBucketDataLegacy.BucketType
          possible internal/sce subscriber bucket types.
 
Constructor Summary
QuotaBucketDataLegacy(int id, java.lang.String name)
           
QuotaBucketDataLegacy(int id, java.lang.String name, QuotaBucketDataLegacy.BucketType bucketType)
           
 
Method Summary
 void copyInternalData(QuotaBucketData temp)
          run shallow copy from temp to this.
 QuotaBucketDataLegacy.BucketType getBucketType()
           
 boolean isL3BytesType()
           
 boolean isSessionType()
           
 void setBucketType(QuotaBucketDataLegacy.BucketType bucketType)
          set bucket type.
 
Methods inherited from class com.pcube.apps.console.quota.data.QuotaBucketData
copyData, getDescription, getId, getName, isLimited, makeCopy, setDescription, setMyName, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.pcube.apps.engage.common.Formattable
fromStream, toStream
 

Constructor Detail

QuotaBucketDataLegacy

public QuotaBucketDataLegacy(int id,
                             java.lang.String name)
Parameters:
id -
name -

QuotaBucketDataLegacy

public QuotaBucketDataLegacy(int id,
                             java.lang.String name,
                             QuotaBucketDataLegacy.BucketType bucketType)
Parameters:
id -
name -
bucketType -
Method Detail

getBucketType

public QuotaBucketDataLegacy.BucketType getBucketType()
Returns:
the bucket type (session/bytes)

setBucketType

public void setBucketType(QuotaBucketDataLegacy.BucketType bucketType)
set bucket type.

Parameters:
bucketType -

isSessionType

public boolean isSessionType()
Returns:
true if bucket type is session

isL3BytesType

public boolean isL3BytesType()
Returns:
true if bucket type is L3 bytes

copyInternalData

public void copyInternalData(QuotaBucketData temp)
run shallow copy from temp to this.


Cisco Systems, Inc.

Copyright © 2013 Cisco Systems, Inc. Confidential.