Cisco Systems, Inc.

com.pcube.apps.engage.policy
Class NewPackageData

java.lang.Object
  extended by com.pcube.apps.engage.common.ArrayElement
      extended by com.pcube.apps.engage.policy.NewPackageData
All Implemented Interfaces:
Formattable, IPackageData, java.io.Serializable, java.lang.Cloneable

public class NewPackageData
extends ArrayElement
implements java.io.Serializable, java.lang.Cloneable, Formattable, IPackageData

A collection of Package parameters.

See Also:
Serialized Form

Constructor Summary
NewPackageData(Policy policy)
          PackageData Constructor.
 
Method Summary
 java.lang.Object clone()
          Producing an identical object to this object.
 void fromStream(java.io.BufferedReader in, Formatter f)
          Method fromStream
 BWControllerArray getBWControllers()
           
 int getPostBreachDownstreamBWControllerIndex(int srvIdx)
           
 int getPostBreachUpstreamBWControllerIndex(int srvIdx)
           
 int getPreBreachDownstreamBWControllerIndex(int srvIdx)
           
 int getPreBreachUpstreamBWControllerIndex(int srvIdx)
           
 void setValueFrom(IPackageData o)
          Method setValueFrom
 void toStream(java.io.PrintStream out, Formatter f)
          Method toStream
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NewPackageData

public NewPackageData(Policy policy)
PackageData Constructor.

Parameters:
policy - the Policy this PolicyData is part of
Method Detail

clone

public java.lang.Object clone()
Producing an identical object to this object.

Specified by:
clone in class ArrayElement
Returns:
a newly alocated object similar to this object.
See Also:
Object.clone()

fromStream

public void fromStream(java.io.BufferedReader in,
                       Formatter f)
                throws ImportExportException
Description copied from interface: Formattable
Method fromStream

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

getPostBreachDownstreamBWControllerIndex

public int getPostBreachDownstreamBWControllerIndex(int srvIdx)
Specified by:
getPostBreachDownstreamBWControllerIndex in interface IPackageData
Returns:
See Also:
IPackageData.getPostBreachDownstreamBWControllerIndex(int)

getPostBreachUpstreamBWControllerIndex

public int getPostBreachUpstreamBWControllerIndex(int srvIdx)
Specified by:
getPostBreachUpstreamBWControllerIndex in interface IPackageData
Returns:
See Also:
IPackageData.getPostBreachUpstreamBWControllerIndex(int)

getPreBreachDownstreamBWControllerIndex

public int getPreBreachDownstreamBWControllerIndex(int srvIdx)
Specified by:
getPreBreachDownstreamBWControllerIndex in interface IPackageData
Returns:
See Also:
IPackageData.getPreBreachDownstreamBWControllerIndex(int)

getPreBreachUpstreamBWControllerIndex

public int getPreBreachUpstreamBWControllerIndex(int srvIdx)
Specified by:
getPreBreachUpstreamBWControllerIndex in interface IPackageData
Returns:
See Also:
IPackageData.getPreBreachUpstreamBWControllerIndex(int)

setValueFrom

public void setValueFrom(IPackageData o)
Method setValueFrom

Specified by:
setValueFrom in interface IPackageData
Parameters:
other -

toStream

public void toStream(java.io.PrintStream out,
                     Formatter f)
Description copied from interface: Formattable
Method toStream

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

getBWControllers

public BWControllerArray getBWControllers()

Cisco Systems, Inc.

Copyright © 2013 Cisco Systems, Inc. Confidential.