com.evernote.thrift
Interface TBase<T extends TBase>

All Superinterfaces:
Comparable<T>, Serializable
All Known Subinterfaces:
TReflectionBase<T,F>
All Known Implementing Classes:
Accounting, AuthenticationResult, BootstrapInfo, BootstrapProfile, BootstrapSettings, BusinessNotebook, BusinessUserInfo, ClientUsageMetrics, Data, EDAMNotFoundException, EDAMSystemException, EDAMUserException, LazyMap, LinkedNotebook, Note, NoteAttributes, Notebook, NotebookDescriptor, NotebookRestrictions, NoteCollectionCounts, NoteEmailParameters, NoteFilter, NoteList, NoteMetadata, NotesMetadataList, NotesMetadataResultSpec, NoteVersionId, PremiumInfo, PublicUserInfo, Publishing, RelatedQuery, RelatedResult, RelatedResultSpec, Resource, ResourceAttributes, SavedSearch, SavedSearchScope, SharedNotebook, SharedNotebookRecipientSettings, SyncChunk, SyncChunkFilter, SyncState, Tag, TUnion, User, UserAttributes

public interface TBase<T extends TBase>
extends Comparable<T>, Serializable

Generic base interface for generated Thrift objects.


Method Summary
 void clear()
          Return to the state of having just been initialized, as though you had just called the default constructor.
 TBase<T> deepCopy()
          Creates a deep copy of the object.
 void read(TProtocol iprot)
          Reads an instance of the object from the given protocol.
 void write(TProtocol oprot)
          Writes the object to the given protocol.
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

read

void read(TProtocol iprot)
          throws TException
Reads an instance of the object from the given protocol.

Parameters:
iprot - Input protocol
Throws:
TException

write

void write(TProtocol oprot)
           throws TException
Writes the object to the given protocol.

Parameters:
oprot - Output protocol
Throws:
TException

deepCopy

TBase<T> deepCopy()
Creates a deep copy of the object.


clear

void clear()
Return to the state of having just been initialized, as though you had just called the default constructor.



Copyright © 2013. All Rights Reserved.