Package com.sodius.mdw.metamodel.excel
Interface Row
-
- All Superinterfaces:
Comparable<Object>
,org.eclipse.emf.ecore.EModelElement
,org.eclipse.emf.ecore.EObject
,MDWEObject
,MDWObject
,org.eclipse.emf.common.notify.Notifier
public interface Row extends MDWEObject, org.eclipse.emf.ecore.EModelElement
A representation of the model object 'Row'.The following features are supported:
- See Also:
ExcelPackage.getRow()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Cell[]
addBlankCells(int number)
Adds new empty cells at the right of the last known cell for this row.Cell
addCell(String value)
Adds a new cell with the specified value at the right of the last known cell for this row.Cell[]
addCells(String[] values)
Adds new cells with the specified values at the right of the last known cell for this row.MDWEList<Cell>
getCells()
Returns the value of the 'Cells' containment reference list.float
getHeight()
Returns the value of the 'Height' attribute.int
getRowIndex()
Returns the value of the 'Row Index' attribute.Sheet
getSheet()
Returns the value of the 'Sheet' container reference.void
setHeight(float value)
Sets the value of the 'Height
' attribute.void
setSheet(Sheet value)
Sets the value of the 'Sheet
' container reference.-
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface com.sodius.mdw.core.model.MDWObject
compareTo, eExtendedClass, eIsInstanceOf, eIsInstanceOf, eIsProfiled, eIsRemoved, eMetamodel, eMetaTypeName, eModel, eRemove, eSetUniqueID, eUniqueID, superScript, superScript, toBoolean, toBoolean, toByte, toByte, toChar, toChar, toDouble, toDouble, toFloat, toFloat, toInt, toInt, toList, toList, toList, toList, toList, toLong, toLong, toObject, toObject, toSet, toSet, toShort, toShort, toString, toString
-
-
-
-
Method Detail
-
getRowIndex
int getRowIndex()
Returns the value of the 'Row Index' attribute. The default value is"-1"
.- Returns:
- the value of the 'Row Index' attribute.
- See Also:
ExcelPackage.getRow_RowIndex()
-
getCells
MDWEList<Cell> getCells()
Returns the value of the 'Cells' containment reference list. The list contents are of typeCell
. It is bidirectional and its opposite is 'Row
'.- Returns:
- the value of the 'Cells' containment reference list.
- See Also:
ExcelPackage.getRow_Cells()
,Cell.getRow()
-
getSheet
Sheet getSheet()
Returns the value of the 'Sheet' container reference. It is bidirectional and its opposite is 'Rows
'.- Returns:
- the value of the 'Sheet' container reference.
- See Also:
setSheet(Sheet)
,ExcelPackage.getRow_Sheet()
,Sheet.getRows()
-
setSheet
void setSheet(Sheet value)
Sets the value of the 'Sheet
' container reference.- Parameters:
value
- the new value of the 'Sheet' container reference.- See Also:
getSheet()
-
getHeight
float getHeight()
Returns the value of the 'Height' attribute.- Returns:
- the value of the 'Height' attribute.
- See Also:
setHeight(float)
,ExcelPackage.getRow_Height()
-
setHeight
void setHeight(float value)
Sets the value of the 'Height
' attribute.- Parameters:
value
- the new value of the 'Height' attribute.- See Also:
getHeight()
-
addCell
Cell addCell(String value)
Adds a new cell with the specified value at the right of the last known cell for this row.- Parameters:
value
- the value of the new cell.- Returns:
- the created cell.
-
addCells
Cell[] addCells(String[] values)
Adds new cells with the specified values at the right of the last known cell for this row.- Parameters:
values
- the values of each cell to create.- Returns:
- the created cells.
-
addBlankCells
Cell[] addBlankCells(int number)
Adds new empty cells at the right of the last known cell for this row.- Parameters:
number
- the number of empty cells to create.- Returns:
- the created cells.
-
-