Cisco Systems, Inc.

com.pcube.apps.engage.policy
Class AssuranceLevel

java.lang.Object
  extended by com.pcube.apps.engage.policy.AssuranceLevel
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable

public class AssuranceLevel
extends java.lang.Object
implements java.io.Serializable, java.lang.Comparable

BWC assurance level

Author:
rafis
See Also:
Serialized Form

Field Summary
static int ASSURANCE_LEVEL_HIGH
          High assurance level.
static int ASSURANCE_LEVEL_LOW
          Low assurance level.
static int ASSURANCE_LEVEL_MEDIUM
          Medium assurance level.
static int MAX_ASSURANCE_LEVEL
          Maximum assurance level value.
static int MIN_ASSURANCE_LEVEL
          Minimum assurance level value.
 
Constructor Summary
AssuranceLevel()
           
AssuranceLevel(int value)
           
 
Method Summary
 java.lang.Object clone()
           
 int compareTo(java.lang.Object o)
           
 void fromStream(java.io.BufferedReader in, Formatter f)
           
 int getValue()
           
 void setValue(int value)
           
 void setValueFrom(AssuranceLevel other)
           
 void toStream(java.io.PrintStream out, Formatter f)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ASSURANCE_LEVEL_HIGH

public static final int ASSURANCE_LEVEL_HIGH
High assurance level.

See Also:
Constant Field Values

ASSURANCE_LEVEL_LOW

public static final int ASSURANCE_LEVEL_LOW
Low assurance level.

See Also:
Constant Field Values

ASSURANCE_LEVEL_MEDIUM

public static final int ASSURANCE_LEVEL_MEDIUM
Medium assurance level.

See Also:
Constant Field Values

MAX_ASSURANCE_LEVEL

public static final int MAX_ASSURANCE_LEVEL
Maximum assurance level value.

See Also:
Constant Field Values

MIN_ASSURANCE_LEVEL

public static final int MIN_ASSURANCE_LEVEL
Minimum assurance level value.

See Also:
Constant Field Values
Constructor Detail

AssuranceLevel

public AssuranceLevel()

AssuranceLevel

public AssuranceLevel(int value)
Method Detail

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable
See Also:
Comparable.compareTo(java.lang.Object)

fromStream

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

getValue

public int getValue()
Returns:
Returns the value.

setValue

public void setValue(int value)
Parameters:
value - The value to set.

setValueFrom

public void setValueFrom(AssuranceLevel other)

toStream

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

Cisco Systems, Inc.

Copyright © 2013 Cisco Systems, Inc. Confidential.