Class ProtoMapMetadata
java.lang.Object
org.infinispan.protostream.annotations.impl.ProtoFieldMetadata
org.infinispan.protostream.annotations.impl.ProtoMapMetadata
- All Implemented Interfaces:
HasProtoSchema
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ProtoFieldMetadataprivate final ProtoFieldMetadata -
Constructor Summary
ConstructorsConstructorDescriptionProtoMapMetadata(int number, String name, XClass keyJavaType, XClass keyValueType, XClass mapImplementation, Type keyType, Type valueType, ProtoTypeMetadata protoTypeMetadata, String propertyName, XMethod definingMethod, XMethod getter, XMethod setter) ProtoMapMetadata(int number, String name, XClass keyJavaType, XClass valueJavaType, XClass mapImplementation, Type keyType, Type valueType, ProtoTypeMetadata protoTypeMetadata, XField field) -
Method Summary
Modifier and TypeMethodDescriptionvoidgenerateProto(IndentWriter iw, ProtoSyntax syntax) getKey()getValue()booleanisMap()Methods inherited from class ProtoFieldMetadata
getDefaultValue, getDocumentation, getField, getGetter, getJavaType, getJavaTypeName, getLocation, getName, getNumber, getOneof, getPropertyName, getProtobufType, getRepeatedImplementation, getSetter, getTypeName, isArray, isBoxedPrimitive, isPrimitive, isRepeated, isRequired, toString
-
Field Details
-
key
-
value
-
-
Constructor Details
-
ProtoMapMetadata
-
ProtoMapMetadata
-
-
Method Details
-
isMap
public boolean isMap()- Overrides:
isMapin classProtoFieldMetadata
-
getKey
-
getValue
-
generateProto
- Specified by:
generateProtoin interfaceHasProtoSchema- Overrides:
generateProtoin classProtoFieldMetadata
-