com.evernote.edam.userstore
Class BootstrapInfo

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

public class BootstrapInfo
extends Object
implements TBase<BootstrapInfo>, Serializable, Cloneable

This structure describes a collection of bootstrap profiles.

profiles:
List of one or more bootstrap profiles, in descending preference order.

See Also:
Serialized Form

Constructor Summary
BootstrapInfo()
           
BootstrapInfo(BootstrapInfo other)
          Performs a deep copy on other.
BootstrapInfo(List<BootstrapProfile> profiles)
           
 
Method Summary
 void addToProfiles(BootstrapProfile elem)
           
 void clear()
          Return to the state of having just been initialized, as though you had just called the default constructor.
 int compareTo(BootstrapInfo other)
           
 BootstrapInfo deepCopy()
          Creates a deep copy of the object.
 boolean equals(BootstrapInfo that)
           
 boolean equals(Object that)
           
 List<BootstrapProfile> getProfiles()
           
 Iterator<BootstrapProfile> getProfilesIterator()
           
 int getProfilesSize()
           
 int hashCode()
           
 boolean isSetProfiles()
          Returns true if field profiles is set (has been asigned a value) and false otherwise
 void read(TProtocol iprot)
          Reads an instance of the object from the given protocol.
 void setProfiles(List<BootstrapProfile> profiles)
           
 void setProfilesIsSet(boolean value)
           
 String toString()
           
 void unsetProfiles()
           
 void validate()
           
 void write(TProtocol oprot)
          Writes the object to the given protocol.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BootstrapInfo

public BootstrapInfo()

BootstrapInfo

public BootstrapInfo(List<BootstrapProfile> profiles)

BootstrapInfo

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

Method Detail

deepCopy

public BootstrapInfo deepCopy()
Description copied from interface: TBase
Creates a deep copy of the object.

Specified by:
deepCopy in interface TBase<BootstrapInfo>

clear

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

Specified by:
clear in interface TBase<BootstrapInfo>

getProfilesSize

public int getProfilesSize()

getProfilesIterator

public Iterator<BootstrapProfile> getProfilesIterator()

addToProfiles

public void addToProfiles(BootstrapProfile elem)

getProfiles

public List<BootstrapProfile> getProfiles()

setProfiles

public void setProfiles(List<BootstrapProfile> profiles)

unsetProfiles

public void unsetProfiles()

isSetProfiles

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


setProfilesIsSet

public void setProfilesIsSet(boolean value)

equals

public boolean equals(Object that)
Overrides:
equals in class Object

equals

public boolean equals(BootstrapInfo that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(BootstrapInfo other)
Specified by:
compareTo in interface Comparable<BootstrapInfo>

read

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

Specified by:
read in interface TBase<BootstrapInfo>
Parameters:
iprot - Input protocol
Throws:
TException

write

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

Specified by:
write in interface TBase<BootstrapInfo>
Parameters:
oprot - Output protocol
Throws:
TException

toString

public String toString()
Overrides:
toString in class Object

validate

public void validate()
              throws TException
Throws:
TException


Copyright © 2013. All Rights Reserved.