Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.flexstor.common.modules.registry
Class ViewerDataHelper  view ViewerDataHelper download ViewerDataHelper.java

java.lang.Object
  extended bycom.flexstor.common.modules.registry.ViewerDataHelper

public class ViewerDataHelper
extends java.lang.Object

This class encapsulates retrieval of data for one display from a node's hierarchy.


Field Summary
private  boolean bInitalized
           
private  com.flexstor.common.disguise.FieldDef[] fieldDefs
           
static java.lang.String IDENTIFIER
           
private  int nDisguise
           
private  int nItems
           
private  java.lang.String[] saLabels
           
private  java.lang.String sDisplay
           
 
Constructor Summary
ViewerDataHelper()
          Create an instance.
 
Method Summary
 java.lang.String[] getData(com.flexstor.common.modules.registry.element.ElementInstanceI node)
          Gets the data for the current display for the passed in node according to the flattened order.
 java.lang.String[] getData(com.flexstor.common.modules.registry.element.ElementInstanceI einst, boolean bWithLabels)
          Gets the data for the current display for the passed in node according to the flattened order.
 int getNumberOfFields()
           
 void setDisplay(java.lang.String sDisplay)
          Sets the display to another instance of DisplayUtils
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IDENTIFIER

public static final java.lang.String IDENTIFIER
See Also:
Constant Field Values

nDisguise

private int nDisguise

nItems

private int nItems

sDisplay

private java.lang.String sDisplay

bInitalized

private boolean bInitalized

saLabels

private java.lang.String[] saLabels

fieldDefs

private com.flexstor.common.disguise.FieldDef[] fieldDefs
Constructor Detail

ViewerDataHelper

public ViewerDataHelper()
Create an instance.

Method Detail

setDisplay

public void setDisplay(java.lang.String sDisplay)
Sets the display to another instance of DisplayUtils


getNumberOfFields

public int getNumberOfFields()

getData

public java.lang.String[] getData(com.flexstor.common.modules.registry.element.ElementInstanceI node)
Gets the data for the current display for the passed in node according to the flattened order.


getData

public java.lang.String[] getData(com.flexstor.common.modules.registry.element.ElementInstanceI einst,
                                  boolean bWithLabels)
Gets the data for the current display for the passed in node according to the flattened order. If bWithLabels is true, the returned array also contains the label for each field.