Package io.protostuff.compiler.model
Interface FieldType
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetCanonicalName()ReturnsgetFullyQualifiedName()without leading dot.StringgetFullyQualifiedName()Type reference.StringgetName()booleanisEnum()Test if this type is enum.booleanisMap()Test if this type is map.booleanisMessage()Test if this type is message.booleanisScalar()Test if this type is scalar.
-
-
-
Method Detail
-
getFullyQualifiedName
String getFullyQualifiedName()
Type reference. For scalar types, it returns one of:int32int64uint32uint64sint32sint64fixed32fixed64sfixed32sfixed64floatdoubleboolstringbytes
For messages, it is full massage name. For enums, it is full enum name.
- Specified by:
getFullyQualifiedNamein interfaceType
-
getCanonicalName
String getCanonicalName()
ReturnsgetFullyQualifiedName()without leading dot.- Specified by:
getCanonicalNamein interfaceType
-
isScalar
boolean isScalar()
Test if this type is scalar.
-
isEnum
boolean isEnum()
Test if this type is enum.
-
isMessage
boolean isMessage()
Test if this type is message.
-
isMap
boolean isMap()
Test if this type is map.
-
-