org.inria.ns.reflex.structures
Interface IgnorableData

All Superinterfaces:
Ignorable
All Known Subinterfaces:
TypedData
All Known Implementing Classes:
CalendarData, CompositeData, NumericData, TypedData.DefaultTypedData, TypedData.Impl

public interface IgnorableData
extends Ignorable

An IgnorableData depends on a typed data that its remainder must be reduced of the amount of datas given by size().

Author:
Philippe Poulard

Method Summary
 void setIgnorable(boolean isIgnorable)
          Indicates if this object is ignorable.
 int size()
          Return the size of the data to ignore.
 
Methods inherited from interface org.inria.ns.reflex.structures.Ignorable
isIgnorable
 

Method Detail

size

int size()
Return the size of the data to ignore.

Returns:
The number of datas reported as read.

setIgnorable

void setIgnorable(boolean isIgnorable)
Indicates if this object is ignorable.

Parameters:
isIgnorable - true if this object must be ignored, false otherwise.