com.tagtraum.sixbs
Interface SIXBSSerializable


public interface SIXBSSerializable

Marks an object as SIXBS-serializable, with special rules. This means that properties are only serialized, if the method serializable(String) with the property name as argument returns true.

This interface should be used, when 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 properties as transient.

If you want to serialize objects that do not comply with the java beans conventions, which have been written by a third party, you have to create an Adapter.

Version:
$Id: SIXBSSerializable.java,v 1.3 2001/08/06 16:46:42 Hendrik Exp $
Author:
Hendrik Schreiber
See Also:
Adapter

Field Summary
static java.lang.String vcid
          Source-Version
 
Method Summary
 boolean serializable(java.lang.String propertyname)
          Indicates whether a certain property should be serialized or not.
 

Field Detail

vcid

public static final java.lang.String vcid
Source-Version

See Also:
Constant Field Values
Method Detail

serializable

public boolean serializable(java.lang.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