public class Session extends java.lang.Object implements IJsonSerializable, java.io.Serializable
Constructor and Description |
---|
Session()
Initializes a new instance of the Session class.
|
Modifier and Type | Method and Description |
---|---|
void |
addToHashMap(java.util.Map<java.lang.String,java.lang.String> map)
Adds all members of this class to a map
|
java.lang.String |
getId()
Gets the Id property.
|
java.lang.String |
getIsFirst()
Gets the IsFirst property.
|
java.lang.String |
getIsNew()
Gets the IsNew property.
|
protected void |
InitializeFields()
Optionally initializes fields for the current context.
|
void |
serialize(java.io.Writer writer)
Serializes the beginning of this object to the passed in writer.
|
protected java.lang.String |
serializeContent(java.io.Writer writer)
Serializes the beginning of this object to the passed in writer.
|
void |
setId(java.lang.String value)
Sets the Id property.
|
void |
setIsFirst(java.lang.String value)
Sets the IsFirst property.
|
void |
setIsNew(java.lang.String value)
Sets the IsNew property.
|
public java.lang.String getId()
public void setId(java.lang.String value)
public java.lang.String getIsFirst()
public void setIsFirst(java.lang.String value)
public java.lang.String getIsNew()
public void setIsNew(java.lang.String value)
public void addToHashMap(java.util.Map<java.lang.String,java.lang.String> map)
map
- to which the members of this class will be added.public void serialize(java.io.Writer writer) throws java.io.IOException
serialize
in interface IJsonSerializable
writer
- The writer to serialize this object to.java.io.IOException
- will be thrown if something wrong with the output
streamprotected java.lang.String serializeContent(java.io.Writer writer) throws java.io.IOException
writer
- The writer to serialize this object to.java.io.IOException
protected void InitializeFields()