Class PAD

java.lang.Object
com.javiergs.cortex4j.data.Signal
com.javiergs.cortex4j.data.PAD

public class PAD extends Signal
A wrapper for Pleasure, Arousal, and Dominance values.
Version:
2025-04-16
Author:
javiergs
  • Constructor Details

    • PAD

      public PAD(Affect affect)
  • Method Details

    • getValueFor

      public String getValueFor(String attribute)
      Specified by:
      getValueFor in class Signal
    • getP

      public BigDecimal getP()
    • getA

      public BigDecimal getA()
    • getD

      public BigDecimal getD()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getCommaSeparatedValues

      public String getCommaSeparatedValues()
      Specified by:
      getCommaSeparatedValues in class Signal
    • getCommaSeparatedHeaders

      public static String getCommaSeparatedHeaders()
      Returns a comma-separated string of the headers. This method is called via reflection in the Blackboard class.
      Returns:
      a comma-separated string of the headers
    • toJson

      public org.json.JSONObject toJson()
      Specified by:
      toJson in class Signal