com.businessobjects.rebean.wi
Interface Representation

All Known Subinterfaces:
CrossTable, Form, Graph, SimpleTable, Table, TableFormBase

public interface Representation

Warning: This interface is no longer functional from the SAP BusinessObjects 4.0 release onwards.

The Representation interface is a graphical representation of a block.

See Also:
ReportBlock.getRepresentation()

Method Summary
 ReportBlock getBlock()
          Returns the report block this Representation represents.
 BlockType getType()
          Returns the current block type.
 Representation setType(BlockType type)
          Changes the block type.
 

Method Detail

getType

BlockType getType()
Returns the current block type. This identifies whether a block is a table or a graph and what kind of table or graph.

Returns:
the current block type

setType

Representation setType(BlockType type)

Changes the block type. Depending on what sort of change this makes, some (or all) expressions from a BlockAxis might move to another.

After calling this method, the current Representation object is no longer valid; instead the returned one should be used. This is the same one as returned after a call to ReportBlock.getRepresentation() after calling this method.

Parameters:
type - the new type
Returns:
the new Representation object for the new type
Throws:
java.lang.NullPointerException - when type is null

getBlock

ReportBlock getBlock()
Returns the report block this Representation represents.

Returns:
the report block this Representation represents