Cisco Systems, Inc.

com.pcube.apps.engage.common
Class UsableArrayElement

java.lang.Object
  extended by com.pcube.apps.engage.common.ArrayElement
      extended by com.pcube.apps.engage.common.UsableArrayElement
All Implemented Interfaces:
Formattable, java.lang.Cloneable
Direct Known Subclasses:
AddOnGroup, Package, Service, TimeSlotMatrix

public abstract class UsableArrayElement
extends ArrayElement
implements Formattable

implements the isUsed method: indicating if element is an "active" element in the array. "active" - hasn't been deleted

Author:
rafis

Constructor Summary
UsableArrayElement()
           
 
Method Summary
 void fromStream(java.io.BufferedReader in, Formatter f)
          parse from stream using the default element tag name
 void fromStream(java.io.BufferedReader in, Formatter f, java.lang.String tag)
           
 boolean isUsed()
           
 void setUsed(boolean used)
           
 void toStream(java.io.PrintStream out, Formatter f)
          write to stream using default tag name
 void toStream(java.io.PrintStream out, java.lang.String tag)
          write to stream using the specified tag name
 
Methods inherited from class com.pcube.apps.engage.common.ArrayElement
clone
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UsableArrayElement

public UsableArrayElement()
Method Detail

isUsed

public boolean isUsed()

setUsed

public void setUsed(boolean used)

fromStream

public void fromStream(java.io.BufferedReader in,
                       Formatter f)
                throws ImportExportException
parse from stream using the default element tag name

Specified by:
fromStream in interface Formattable
Throws:
ImportExportException

fromStream

public void fromStream(java.io.BufferedReader in,
                       Formatter f,
                       java.lang.String tag)
                throws ImportExportException
Parameters:
in -
f -
tag - - the element's tag
Throws:
ImportExportException

toStream

public void toStream(java.io.PrintStream out,
                     Formatter f)
write to stream using default tag name

Specified by:
toStream in interface Formattable

toStream

public void toStream(java.io.PrintStream out,
                     java.lang.String tag)
write to stream using the specified tag name


Cisco Systems, Inc.

Copyright © 2013 Cisco Systems, Inc. Confidential.