Class FieldDefinition
java.lang.Object
com.commercetools.graphql.api.types.FieldDefinition
Field definitions describe custom fields and allow you to define some meta-information associated with the field.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionFieldDefinition(String name, Boolean required, TextInputHint inputHint, String label, List<LocalizedString> labelAllLocales, FieldType type) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetLabel()getName()getType()inthashCode()static FieldDefinition.BuildervoidsetInputHint(TextInputHint inputHint) voidvoidsetLabelAllLocales(List<LocalizedString> labelAllLocales) voidvoidsetRequired(Boolean required) voidtoString()
-
Constructor Details
-
FieldDefinition
public FieldDefinition() -
FieldDefinition
public FieldDefinition(String name, Boolean required, TextInputHint inputHint, String label, List<LocalizedString> labelAllLocales, FieldType type)
-
-
Method Details
-
getName
-
setName
-
getRequired
-
setRequired
-
getInputHint
-
setInputHint
-
getLabel
-
setLabel
-
getLabelAllLocales
-
setLabelAllLocales
-
getType
-
setType
-
toString
-
equals
-
hashCode
public int hashCode() -
newBuilder
-