public interface ClassDefinition
ClassDefinitionBuilder
or ondemand during serialization phase.Portable
,
ClassDefinitionBuilder
Modifier and Type | Method and Description |
---|---|
int |
getClassId() |
int |
getFactoryId() |
FieldDefinition |
getField(int fieldIndex) |
FieldDefinition |
getField(String name) |
int |
getFieldClassId(String fieldName) |
int |
getFieldCount() |
Set<String> |
getFieldNames() |
FieldType |
getFieldType(String fieldName) |
int |
getVersion() |
boolean |
hasField(String fieldName) |
FieldDefinition getField(String name)
name
- name of the fieldFieldDefinition getField(int fieldIndex)
fieldIndex
- index of the fieldIndexOutOfBoundsException
boolean hasField(String fieldName)
fieldName
- field nameSet<String> getFieldNames()
FieldType getFieldType(String fieldName)
fieldName
- name of the fieldIllegalArgumentException
int getFieldClassId(String fieldName)
fieldName
- name of the fieldIllegalArgumentException
int getFieldCount()
int getFactoryId()
int getClassId()
int getVersion()
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.