Package com.seeq.link.sdk.utilities
Class ParsedCapsule.CapsulePropertyMetadata
java.lang.Object
com.seeq.link.sdk.utilities.ParsedCapsule.CapsulePropertyMetadata
- Enclosing class:
- ParsedCapsule
-
Constructor Summary
ConstructorsConstructorDescriptionCapsulePropertyMetadata
(List<ConditionConnectionMessages.ConditionRequestMessage.CapsulePropertyInfo> infos) -
Method Summary
Modifier and TypeMethodDescriptionGet the units for a given property.boolean
hasProperty
(String name) Check for a well-defined property.boolean
isEmpty()
-
Constructor Details
-
CapsulePropertyMetadata
public CapsulePropertyMetadata(List<ConditionConnectionMessages.ConditionRequestMessage.CapsulePropertyInfo> infos)
-
-
Method Details
-
getUom
Get the units for a given property.- Parameters:
name
- case-insensitive property name to lookup.- Returns:
- The defined units or if the property is not found,it will report [ScalarUnits.STRING]
-
getProperlyCasedPropertyName
-
hasProperty
Check for a well-defined property. -
isEmpty
public boolean isEmpty()
-