站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 4.0.0.11754MR2 API 英文版文档

TableDataRow (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


org.drools.brms.client.rpc
Class TableDataRow

java.lang.Object
  extended by org.drools.brms.client.rpc.TableDataRow
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable

public class TableDataRow
extends Object
implements com.google.gwt.user.client.rpc.IsSerializable

This is a row of data from a table.

Author:
michael neale

Field Summary
 String format
          The type of resource (eg DRL rule, business rule etc).
 String id
          The unique ID for the resource.
 String[] values
          The actual values to display We will assume that the first one is the display name when opening.
 
Constructor Summary
TableDataRow()
           
 
Method Summary
 String getDisplayName()
           
static String getFormat(String key)
          Gets the format from the keyvalue
static String getId(String key)
          Gets the ID from the key value.
 String getKeyValue()
          Returns a key that can be used to drive an "open" event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

public String id
The unique ID for the resource. Most likely a UUID


format

public String format
The type of resource (eg DRL rule, business rule etc). This will determine what sort of editor opens it.


values

public String[] values
The actual values to display We will assume that the first one is the display name when opening.

Constructor Detail

TableDataRow

public TableDataRow()
Method Detail

getDisplayName

public String getDisplayName()

getKeyValue

public String getKeyValue()
Returns a key that can be used to drive an "open" event. Use getId and getType to break it apart.


getId

public static String getId(String key)
Gets the ID from the key value.


getFormat

public static String getFormat(String key)
Gets the format from the keyvalue



Copyright © 2001-2007 JBoss Inc.. All Rights Reserved.