rowdataintrospector.java

来自「esri的ArcGIS Server超级学习模板程序(for java)」· Java 代码 · 共 38 行

JAVA
38
字号
package com.esri.solutions.jitk.web.data.results;

public interface RowDataIntrospector {
    
    /**
     * Return the column names for the specified row data.
     * 
     * @param rowData the row data to introspect
     * 
     * @return the column names for the specified row data object
     * 
     * @throws ClassCastException if the row data is not of the correct type
     */
    public String[] getColumnNames(Object rowData);
    
    /**
     * Return the column values for the specified row data and specified columns.
     * 
     * @param rowData the row data to introspect
     * @param columnsNames the columns for which to return values
     * 
     * @return the column values for the specified row data
     * 
     * @throws ClassCastException if the row data is not of the correct type
     */
    public Object[] getValues(Object rowData, String[] columnNames);

    
    /**
     * Return the names of the available actions for the specified row data.
     *  
     * @param rowData the row data to introspect
     * 
     * @return the available action names
     */
    public String[] getActions(Object rowData);
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?