public class OdaDesignerState
extends org.eclipse.birt.report.model.core.Structure
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CHARSET
Encoding mode for the data member.
|
static java.lang.String |
CONTENT_AS_BLOB_MEMBER
Name of the "stateContentAsString" member.
|
static java.lang.String |
CONTENT_AS_STRING_MEMBER
Name of the "stateContentAsString" member.
|
static java.lang.String |
STRUCTURE_NAME
Name of this structure.
|
static java.lang.String |
VERSION_MEMBER
Name of the "version" member.
|
Constructor and Description |
---|
OdaDesignerState()
Default constructor.
|
OdaDesignerState(java.lang.String version,
java.lang.String contentAsString,
java.lang.String contentAsBlob)
Constructs the sort key with the key to sort and the direction.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getContentAsBlob()
Returns the content data as byte arrays.
|
java.lang.String |
getContentAsString()
Returns the content data as string.
|
StructureHandle |
getHandle(SimpleValueHandle valueHandle)
Return an
FormatValueHandle to deal with the string format. |
protected java.lang.Object |
getIntrinsicProperty(java.lang.String propName)
Returns the value of a structure property represented as a member
variable.
|
java.lang.String |
getStructName()
Returns the name of the structure definition.
|
java.lang.String |
getVersion()
Returns the version of the designer state's data.
|
StructureHandle |
handle(SimpleValueHandle valueHandle,
int index)
Creates the specific handle of this structure.
|
void |
setContentAsBlob(byte[] contentBlob)
Sets the content data as byte arrays.
|
void |
setContentAsString(java.lang.String contentString)
Sets the content data as string.
|
protected void |
setIntrinsicProperty(java.lang.String propName,
java.lang.Object value)
Sets the value of of a structure property represented as a member
variable.
|
void |
setVersion(java.lang.String version)
Sets the version of the designer state's data.
|
checkStringMember, copy, equals, getCompatibleValue, getContext, getDefn, getElement, getExpressionProperty, getHandle, getLocalProperty, getLocalProperty, getMemberDefn, getObjectDefn, getProperty, getProperty, getReferencableProperty, getStringProperty, isDesignTime, isReferencable, setContext, setExpressionProperty, setProperty, setProperty, setupContext, updateReference, validate
public static final java.lang.String STRUCTURE_NAME
public static final java.lang.String VERSION_MEMBER
public static final java.lang.String CONTENT_AS_STRING_MEMBER
public static final java.lang.String CONTENT_AS_BLOB_MEMBER
public static final java.lang.String CHARSET
public OdaDesignerState(java.lang.String version, java.lang.String contentAsString, java.lang.String contentAsBlob)
version
- contentAsString
- contentAsBlob
- public OdaDesignerState()
public java.lang.String getStructName()
IStructure
protected java.lang.Object getIntrinsicProperty(java.lang.String propName)
org.eclipse.birt.report.model.core.Structure
getIntrinsicProperty
in class org.eclipse.birt.report.model.core.Structure
propName
- name of the propertyprotected void setIntrinsicProperty(java.lang.String propName, java.lang.Object value)
org.eclipse.birt.report.model.core.Structure
setIntrinsicProperty
in class org.eclipse.birt.report.model.core.Structure
propName
- the name of the property to setvalue
- the property valuepublic java.lang.String getVersion()
public void setVersion(java.lang.String version)
version
- the version of the designer state's data.public byte[] getContentAsBlob()
public void setContentAsBlob(byte[] contentBlob)
contentBlob
- the content data as byte arrays.public java.lang.String getContentAsString()
public void setContentAsString(java.lang.String contentString)
contentString
- the content data as string.public StructureHandle getHandle(SimpleValueHandle valueHandle)
FormatValueHandle
to deal with the string format.getHandle
in class org.eclipse.birt.report.model.core.Structure
valueHandle
- the property or member handlepublic StructureHandle handle(SimpleValueHandle valueHandle, int index)
org.eclipse.birt.report.model.core.Structure
handle
in class org.eclipse.birt.report.model.core.Structure
valueHandle
- the value handle of this structure list property this
structure is inindex
- the position of this structure in structure listCopyright © 2008 Actuate Corp. All rights reserved.