Package io.github.webbasedwodt.common
Class ThingModelElement
java.lang.Object
io.github.webbasedwodt.common.ThingModelElement
Class representing a Thing Model field.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ThingModelElement
Default constructor.- Parameters:
field
- the thing model fieldfeature
- the thing feature, if presentdomainTag
- the domain tag, if present
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
toString
-
getField
Get the field name.- Returns:
- the field name
-
getFeature
Get the feature, if present.- Returns:
- an optional for the feature
-
getDomainTag
Get the domain tag, if present.- Returns:
- an optional for the domain tag
-