com.pcube.apps.console.quota.data
Class QuotaServiceAttachmentLegacy
java.lang.Object
com.pcube.apps.console.quota.data.QuotaServiceAttachment
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
| 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 |
QuotaServiceAttachmentLegacy
public QuotaServiceAttachmentLegacy(Service service,
Policy policy)
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:
Copyright © 2013 Cisco Systems, Inc. Confidential.