public static class TLfnCustomProperty.Builder extends Object
TLfnCustomProperty
objects.Modifier and Type | Method and Description |
---|---|
TLfnCustomProperty.Builder |
booleanValue(Boolean aValue)
Sets the value of the property to the given
Boolean value. |
TLfnCustomProperty |
build()
Builds the
TLfnCustomProperty instance. |
TLfnCustomProperty.Builder |
dateValue(ZonedDateTime aValue)
Sets the value of the property to the given
ZonedDateTime value. |
TLfnCustomProperty.Builder |
doubleValue(Double aValue)
Sets the value of the property to the given
Double value. |
TLfnCustomProperty.Builder |
longValue(Long aValue)
Sets the value of the property to the given
Long value. |
TLfnCustomProperty.Builder |
name(String aName)
Sets the name of the property
|
TLfnCustomProperty.Builder |
stringValue(String aValue)
Sets the value of the property to the given
String value. |
TLfnCustomProperty.Builder |
value(ELfnCustomPropertyType aType,
Object aValue)
Sets the type and value of the property.
|
public TLfnCustomProperty.Builder name(String aName)
aName
- the property namepublic TLfnCustomProperty.Builder value(ELfnCustomPropertyType aType, Object aValue)
Class
corresponding to
the specified property type. See TLfnCustomProperty.getValue()
for more details.aType
- the property typeaValue
- the valueIllegalArgumentException
- If the value is not valid for the given property type.public TLfnCustomProperty.Builder longValue(Long aValue)
Long
value. The type of the property will be
ELfnCustomPropertyType.LONG
.aValue
- the Long
valuepublic TLfnCustomProperty.Builder doubleValue(Double aValue)
Double
value. The type of the property will be
ELfnCustomPropertyType.DOUBLE
.aValue
- the Double
valuepublic TLfnCustomProperty.Builder stringValue(String aValue)
String
value. The type of the property will be
ELfnCustomPropertyType.STRING
.aValue
- the String
valuepublic TLfnCustomProperty.Builder booleanValue(Boolean aValue)
Boolean
value. The type of the property will be
ELfnCustomPropertyType.BOOLEAN
.aValue
- the Boolean
valuepublic TLfnCustomProperty.Builder dateValue(ZonedDateTime aValue)
ZonedDateTime
value. The type of the property will be
ELfnCustomPropertyType.DATE
.aValue
- the ZonedDateTime
valuepublic TLfnCustomProperty build()
TLfnCustomProperty
instance.TLfnCustomProperty
instance