public abstract class AbstractUserType extends AbstractDescriptor implements UserType
| Modifier and Type | Field and Description |
|---|---|
protected String |
fullyQualifiedName |
protected UserTypeContainer |
parent |
protected Proto |
proto |
name, optionscomments, sourceCodeLocation| Constructor and Description |
|---|
AbstractUserType(UserTypeContainer parent) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCanonicalName()
Returns
FieldType.getFullyQualifiedName() without leading dot. |
String |
getFullyQualifiedName()
Returns fully qualified name for this user type.
|
UserTypeContainer |
getParent() |
Proto |
getProto() |
boolean |
isMap()
Test if this type is map.
|
boolean |
isNested()
Test if this type is nested (declared inside of other message).
|
void |
setFullyQualifiedName(String fullyQualifiedName) |
void |
setProto(Proto proto) |
getName, getOptions, setNameaddComment, getCommentLines, getComments, getSourceCodeLocation, setComments, setSourceCodeLocationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDescriptorType, getOptionsgetCommentLines, getComments, getSourceCodeLocationprotected final UserTypeContainer parent
protected Proto proto
protected String fullyQualifiedName
public AbstractUserType(UserTypeContainer parent)
public String getFullyQualifiedName()
UserTypegetFullyQualifiedName in interface FieldTypegetFullyQualifiedName in interface TypegetFullyQualifiedName in interface UserTypepublic String getCanonicalName()
FieldTypeFieldType.getFullyQualifiedName() without leading dot.getCanonicalName in interface FieldTypegetCanonicalName in interface Typepublic boolean isMap()
FieldTypepublic void setFullyQualifiedName(String fullyQualifiedName)
setFullyQualifiedName in interface UserTypepublic UserTypeContainer getParent()
Copyright © 2015–2017. All rights reserved.