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 aCyRowthat was set and what it was set to.Module:
model-apiTo 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 StringgetColumn()Returns the name of the column of the data that was set.StringgetNameOnly()Returns the name portion without the namespace.StringgetNamespace()Returns the namespace of the column, or null if the column does not have a namespace.ObjectgetRawValue()Returns the raw value that the data was set as.CyRowgetRow()Returns theCyRowof the data that was set.ObjectgetValue()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- TheCyRowof 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 theCyRowof the data that was set.- Returns:
- the
CyRowof 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.
-
-