blob: 3139cbe1e4b686ee2cd016389806fac1c3bf3057 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2009, 2019 Xored Software Inc and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-v20.html
*
* Contributors:
* Xored Software Inc - initial API and implementation and/or initial documentation
*******************************************************************************/
package org.eclipse.rcptt.ecl.data.commands;
import org.eclipse.emf.common.util.EList;
import org.eclipse.rcptt.ecl.core.Command;
import org.eclipse.rcptt.ecl.data.objects.Table;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Select Columns</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.rcptt.ecl.data.commands.SelectColumns#getTable <em>Table</em>}</li>
* <li>{@link org.eclipse.rcptt.ecl.data.commands.SelectColumns#getColumns <em>Columns</em>}</li>
* </ul>
*
* @see org.eclipse.rcptt.ecl.data.commands.CommandsPackage#getSelectColumns()
* @model annotation="http://www.eclipse.org/ecl/docs description='Takes a table from input and returns the table containing only columns passed into <code>columns</code> argument.' returns='Copy of input table object with only columns with names listed in <code>columns</code>' example='get-view \"Error Log\" | get-tree | get-table-data | select-columns \"Message\" | write-csv-file \"workspace:/MyProject/AssertData/table.csv\" '"
* @generated
*/
public interface SelectColumns extends Command {
/**
* Returns the value of the '<em><b>Table</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Table</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Table</em>' reference.
* @see #setTable(Table)
* @see org.eclipse.rcptt.ecl.data.commands.CommandsPackage#getSelectColumns_Table()
* @model annotation="http://www.eclipse.org/ecl/docs description='Table to take columns from'"
* @generated
*/
Table getTable();
/**
* Sets the value of the '{@link org.eclipse.rcptt.ecl.data.commands.SelectColumns#getTable <em>Table</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Table</em>' reference.
* @see #getTable()
* @generated
*/
void setTable(Table value);
/**
* Returns the value of the '<em><b>Columns</b></em>' attribute list.
* The list contents are of type {@link java.lang.String}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Columns</em>' attribute list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Columns</em>' attribute list.
* @see org.eclipse.rcptt.ecl.data.commands.CommandsPackage#getSelectColumns_Columns()
* @model annotation="http://www.eclipse.org/ecl/docs description='Column names to take from table. If given column name is not present in input table, command fails'"
* @generated
*/
EList<String> getColumns();
} // SelectColumns