public abstract class AbstractFieldInfo extends Object implements FieldInfo
| Modifier and Type | Field and Description |
|---|---|
protected BracketType |
bracketType |
protected String |
name |
protected Class |
type |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractFieldInfo(Class type,
BracketType bracketType,
String name) |
| Modifier and Type | Method and Description |
|---|---|
BracketType |
bracketType()
Returns the
BracketType used by the serialization strategy associated
with this FieldInfo object. |
boolean |
equals(Object obj) |
int |
hashCode() |
String |
name()
Returns the name of the field represented by this
FieldInfo object. |
String |
toString() |
Class<?> |
type()
Returns a
Class identifying the declared type of the field
represented by this FieldInfo object. |
protected final String name
protected final Class type
protected final BracketType bracketType
protected AbstractFieldInfo(Class type, BracketType bracketType, String name)
public String name()
FieldInfoFieldInfo object.public Class<?> type()
FieldInfoClass identifying the declared type of the field
represented by this FieldInfo object.public BracketType bracketType()
FieldInfoBracketType used by the serialization strategy associated
with this FieldInfo object.bracketType in interface FieldInfoBracketType used by the serialization strategy associated
with this FieldInfo object.Copyright © 2023. All rights reserved.