Class DateTimeFieldImpl
java.lang.Object
com.commercetools.importapi.models.customfields.DateTimeFieldImpl
- All Implemented Interfaces:
CustomField
,DateTimeField
,io.vrap.rmf.base.client.ModelBase
public class DateTimeFieldImpl
extends Object
implements DateTimeField, io.vrap.rmf.base.client.ModelBase
A field with a date time value.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Field Summary
Fields inherited from interface com.commercetools.importapi.models.customfields.DateTimeField
DATE_TIME
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getType()
The type of this field.getValue()
int
hashCode()
void
setValue
(ZonedDateTime value) set valueMethods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.importapi.models.customfields.CustomField
withCustomField
Methods inherited from interface com.commercetools.importapi.models.customfields.DateTimeField
withDateTimeField
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
DateTimeFieldImpl
public DateTimeFieldImpl()create empty instance
-
-
Method Details
-
getType
The type of this field.
- Specified by:
getType
in interfaceCustomField
- Returns:
- type
-
getValue
- Specified by:
getValue
in interfaceDateTimeField
- Returns:
- value
-
setValue
Description copied from interface:DateTimeField
set value- Specified by:
setValue
in interfaceDateTimeField
- Parameters:
value
- value to be set
-
equals
-
hashCode
-