Interface TimeSetAttribute
- All Superinterfaces:
Attribute
This type represents an attribute whose value is a set of times.
Example to create an instance using the builder pattern
TimeSetAttribute timeSetAttribute = TimeSetAttribute.builder()
.plusValue(valueBuilder -> valueBuilder)
.build()
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic TimeSetAttributeBuilderbuilder()builder factory method for TimeSetAttributestatic TimeSetAttributeBuilderbuilder(TimeSetAttribute template) create builder for TimeSetAttribute instancecopyDeep()static TimeSetAttributedeepCopy(TimeSetAttribute template) factory method to create a deep copy of TimeSetAttributegetValue()A set of time values in the formatHH:mm:ss.SSS.static TimeSetAttributeof()factory methodstatic TimeSetAttributeof(TimeSetAttribute template) factory method to create a shallow copy TimeSetAttributevoidA set of time values in the formatHH:mm:ss.SSS.voidA set of time values in the formatHH:mm:ss.SSS.static com.fasterxml.jackson.core.type.TypeReference<TimeSetAttribute>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithTimeSetAttribute(Function<TimeSetAttribute, T> helper) accessor map functionMethods inherited from interface com.commercetools.importapi.models.productvariants.Attribute
getName, getType, setName, withAttribute
-
Field Details
-
TIME_SET
discriminator value for TimeSetAttribute- See Also:
-
-
Method Details
-
getValue
A set of time values in the format
HH:mm:ss.SSS. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format±HH:mmorZfor UTC.- Returns:
- value
-
setValue
A set of time values in the format
HH:mm:ss.SSS. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format±HH:mmorZfor UTC.- Parameters:
value- values to be set
-
setValue
A set of time values in the format
HH:mm:ss.SSS. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format±HH:mmorZfor UTC.- Parameters:
value- values to be set
-
of
factory method- Returns:
- instance of TimeSetAttribute
-
of
factory method to create a shallow copy TimeSetAttribute- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
TimeSetAttribute copyDeep() -
deepCopy
factory method to create a deep copy of TimeSetAttribute- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for TimeSetAttribute- Returns:
- builder
-
builder
create builder for TimeSetAttribute instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withTimeSetAttribute
accessor map function- Type Parameters:
T- mapped type- Parameters:
helper- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-