Package com.seeq.model
Class ScalarPropertyV1
java.lang.Object
com.seeq.model.ScalarPropertyV1
A list of the capsule's properties
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getName()
Human readable name of the property.The unit of measure to apply to this property's value.getValue()
The value to assign to this property.int
hashCode()
void
void
setUnitOfMeasure
(String unitOfMeasure) void
toString()
unitOfMeasure
(String unitOfMeasure)
-
Constructor Details
-
ScalarPropertyV1
public ScalarPropertyV1()
-
-
Method Details
-
name
-
getName
Human readable name of the property. Null or whitespace names are not permitted- Returns:
- name
-
setName
-
unitOfMeasure
-
getUnitOfMeasure
The unit of measure to apply to this property's value. If no unit of measure is set and the value is numeric, it is assumed to be unitless- Returns:
- unitOfMeasure
-
setUnitOfMeasure
-
value
-
getValue
The value to assign to this property. If the value is surrounded by quotes, it is interpreted as a string and no units are set- Returns:
- value
-
setValue
-
equals
-
hashCode
public int hashCode() -
toString
-