Class FieldType
- java.lang.Object
-
- com.fifa.connectid.sdk.core.api.models.FieldType
-
public class FieldType extends Object
The FieldType model.
-
-
Constructor Summary
Constructors Constructor Description FieldType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcapacity()Get the capacity value.Stringdiscipline()Get possible values include: 'Football', 'Futsal', 'BeachSoccer'.StringgroundNature()Get possible values include: 'grass', 'turf2star', 'turf1star', 'turf', 'hard pitch', 'unknown'.Doublelatitude()Get the latitude value.Doublelength()Get the length value.Doublelongitude()Get the longitude value.intorderNumber()Get the orderNumber value.Doublewidth()Get the width value.FieldTypewithCapacity(int capacity)Set the capacity value.FieldTypewithDiscipline(String discipline)Set possible values include: 'Football', 'Futsal', 'BeachSoccer'.FieldTypewithGroundNature(String groundNature)Set possible values include: 'grass', 'turf2star', 'turf1star', 'turf', 'hard pitch', 'unknown'.FieldTypewithLatitude(Double latitude)Set the latitude value.FieldTypewithLength(Double length)Set the length value.FieldTypewithLongitude(Double longitude)Set the longitude value.FieldTypewithOrderNumber(int orderNumber)Set the orderNumber value.FieldTypewithWidth(Double width)Set the width value.
-
-
-
Method Detail
-
orderNumber
public int orderNumber()
Get the orderNumber value.- Returns:
- the orderNumber value
-
withOrderNumber
public FieldType withOrderNumber(int orderNumber)
Set the orderNumber value.- Parameters:
orderNumber- the orderNumber value to set- Returns:
- the FieldType object itself.
-
discipline
public String discipline()
Get possible values include: 'Football', 'Futsal', 'BeachSoccer'.- Returns:
- the discipline value
-
withDiscipline
public FieldType withDiscipline(String discipline)
Set possible values include: 'Football', 'Futsal', 'BeachSoccer'.- Parameters:
discipline- the discipline value to set- Returns:
- the FieldType object itself.
-
capacity
public int capacity()
Get the capacity value.- Returns:
- the capacity value
-
withCapacity
public FieldType withCapacity(int capacity)
Set the capacity value.- Parameters:
capacity- the capacity value to set- Returns:
- the FieldType object itself.
-
groundNature
public String groundNature()
Get possible values include: 'grass', 'turf2star', 'turf1star', 'turf', 'hard pitch', 'unknown'.- Returns:
- the groundNature value
-
withGroundNature
public FieldType withGroundNature(String groundNature)
Set possible values include: 'grass', 'turf2star', 'turf1star', 'turf', 'hard pitch', 'unknown'.- Parameters:
groundNature- the groundNature value to set- Returns:
- the FieldType object itself.
-
length
public Double length()
Get the length value.- Returns:
- the length value
-
withLength
public FieldType withLength(Double length)
Set the length value.- Parameters:
length- the length value to set- Returns:
- the FieldType object itself.
-
width
public Double width()
Get the width value.- Returns:
- the width value
-
withWidth
public FieldType withWidth(Double width)
Set the width value.- Parameters:
width- the width value to set- Returns:
- the FieldType object itself.
-
latitude
public Double latitude()
Get the latitude value.- Returns:
- the latitude value
-
withLatitude
public FieldType withLatitude(Double latitude)
Set the latitude value.- Parameters:
latitude- the latitude value to set- Returns:
- the FieldType object itself.
-
longitude
public Double longitude()
Get the longitude value.- Returns:
- the longitude value
-
-