Class NumberFieldImpl
java.lang.Object
com.commercetools.importapi.models.customfields.NumberFieldImpl
- All Implemented Interfaces:
CustomField
,NumberField
,io.vrap.rmf.base.client.ModelBase
public class NumberFieldImpl
extends Object
implements NumberField, io.vrap.rmf.base.client.ModelBase
A field with a number 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.NumberField
NUMBER
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from interface com.commercetools.importapi.models.customfields.CustomField
withCustomField
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.importapi.models.customfields.NumberField
withNumberField
-
Constructor Details
-
NumberFieldImpl
public NumberFieldImpl()create empty instance
-
-
Method Details
-
getType
The type of this field.
- Specified by:
getType
in interfaceCustomField
- Returns:
- type
-
getValue
- Specified by:
getValue
in interfaceNumberField
- Returns:
- value
-
setValue
Description copied from interface:NumberField
set value- Specified by:
setValue
in interfaceNumberField
- Parameters:
value
- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-