com.tagtraum.sixbs
Interface SIXBSSerializable
- public interface SIXBSSerializable
Marks an object as SIXBS-serializable, with special rules. This means that
properties are only serialized when the method serializable(String) with the
property name as argument returns true.
This interface should be used, if you are writing new code, that
explicitly wants to use SIXBS, but has public properties that should
not be serialized. Think of this as a way to mark prooerties as transient.
If you want to like to serialize
objects that do not comply with the java beans conventions that have
been written by a third party, you have to create an Adapter.
- Version:
- $Id: SIXBSSerializable.java,v 1.2 2001/05/11 16:45:16 Hendrik Exp $
- Author:
- Hendrik Schreiber
- See Also:
Adapter
|
Method Summary |
boolean |
serializable(String propertyname)
Indicates whether a certain property should be serialized or not. |
vcid
public static final String vcid
- Source-Version
serializable
public boolean serializable(String propertyname)
- Indicates whether a certain property should be serialized or not.
- Parameters:
propertyname - Name of the property. E.g. name if the
methods setName() and getName() exist- Returns:
- true, if the property shall be serialized
Copyright © 2001 tagtraum industries.