Class FieldDescriptor
java.lang.Object
org.apache.sedona.core.formatMapper.shapefileParser.parseUtils.dbf.FieldDescriptor
- All Implemented Interfaces:
Serializable
The Class FieldDescriptor.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyteGets the field decimal count.intGets the field length.Gets the field name.byteGets the field type.voidsetFieldDecimalCount(byte fieldDecimalCount) Sets the field decimal count.voidsetFieldLength(int fieldLength) Sets the field length.voidsetFieldName(String fieldName) Sets the field name.voidsetFieldType(byte fieldType) Sets the field type.
-
Constructor Details
-
FieldDescriptor
public FieldDescriptor()
-
-
Method Details
-
getFieldName
Gets the field name.- Returns:
- the field name
-
setFieldName
Sets the field name.- Parameters:
fieldName- the new field name
-
getFieldType
public byte getFieldType()Gets the field type.- Returns:
- the field type
-
setFieldType
public void setFieldType(byte fieldType) Sets the field type.- Parameters:
fieldType- the new field type
-
getFieldLength
public int getFieldLength()Gets the field length.- Returns:
- the field length
-
setFieldLength
public void setFieldLength(int fieldLength) Sets the field length.- Parameters:
fieldLength- the new field length
-
getFieldDecimalCount
public byte getFieldDecimalCount()Gets the field decimal count.- Returns:
- the field decimal count
-
setFieldDecimalCount
public void setFieldDecimalCount(byte fieldDecimalCount) Sets the field decimal count.- Parameters:
fieldDecimalCount- the new field decimal count
-