Cisco Systems, Inc.

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

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

public abstract class QuotaBucketData
extends java.lang.Object
implements java.lang.Cloneable, Formattable, QuotaBucketInterface


Constructor Summary
QuotaBucketData(int id, java.lang.String name)
          new quota bucket
 
Method Summary
abstract  void copyData(QuotaBucketData temp)
           
 java.lang.String getDescription()
           
 int getId()
           
 java.lang.String getName()
           
 boolean isLimited()
          for backward computability (non-Javadoc)
abstract  QuotaBucketData makeCopy()
           
 void setDescription(java.lang.String desc)
           
 void setMyName(java.lang.String name)
           
 java.lang.String 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

QuotaBucketData

public QuotaBucketData(int id,
                       java.lang.String name)
new quota bucket

Parameters:
id - - the bucket id (1-16)
name - - the bucket name
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface QuotaBucketInterface
Returns:
Returns the name.

setMyName

public void setMyName(java.lang.String name)

getId

public int getId()
Specified by:
getId in interface QuotaBucketInterface
Returns:

setDescription

public void setDescription(java.lang.String desc)

getDescription

public java.lang.String getDescription()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

makeCopy

public abstract QuotaBucketData makeCopy()

copyData

public abstract void copyData(QuotaBucketData temp)

isLimited

public boolean isLimited()
for backward computability (non-Javadoc)

Specified by:
isLimited in interface QuotaBucketInterface
Returns:
See Also:
QuotaBucketInterface.isLimited()

Cisco Systems, Inc.

Copyright © 2013 Cisco Systems, Inc. Confidential.