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:
    Serialized Form
    • Constructor Detail

      • 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.