com.evernote.edam.userstore
Class BootstrapProfile

java.lang.Object
  extended by com.evernote.edam.userstore.BootstrapProfile
All Implemented Interfaces:
com.evernote.thrift.TBase<BootstrapProfile>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<BootstrapProfile>

public class BootstrapProfile
extends java.lang.Object
implements com.evernote.thrift.TBase<BootstrapProfile>, java.io.Serializable, java.lang.Cloneable

This structure describes a collection of bootstrap settings.

name:
The unique name of the profile, which is guaranteed to remain consistent across calls to getBootstrapInfo.
settings:
The settings for this profile.

See Also:
Serialized Form

Constructor Summary
BootstrapProfile()
           
BootstrapProfile(BootstrapProfile other)
          Performs a deep copy on other.
BootstrapProfile(java.lang.String name, BootstrapSettings settings)
           
 
Method Summary
 void clear()
          Return to the state of having just been initialized, as though you had just called the default constructor.
 int compareTo(BootstrapProfile other)
           
 BootstrapProfile deepCopy()
          Creates a deep copy of the object.
 boolean equals(BootstrapProfile that)
           
 boolean equals(java.lang.Object that)
           
 java.lang.String getName()
           
 BootstrapSettings getSettings()
           
 int hashCode()
           
 boolean isSetName()
          Returns true if field name is set (has been asigned a value) and false otherwise
 boolean isSetSettings()
          Returns true if field settings is set (has been asigned a value) and false otherwise
 void read(com.evernote.thrift.protocol.TProtocol iprot)
          Reads an instance of the object from the given protocol.
 void setName(java.lang.String name)
           
 void setNameIsSet(boolean value)
           
 void setSettings(BootstrapSettings settings)
           
 void setSettingsIsSet(boolean value)
           
 java.lang.String toString()
           
 void unsetName()
           
 void unsetSettings()
           
 void validate()
           
 void write(com.evernote.thrift.protocol.TProtocol oprot)
          Writes the object to the given protocol.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BootstrapProfile

public BootstrapProfile()

BootstrapProfile

public BootstrapProfile(java.lang.String name,
                        BootstrapSettings settings)

BootstrapProfile

public BootstrapProfile(BootstrapProfile other)
Performs a deep copy on other.

Method Detail

deepCopy

public BootstrapProfile deepCopy()
Description copied from interface: com.evernote.thrift.TBase
Creates a deep copy of the object.

Specified by:
deepCopy in interface com.evernote.thrift.TBase<BootstrapProfile>

clear

public void clear()
Description copied from interface: com.evernote.thrift.TBase
Return to the state of having just been initialized, as though you had just called the default constructor.

Specified by:
clear in interface com.evernote.thrift.TBase<BootstrapProfile>

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

unsetName

public void unsetName()

isSetName

public boolean isSetName()
Returns true if field name is set (has been asigned a value) and false otherwise


setNameIsSet

public void setNameIsSet(boolean value)

getSettings

public BootstrapSettings getSettings()

setSettings

public void setSettings(BootstrapSettings settings)

unsetSettings

public void unsetSettings()

isSetSettings

public boolean isSetSettings()
Returns true if field settings is set (has been asigned a value) and false otherwise


setSettingsIsSet

public void setSettingsIsSet(boolean value)

equals

public boolean equals(java.lang.Object that)
Overrides:
equals in class java.lang.Object

equals

public boolean equals(BootstrapProfile that)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

compareTo

public int compareTo(BootstrapProfile other)
Specified by:
compareTo in interface java.lang.Comparable<BootstrapProfile>

read

public void read(com.evernote.thrift.protocol.TProtocol iprot)
          throws com.evernote.thrift.TException
Description copied from interface: com.evernote.thrift.TBase
Reads an instance of the object from the given protocol.

Specified by:
read in interface com.evernote.thrift.TBase<BootstrapProfile>
Parameters:
iprot - Input protocol
Throws:
com.evernote.thrift.TException

write

public void write(com.evernote.thrift.protocol.TProtocol oprot)
           throws com.evernote.thrift.TException
Description copied from interface: com.evernote.thrift.TBase
Writes the object to the given protocol.

Specified by:
write in interface com.evernote.thrift.TBase<BootstrapProfile>
Parameters:
oprot - Output protocol
Throws:
com.evernote.thrift.TException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

validate

public void validate()
              throws com.evernote.thrift.TException
Throws:
com.evernote.thrift.TException