Class RowSetRecord


  • public final class RowSetRecord
    extends Object
    Holds a record of a CyRow 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 Detail

      • RowSetRecord

        public RowSetRecord​(CyRow row,
                            String column,
                            Object value,
                            Object rawValue)
        Constructs a RowSetRecord.
        Parameters:
        row - The CyRow 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 the CyRow 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.