diff --git a/src/org/labkey/test/params/experiment/SampleTypeDefinition.java b/src/org/labkey/test/params/experiment/SampleTypeDefinition.java index 2eececdb96..076927f3b9 100644 --- a/src/org/labkey/test/params/experiment/SampleTypeDefinition.java +++ b/src/org/labkey/test/params/experiment/SampleTypeDefinition.java @@ -111,34 +111,61 @@ public SampleTypeDefinition setLinkedDatasetCategory(String value) return this; } - protected InventoryMetricUnit getInventoryMetricUnit() + /** + * Pretty much limited to Sample Types in the apps. + * @return an InventoryMetricUnit value + */ + public InventoryMetricUnit getInventoryMetricUnit() { return _inventoryMetricUnit; } + /** + * Pretty much limited to Sample Types in the apps. + * @param inventoryMetricUnit an InventoryMetricUnit value + * @return This SampleTypeDefinition object + */ public SampleTypeDefinition setInventoryMetricUnit(InventoryMetricUnit inventoryMetricUnit) { _inventoryMetricUnit = inventoryMetricUnit; return this; } - protected String getLabelColor() + /** + * Pretty much limited to Sample Types in the apps. + * @return The hex value of the label color. + */ + public String getLabelColor() { return _labelColor; } - protected SampleTypeDefinition setLabelColor(String color) + /** + * Pretty much limited to Sample Types in the apps. + * @param color Hex value of the label color. + * @return This SampleTypeDefinition object + */ + public SampleTypeDefinition setLabelColor(String color) { _labelColor = color; return this; } - protected String getAliquotNameExpression() + /** + * Pretty much limited to Sample Types in the apps. + * @return The name expression to use for aliquot creation. + */ + public String getAliquotNameExpression() { return _aliquotNameExpression; } - protected SampleTypeDefinition setAliquotNameExpression(String aliquotNameExpression) + /** + * Pretty much limited to Sample Types in the apps. + * @param aliquotNameExpression The name expression to use for aliquot creation. + * @return This SampleTypeDefinition object + */ + public SampleTypeDefinition setAliquotNameExpression(String aliquotNameExpression) { _aliquotNameExpression = aliquotNameExpression; return this;