public abstract class PDeclaredDescriptor<T> extends Object implements PDescriptor
| Modifier | Constructor and Description |
|---|---|
protected |
PDeclaredDescriptor(String programName,
String name) |
| Modifier and Type | Method and Description |
|---|---|
abstract PBuilder<T> |
builder()
Get the builder for the given declared type.
|
String |
getName()
The name of the type is the Identifier string from the IDL.
|
String |
getProgramName()
The package name is derived form the .thrift file name that is parsed or
if read from serialized format is explicit.
|
String |
getQualifiedName(String programContext)
This will return the qualified name of the type given the program context.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetTypepublic final String getProgramName()
PDescriptorgetProgramName in interface PDescriptorpublic final String getName()
PDescriptorgetName in interface PDescriptorpublic final String getQualifiedName(String programContext)
PDescriptorgetQualifiedName in interface PDescriptorprogramContext - The program which the type should be referenced from.Copyright © 2015–2016 morimekta.net. All rights reserved.