org.eclipse.birt.report.model.api
Class OdaDesignerStateHandle

java.lang.Object
  extended by org.eclipse.birt.report.model.api.ElementDetailHandle
      extended by org.eclipse.birt.report.model.api.ValueHandle
          extended by org.eclipse.birt.report.model.api.StructureHandle
              extended by org.eclipse.birt.report.model.api.OdaDesignerStateHandle

public class OdaDesignerStateHandle
extends StructureHandle

The structure handle of the Oda designer state.


Field Summary
 
Fields inherited from class org.eclipse.birt.report.model.api.StructureHandle
structRef
 
Fields inherited from class org.eclipse.birt.report.model.api.ElementDetailHandle
elementHandle
 
Constructor Summary
OdaDesignerStateHandle(DesignElementHandle elementHandle, org.eclipse.birt.report.model.core.MemberRef memberRef)
          Constructs the handle of Oda Designer state.
 
Method Summary
 byte[] getContentAsBlob()
          Returns the content data as byte arrays.
 java.lang.String getContentAsString()
          Returns the content data as string.
 java.lang.String getVersion()
          Returns the version of the designer state's data.
 void setContentAsBlob(byte[] contentBlob)
          Sets the content data as byte arrays.
 void setContentAsString(java.lang.String contentString)
          Sets the content data as string.
 void setVersion(java.lang.String version)
          Sets the version of the designer state's data.
 
Methods inherited from class org.eclipse.birt.report.model.api.StructureHandle
drop, getDefn, getExternalizedValue, getMember, getProperty, getPropertyDefn, getReference, getStringProperty, getStructure, isDesignTime, iterator, setDesignTime, setProperty, setPropertySilently
 
Methods inherited from class org.eclipse.birt.report.model.api.ElementDetailHandle
getDesign, getElement, getElementHandle, getModule
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OdaDesignerStateHandle

public OdaDesignerStateHandle(DesignElementHandle elementHandle,
                              org.eclipse.birt.report.model.core.MemberRef memberRef)
Constructs the handle of Oda Designer state.

Parameters:
elementHandle - the oda data set element.
memberRef - reference to the structure.
Method Detail

getVersion

public java.lang.String getVersion()
Returns the version of the designer state's data.

Returns:
the version of the designer state's data.

setVersion

public void setVersion(java.lang.String version)
Sets the version of the designer state's data.

Parameters:
version - the version of the designer state's data.

getContentAsBlob

public byte[] getContentAsBlob()
Returns the content data as byte arrays.

Returns:
the content data as byte arrays.

setContentAsBlob

public void setContentAsBlob(byte[] contentBlob)
Sets the content data as byte arrays.

Parameters:
contentBlob - the content data as byte arrays.

getContentAsString

public java.lang.String getContentAsString()
Returns the content data as string.

Returns:
the content data as string.

setContentAsString

public void setContentAsString(java.lang.String contentString)
Sets the content data as string.

Parameters:
contentString - the content data as string.


Copyright © 2008 Actuate Corp. All rights reserved.