Package org.cytoscape.model.events
Class RowSetRecord
- java.lang.Object
-
- org.cytoscape.model.events.RowSetRecord
-
public final class RowSetRecord extends Object
Holds a record of aCyRow
that was set and what it was set to.Module:
model-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>model-api</artifactId> </dependency>
Cytoscape Backwards Compatibility (Final Class): This class is final and therefore can't be extended by users. This means that we may add methods for minor version updates. Methods will only be removed for major version updates.
-
-
Constructor Summary
Constructors Constructor Description RowSetRecord(CyRow row, String column, Object value, Object rawValue)
Constructs a RowSetRecord.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getColumn()
Returns the name of the column of the data that was set.String
getNameOnly()
Returns the name portion without the namespace.String
getNamespace()
Returns the namespace of the column, or null if the column does not have a namespace.Object
getRawValue()
Returns the raw value that the data was set as.CyRow
getRow()
Returns theCyRow
of the data that was set.Object
getValue()
Returns the value that the data was set as.
-
-
-
Constructor Detail
-
RowSetRecord
public RowSetRecord(CyRow row, String column, Object value, Object rawValue)
Constructs a RowSetRecord.- Parameters:
row
- TheCyRow
of the data that was set.column
- The name of the column of the data that was set.value
- The value the data was set as.rawValue
- The raw value the data was set as.
-
-
Method Detail
-
getRow
public CyRow getRow()
Returns theCyRow
of the data that was set.- Returns:
- the
CyRow
of the data that was set.
-
getColumn
public String getColumn()
Returns the name of the column of the data that was set.- Returns:
- the name of the column of the data that was set.
-
getNamespace
public String getNamespace()
Returns the namespace of the column, or null if the column does not have a namespace. Default columns created by Cytoscape do not have a namespace.
-
getNameOnly
public String getNameOnly()
Returns the name portion without the namespace.
-
getValue
public Object getValue()
Returns the value that the data was set as.- Returns:
- the value that the data was set as.
-
getRawValue
public Object getRawValue()
Returns the raw value that the data was set as.- Returns:
- the raw value that the data was set as.
-
-