Class NextRow
java.lang.Object
com.independentsoft.office.odf.fields.Field
com.independentsoft.office.odf.fields.NextRow
- All Implemented Interfaces:
IContentElement,IParagraphContent
Represents the database row following the one currently displayed in a current database row.
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionNextRow()Initializes a new instance of the NextRow class.NextRow(InternalXMLStreamReader reader)Instantiates a new next row. -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a new object that is a deep copy of the current instance.Gets the condition expression.Returns all content elements.getName()Gets the source database by its name.Returns the parent content element.Gets a table within a source database.Gets the reference made by a database table.getValue()Gets the next database row.voidsetCondition(String condition)Sets the condition expression.voidSets the source database by its name.voidsetParent(IContentElement parent)Sets the parent content element.voidsetTableName(String tableName)Sets a table within a source database.voidsetTableType(TableType tableType)Sets the reference made by a database table.voidSets the next database row.toString()Converts the value of the current NextRow object to its equivalent string representation.
-
Constructor Details
-
NextRow
public NextRow()Initializes a new instance of the NextRow class. -
NextRow
Instantiates a new next row.- Parameters:
reader- the reader- Throws:
XMLStreamException- the xML stream exception
-
-
Method Details
-
getContentElements
Returns all content elements.- Specified by:
getContentElementsin interfaceIContentElement- Specified by:
getContentElementsin classField- Returns:
- A collection of content elements.
-
getParent
Returns the parent content element.- Specified by:
getParentin interfaceIContentElement- Overrides:
getParentin classField- Returns:
- the parent
-
setParent
Sets the parent content element.- Specified by:
setParentin interfaceIContentElement- Overrides:
setParentin classField- Parameters:
parent- the new parent
-
clone
Creates a new object that is a deep copy of the current instance.- Specified by:
clonein interfaceIContentElement- Specified by:
clonein interfaceIParagraphContent- Specified by:
clonein classField- Returns:
- A new object that is a copy of this instance.
-
toString
Converts the value of the current NextRow object to its equivalent string representation. -
getName
Gets the source database by its name.- Returns:
- the name
-
setName
Sets the source database by its name.- Parameters:
name- the new name
-
getTableName
Gets a table within a source database.- Returns:
- the table name
-
setTableName
Sets a table within a source database.- Parameters:
tableName- the new table name
-
getTableType
Gets the reference made by a database table.- Returns:
- the table type
-
setTableType
Sets the reference made by a database table.- Parameters:
tableType- the new table type
-
getCondition
Gets the condition expression.- Returns:
- the condition
-
setCondition
Sets the condition expression.- Parameters:
condition- the new condition
-
getValue
Gets the next database row.- Returns:
- the value
-
setValue
Sets the next database row.- Parameters:
value- the new value
-