public class

FlatStateSerializer

extends Object
implements FlatStateDelimiters
java.lang.Object
   ↳ com.microstrategy.utils.serialization.FlatStateSerializer

Class Overview

This class is used to build a string representing object state.

Summary

[Expand]
Inherited Constants
From interface com.microstrategy.utils.serialization.FlatStateDelimiters
Public Constructors
FlatStateSerializer()
FlatStateSerializer(StringBuffer _buf)
Public Methods
final void addBoolean(boolean value)
Adds boolean value to the state string.
final void addBooleanObj(Boolean value)
Adds boolean value to the state string.
final void addInt(int value)
Adds integer value to the state string.
void addObject(Persistable ob, int stateFlag)
Adds embedded object state to the state string.
void addObject(Persistable ob)
Adds embedded object state to the state string.
void addObjects(Enumeration objects)
Adds the embedded object collection state to the state string.
void addObjects(Collection objects)
Adds the embedded object collection state to the state string.
void addStr(String value)
Adds string value to the state string.
void addValues(Collection values)
Adds the embedded values collection to the state string.
void addValues(Enumeration values)
Adds the embedded values collection to the state string.
String getState()
Returns the object state string.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public FlatStateSerializer ()

public FlatStateSerializer (StringBuffer _buf)

Public Methods

public final void addBoolean (boolean value)

Adds boolean value to the state string.

Parameters
value boolean value

public final void addBooleanObj (Boolean value)

Adds boolean value to the state string.

Parameters
value boolean value

public final void addInt (int value)

Adds integer value to the state string.

Parameters
value integer value

public void addObject (Persistable ob, int stateFlag)

Adds embedded object state to the state string.

Parameters
ob embedded object
stateFlag from EnumWebStateFlags

public void addObject (Persistable ob)

Adds embedded object state to the state string.

Parameters
ob embedded object

public void addObjects (Enumeration objects)

Adds the embedded object collection state to the state string.

Parameters
objects an enumeration of embedded objects

public void addObjects (Collection objects)

Adds the embedded object collection state to the state string.

Parameters
objects an embedded object collection

public void addStr (String value)

Adds string value to the state string.

Parameters
value string value

public void addValues (Collection values)

Adds the embedded values collection to the state string.

Parameters
values a collection of values

public void addValues (Enumeration values)

Adds the embedded values collection to the state string.

Parameters
values an enumeration of values

public String getState ()

Returns the object state string.

Returns
  • the object state string.