Cisco Systems, Inc.

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

java.lang.Object
  extended by com.pcube.apps.console.quota.data.QuotaServiceAttachment
      extended by com.pcube.apps.console.quota.data.QuotaServiceAttachmentGx
All Implemented Interfaces:
Formattable

public class QuotaServiceAttachmentGx
extends QuotaServiceAttachment

Gx Attachment. In Gx, service can be attached to one bucket (no types...etc). Volume and type will be set by the Server.

Author:
ssanthar

Constructor Summary
QuotaServiceAttachmentGx(Service service, Policy policy)
           
 
Method Summary
 void copyTo(QuotaServiceAttachment quotaServiceAttchment)
           
 QuotaServiceAttachment duplicate()
           
 void fromStream(java.io.BufferedReader in, Formatter f)
          read from pqb file (non-Javadoc)
 java.lang.String getText()
           
 void toStream(java.io.PrintStream out, Formatter f)
          Write pqb file (non-Javadoc)
 java.lang.String toString()
           
 
Methods inherited from class com.pcube.apps.console.quota.data.QuotaServiceAttachment
attachBucket, attachBucket, cleanAllAttachments, getBucketId, getBucketId, getFramedServiceBucketId, getMyServiceName, getParentServiceName, isAnyAttachmentsExits, isAttached, isAttached, isBucketAttahed, isServiceAttachedToBucket
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QuotaServiceAttachmentGx

public QuotaServiceAttachmentGx(Service service,
                                Policy policy)
Method Detail

getText

public java.lang.String getText()
Specified by:
getText in class QuotaServiceAttachment

copyTo

public void copyTo(QuotaServiceAttachment quotaServiceAttchment)
Specified by:
copyTo in class QuotaServiceAttachment

duplicate

public QuotaServiceAttachment duplicate()
Specified by:
duplicate in class QuotaServiceAttachment

fromStream

public void fromStream(java.io.BufferedReader in,
                       Formatter f)
                throws ImportExportException
read from pqb file (non-Javadoc)

Throws:
ImportExportException
See Also:
Formattable.fromStream(java.io.BufferedReader, com.pcube.apps.engage.common.Formatter)

toStream

public void toStream(java.io.PrintStream out,
                     Formatter f)
Write pqb file (non-Javadoc)

See Also:
Formattable.toStream(java.io.PrintStream, com.pcube.apps.engage.common.Formatter)

toString

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

Cisco Systems, Inc.

Copyright © 2013 Cisco Systems, Inc. Confidential.