Class FactorValueValueObject

All Implemented Interfaces:
Serializable, Identifiable

@Deprecated public class FactorValueValueObject extends AbstractFactorValueValueObject
Deprecated.
aim towards using the FactorValueBasicValueObject. This one is confusing. Once usage of this type has been completely phased out, revise the BioMaterialValueObject and relevant DAOs and Services.
Each FactorValue can be associated with multiple characteristics (or with a measurement). However, for flattening out the objects for client display, there is only one characteristic associated here.

Note: this used to be called FactorValueObject and now replaces the old FactorValueValueObject. Confusing!

Author:
Paul
See Also:
  • Constructor Details

    • FactorValueValueObject

      public FactorValueValueObject()
      Deprecated.
      Required when using the class as a spring bean.
    • FactorValueValueObject

      public FactorValueValueObject(Long id)
      Deprecated.
    • FactorValueValueObject

      public FactorValueValueObject(FactorValue value)
      Deprecated.
    • FactorValueValueObject

      public FactorValueValueObject(FactorValue value, boolean includeExperimentalFactor)
      Deprecated.
      Create a FactorValue VO.
      Parameters:
      includeExperimentalFactor - whether to include the experimental factor in the serialization, this might be unnecessary if the FV is rendered in the context of its factor
    • FactorValueValueObject

      public FactorValueValueObject(FactorValue fv, Statement c)
      Deprecated.
      Create a FactorValue VO focusing on a specific statement.
      Parameters:
      fv - a factor value
      c - specific statement we're focusing on (yes, this is confusing). This is necessary if the factor value has multiple characteristics. DO NOT pass in the experimental factor category, this just confuses things. If c is null, the plain "value" is used.
  • Method Details

    • getDescription

      @Deprecated public String getDescription()
      Deprecated.
    • getFactorValue

      @Deprecated public String getFactorValue()
      Deprecated.
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class IdentifiableValueObject<FactorValue>
    • getFactorId

      public Long getFactorId()
      Deprecated.
      ID of the experimental factor this FV belongs to.
    • getCategory

      public String getCategory()
      Deprecated.
    • getCategoryUri

      public String getCategoryUri()
      Deprecated.
    • getCharId

      public Long getCharId()
      Deprecated.
      It could be the id of the measurement if there is no characteristic.
    • getValue

      public String getValue()
      Deprecated.
    • getValueUri

      public String getValueUri()
      Deprecated.
    • getPredicate

      public String getPredicate()
      Deprecated.
    • getPredicateUri

      public String getPredicateUri()
      Deprecated.
    • getObject

      public String getObject()
      Deprecated.
    • getObjectUri

      public String getObjectUri()
      Deprecated.
    • getSecondPredicate

      public String getSecondPredicate()
      Deprecated.
    • getSecondPredicateUri

      public String getSecondPredicateUri()
      Deprecated.
    • getSecondObject

      public String getSecondObject()
      Deprecated.
    • getSecondObjectUri

      public String getSecondObjectUri()
      Deprecated.
    • getNeedsAttention

      public Boolean getNeedsAttention()
      Deprecated.
    • setFactorId

      public void setFactorId(Long factorId)
      Deprecated.
      ID of the experimental factor this FV belongs to.
    • setCategory

      public void setCategory(String category)
      Deprecated.
    • setCategoryUri

      public void setCategoryUri(String categoryUri)
      Deprecated.
    • setCharId

      public void setCharId(Long charId)
      Deprecated.
      It could be the id of the measurement if there is no characteristic.
    • setValue

      public void setValue(String value)
      Deprecated.
    • setValueUri

      public void setValueUri(String valueUri)
      Deprecated.
    • setPredicate

      public void setPredicate(String predicate)
      Deprecated.
    • setPredicateUri

      public void setPredicateUri(String predicateUri)
      Deprecated.
    • setObject

      public void setObject(String object)
      Deprecated.
    • setObjectUri

      public void setObjectUri(String objectUri)
      Deprecated.
    • setSecondPredicate

      public void setSecondPredicate(String secondPredicate)
      Deprecated.
    • setSecondPredicateUri

      public void setSecondPredicateUri(String secondPredicateUri)
      Deprecated.
    • setSecondObject

      public void setSecondObject(String secondObject)
      Deprecated.
    • setSecondObjectUri

      public void setSecondObjectUri(String secondObjectUri)
      Deprecated.
    • setNeedsAttention

      public void setNeedsAttention(Boolean needsAttention)
      Deprecated.
    • equals

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class AbstractFactorValueValueObject
    • canEqual

      protected boolean canEqual(Object other)
      Deprecated.
      Overrides:
      canEqual in class AbstractFactorValueValueObject
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class AbstractFactorValueValueObject