Class CellTypeAssignmentValueObject

All Implemented Interfaces:
Serializable, Identifiable

public class CellTypeAssignmentValueObject extends AnalysisValueObject<CellTypeAssignment>
Author:
poirigui
See Also:
  • Constructor Details

    • CellTypeAssignmentValueObject

      public CellTypeAssignmentValueObject(CellTypeAssignment cellTypeAssignment, boolean excludeCellTypeIds)
  • Method Details

    • getCellTypes

      public Set<CharacteristicValueObject> getCellTypes()
      A set of cell types that are assigned to individual cells.
    • getCellTypeIds

      public List<Long> getCellTypeIds()
      A list of IDs, one-per-cell, that refers to one of the cell type labels in cellTypes.

      null is used to indicate an unknown cell type.

    • getNumberOfAssignedCells

      @Nullable public Integer getNumberOfAssignedCells()
      Indicate how many cells have an assigned cell type, or null if this information is not available.
    • isPreferred

      public boolean isPreferred()
      Indicate if this assignment is the preferred one.
    • setCellTypes

      public void setCellTypes(Set<CharacteristicValueObject> cellTypes)
      A set of cell types that are assigned to individual cells.
    • setCellTypeIds

      public void setCellTypeIds(List<Long> cellTypeIds)
      A list of IDs, one-per-cell, that refers to one of the cell type labels in cellTypes.

      null is used to indicate an unknown cell type.

    • setNumberOfAssignedCells

      public void setNumberOfAssignedCells(@Nullable Integer numberOfAssignedCells)
      Indicate how many cells have an assigned cell type, or null if this information is not available.
    • setPreferred

      public void setPreferred(boolean isPreferred)
      Indicate if this assignment is the preferred one.
    • toString

      public String toString()
      Overrides:
      toString in class IdentifiableValueObject<CellTypeAssignment>
    • equals

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

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

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