com.sibvisions.rad.ui.gwt.shared.event
Class MetaDataResult

java.lang.Object
  extended by com.sibvisions.rad.ui.gwt.shared.event.ServiceResult
      extended by com.sibvisions.rad.ui.gwt.shared.event.TableResult
          extended by com.sibvisions.rad.ui.gwt.shared.event.MetaDataResult
All Implemented Interfaces:
Serializable

public class MetaDataResult
extends TableResult

The MetaDataResult is the ServiceResult of a meta data request.

See Also:
Serialized Form

Constructor Summary
MetaDataResult()
          Creates a new instance of MetaDataResult.
MetaDataResult(String pClientId, List<ColumnMetaData> pMetaData)
          Creates a new instance of MetaDataResult for a specific client.
 
Method Summary
 String getClientId()
          Gets the id of the client.
 List<ColumnMetaData> getMetaData()
          Gets the meta data.
 String getParameter(String pName)
          Gets the value for a user defined parameter.
 String setParameter(String pName, String pValue)
          Sets a user defined event parameter.
 
Methods inherited from class com.sibvisions.rad.ui.gwt.shared.event.TableResult
getSelectedRow, setSelectedRow
 
Methods inherited from class com.sibvisions.rad.ui.gwt.shared.event.ServiceResult
getUI, setUI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetaDataResult

public MetaDataResult()
Creates a new instance of MetaDataResult. Only for serialization.


MetaDataResult

public MetaDataResult(String pClientId,
                      List<ColumnMetaData> pMetaData)
Creates a new instance of MetaDataResult for a specific client.

Parameters:
pClientId - the id of the client
pMetaData - the meta data
Method Detail

getMetaData

public List<ColumnMetaData> getMetaData()
Gets the meta data.

Returns:
the meta data

getClientId

public String getClientId()
Gets the id of the client.

Returns:
the id

setParameter

public String setParameter(String pName,
                           String pValue)
Sets a user defined event parameter.

Parameters:
pName - the parameter name
pValue - the value or null to remove the property with the specified name
Returns:
the previous value or null if the property was not set

getParameter

public String getParameter(String pName)
Gets the value for a user defined parameter.

Parameters:
pName - the parameter name
Returns:
the value of the parameter or null if the parameter was not set


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.