Class AbstractFactorValueValueObject

java.lang.Object
ubic.gemma.model.common.IdentifiableValueObject<FactorValue>
ubic.gemma.model.expression.experiment.AbstractFactorValueValueObject
All Implemented Interfaces:
Serializable, Identifiable
Direct Known Subclasses:
FactorValueBasicValueObject, FactorValueValueObject

public abstract class AbstractFactorValueValueObject extends IdentifiableValueObject<FactorValue>
The bare minimum to represent a factor value.

This class solely exist to get consistent behavior between the deprecated FactorValueValueObject and its replacement FactorValueBasicValueObject.

Author:
poirigui
See Also:
  • Constructor Details

    • AbstractFactorValueValueObject

      protected AbstractFactorValueValueObject()
    • AbstractFactorValueValueObject

      protected AbstractFactorValueValueObject(Long id)
    • AbstractFactorValueValueObject

      protected AbstractFactorValueValueObject(FactorValue fv, boolean includeExperimentalFactor)
  • Method Details

    • isMeasurement

      public boolean isMeasurement()
      Indicate if this FactorValue is a measurement.
    • getOntologyId

      public String getOntologyId()
      A unique ontology identifier (i.e. IRI) for this factor value.
    • getExperimentalFactorId

      public Long getExperimentalFactorId()
      The ID of the experimental factor this factor value belongs to.
    • getExperimentalFactorType

      public String getExperimentalFactorType()
      The experimental factor type.
    • getExperimentalFactorCategory

      public CharacteristicValueObject getExperimentalFactorCategory()
      The experiment factor category.
    • getMeasurementObject

      public MeasurementValueObject getMeasurementObject()
      The measurement associated with this factor value.

      This is named as such to avoid conflict with isMeasurement().

    • getCharacteristics

      public List<CharacteristicValueObject> getCharacteristics()
      The characteristics associated with this factor value.
    • getStatements

      public List<StatementValueObject> getStatements()
      The statements associated with this factor value.
    • getSummary

      public String getSummary()
      Human-readable summary of the factor value.
    • setOntologyId

      public void setOntologyId(String ontologyId)
      A unique ontology identifier (i.e. IRI) for this factor value.
    • setExperimentalFactorId

      public void setExperimentalFactorId(Long experimentalFactorId)
      The ID of the experimental factor this factor value belongs to.
    • setExperimentalFactorType

      public void setExperimentalFactorType(String experimentalFactorType)
      The experimental factor type.
    • setExperimentalFactorCategory

      public void setExperimentalFactorCategory(CharacteristicValueObject experimentalFactorCategory)
      The experiment factor category.
    • setMeasurementObject

      public void setMeasurementObject(MeasurementValueObject measurementObject)
      The measurement associated with this factor value.

      This is named as such to avoid conflict with isMeasurement().

    • setCharacteristics

      public void setCharacteristics(List<CharacteristicValueObject> characteristics)
      The characteristics associated with this factor value.
    • setStatements

      public void setStatements(List<StatementValueObject> statements)
      The statements associated with this factor value.
    • setSummary

      public void setSummary(String summary)
      Human-readable summary of the factor value.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class IdentifiableValueObject<FactorValue>
    • canEqual

      protected boolean canEqual(Object other)
      Overrides:
      canEqual in class IdentifiableValueObject<FactorValue>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class IdentifiableValueObject<FactorValue>