| Package | Description |
|---|---|
| ca.jeb.protobuf.internal |
| Modifier and Type | Method and Description |
|---|---|
static Map<Field,ProtobufAttribute> |
ProtobufSerializerUtils.getAllProtbufFields(Class<? extends Object> fromClazz)
Returns a full mapping of all Protobuf fields from the POJO class.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
ProtobufSerializerUtils.getPojoSetter(ProtobufAttribute protobufAttribute,
Field field)
Retrieve the setter on the POJO class; default is to is "set" plus upper case first character of the field name.
|
static String |
ProtobufSerializerUtils.getProtobufGetter(ProtobufAttribute protobufAttribute,
Field field)
Retrieve the getter against the Protobuf class; default is to is "get" plus upper case first character of the field name.
|
static String |
ProtobufSerializerUtils.getProtobufSetter(ProtobufAttribute protobufAttribute,
Field field,
Object fieldValue)
Return the setter for the Protobuf builder.
|
Copyright © 2014. All rights reserved.