Cisco Systems, Inc.

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

java.lang.Object
  extended by com.pcube.apps.console.quota.data.QuotaServiceAttachment
      extended by com.pcube.apps.console.quota.data.QuotaServiceAttachmentLegacy
All Implemented Interfaces:
Formattable
Direct Known Subclasses:
QuotaServiceAttachmentInternal, QuotaServiceAttachmetSceSubscriber

public abstract class QuotaServiceAttachmentLegacy
extends QuotaServiceAttachment

Unite both inetrnal and qm common features. Both have type.

Author:
rbaryana

Nested Class Summary
static class QuotaServiceAttachmentLegacy.Type
           
 
Constructor Summary
QuotaServiceAttachmentLegacy(Service service, Policy policy)
           
 
Method Summary
 QuotaServiceAttachmentLegacy.Type getType()
           
 boolean isDownstream()
           
 boolean isSessionType()
           
 boolean isUpstream()
           
 
Methods inherited from class com.pcube.apps.console.quota.data.QuotaServiceAttachment
attachBucket, attachBucket, cleanAllAttachments, copyTo, duplicate, getBucketId, getBucketId, getFramedServiceBucketId, getMyServiceName, getParentServiceName, getText, isAnyAttachmentsExits, isAttached, isAttached, isBucketAttahed, isServiceAttachedToBucket
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.pcube.apps.engage.common.Formattable
fromStream, toStream
 

Constructor Detail

QuotaServiceAttachmentLegacy

public QuotaServiceAttachmentLegacy(Service service,
                                    Policy policy)
Method Detail

isSessionType

public boolean isSessionType()
Returns:
true if bucket counts sessions and false if it counts bytes.

isUpstream

public boolean isUpstream()
Returns:
true is attachment is upstream type

isDownstream

public boolean isDownstream()
Returns:
true is attachment is download type

getType

public QuotaServiceAttachmentLegacy.Type getType()
Returns:

Cisco Systems, Inc.

Copyright © 2013 Cisco Systems, Inc. Confidential.