Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 32 additions & 5 deletions src/org/labkey/test/params/experiment/SampleTypeDefinition.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down