Package com.hazelcast.nio.serialization
Interface FieldDefinition
public interface FieldDefinition
Defines the name, type and index of a field.
-
Method Summary
Modifier and TypeMethodDescriptionint
int
int
getIndex()
getName()
default PortableId
getType()
int
-
Method Details
-
getType
FieldType getType()- Returns:
- field type
-
getName
String getName()- Returns:
- field name
-
getIndex
int getIndex()- Returns:
- field index
-
getFactoryId
int getFactoryId()- Returns:
- factory ID of this field's class
-
getClassId
int getClassId()- Returns:
- class ID of this field's class
-
getVersion
int getVersion()- Returns:
- version of this field's class
-
getPortableId
- Returns:
- portable ID of this field's class
- Since:
- 5.4
-