Class TLfnCustomProperty.Builder
java.lang.Object
com.luciad.fusion.platform.model.properties.TLfnCustomProperty.Builder
- Enclosing class:
TLfnCustomProperty
Builder class for
TLfnCustomProperty
objects.- Since:
- 2022.1
-
Method Summary
Modifier and TypeMethodDescriptionbooleanValue
(Boolean aValue) Sets the value of the property to the givenBoolean
value.build()
Builds theTLfnCustomProperty
instance.dateValue
(ZonedDateTime aValue) Sets the value of the property to the givenZonedDateTime
value.doubleValue
(Double aValue) Sets the value of the property to the givenDouble
value.Sets the value of the property to the givenLong
value.Sets the name of the propertystringValue
(String aValue) Sets the value of the property to the givenString
value.value
(ELfnCustomPropertyType aType, Object aValue) Sets the type and value of the property.
-
Method Details
-
name
Sets the name of the property- Parameters:
aName
- the property name- Returns:
- this builder
-
value
Sets the type and value of the property. The given value must be an instance of theClass
corresponding to the specified property type. SeeTLfnCustomProperty.getValue()
for more details.- Parameters:
aType
- the property typeaValue
- the value- Returns:
- this builder
- Throws:
IllegalArgumentException
- If the value is not valid for the given property type.- Since:
- 2023.1
-
longValue
Sets the value of the property to the givenLong
value. The type of the property will beELfnCustomPropertyType.LONG
.- Parameters:
aValue
- theLong
value- Returns:
- this builder
-
doubleValue
Sets the value of the property to the givenDouble
value. The type of the property will beELfnCustomPropertyType.DOUBLE
.- Parameters:
aValue
- theDouble
value- Returns:
- this builder
-
stringValue
Sets the value of the property to the givenString
value. The type of the property will beELfnCustomPropertyType.STRING
.- Parameters:
aValue
- theString
value- Returns:
- this builder
-
booleanValue
Sets the value of the property to the givenBoolean
value. The type of the property will beELfnCustomPropertyType.BOOLEAN
.- Parameters:
aValue
- theBoolean
value- Returns:
- this builder
-
dateValue
Sets the value of the property to the givenZonedDateTime
value. The type of the property will beELfnCustomPropertyType.DATE
.- Parameters:
aValue
- theZonedDateTime
value- Returns:
- this builder
-
build
Builds theTLfnCustomProperty
instance.- Returns:
- the
TLfnCustomProperty
instance
-