com.pcube.apps.engage.common
Class UsableArrayElement
java.lang.Object
com.pcube.apps.engage.common.ArrayElement
com.pcube.apps.engage.common.UsableArrayElement
- All Implemented Interfaces:
- Formattable, Cloneable
- Direct Known Subclasses:
- 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
UsableArrayElement
public UsableArrayElement()
isUsed
public boolean isUsed()
setUsed
public void setUsed(boolean used)
fromStream
public void fromStream(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(BufferedReader in,
Formatter f,
String tag)
throws ImportExportException
- Parameters:
in - f - tag - -
the element's tag
- Throws:
ImportExportException
toStream
public void toStream(PrintStream out,
Formatter f)
- write to stream using default tag name
- Specified by:
toStream in interface Formattable
toStream
public void toStream(PrintStream out,
String tag)
- write to stream using the specified tag name
Copyright © 2011 Cisco Systems, Inc. Confidential.