public abstract class DmcFilter extends Object implements Serializable
| Constructor and Description |
|---|
DmcFilter() |
| Modifier and Type | Method and Description |
|---|---|
abstract DmcFilter |
cloneIt() |
abstract void |
deserializeIt(DmcInputStreamIF dis)
Likewise, they must also be individually deserializable.
|
abstract String |
getFilterClass() |
abstract String |
getFilterString()
Regardless of how you implement your filtering mechanisms, you must be able to represent
the filter as a String and parse it from that String.
|
abstract boolean |
objectMatches(DmcObject obj)
Applies the filter logic to the object.
|
abstract void |
serializeIt(DmcOutputStreamIF dos)
The filter values must be individually serializable.
|
String |
toString()
Return the filter as a String.
|
public abstract boolean objectMatches(DmcObject obj)
obj - The object to be tested.public abstract String getFilterString()
public abstract DmcFilter cloneIt()
public abstract String getFilterClass()
public abstract void serializeIt(DmcOutputStreamIF dos) throws Exception
dos - The output stream.Exceptionpublic abstract void deserializeIt(DmcInputStreamIF dis) throws Exception
dis - The input stream.ExceptionCopyright © 2023. All rights reserved.