org.apache.activemq.leveldb.record
Class CollectionKey.Bean

java.lang.Object
  extended by org.apache.activemq.leveldb.record.CollectionKey.Bean
All Implemented Interfaces:
CollectionKey.Getter, org.fusesource.hawtbuf.proto.PBMessage<CollectionKey.Bean,CollectionKey.Buffer>
Enclosing class:
CollectionKey

public static final class CollectionKey.Bean
extends Object
implements CollectionKey.Getter


Constructor Summary
CollectionKey.Bean()
           
CollectionKey.Bean(CollectionKey.Bean copy)
           
 
Method Summary
 void clear()
           
 void clearKey()
           
 CollectionKey.Bean copy()
           
 boolean equals(CollectionKey.Bean obj)
           
 boolean equals(Object obj)
           
 CollectionKey.Buffer freeze()
           
 boolean frozen()
           
 long getKey()
           
 int hashCode()
           
 boolean hasKey()
           
 CollectionKey.Bean mergeFrom(CollectionKey.Getter other)
           
 CollectionKey.Bean mergeUnframed(org.fusesource.hawtbuf.proto.CodedInputStream input)
           
 CollectionKey.Bean mergeUnframed(InputStream input)
           
 void readExternal(DataInput in)
           
 CollectionKey.Bean setKey(long key)
           
 String toString()
           
 StringBuilder toString(StringBuilder sb, String prefix)
           
 void writeExternal(DataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CollectionKey.Bean

public CollectionKey.Bean()

CollectionKey.Bean

public CollectionKey.Bean(CollectionKey.Bean copy)
Method Detail

copy

public CollectionKey.Bean copy()
Specified by:
copy in interface CollectionKey.Getter
Specified by:
copy in interface org.fusesource.hawtbuf.proto.PBMessage<CollectionKey.Bean,CollectionKey.Buffer>

frozen

public boolean frozen()
Specified by:
frozen in interface org.fusesource.hawtbuf.proto.PBMessage<CollectionKey.Bean,CollectionKey.Buffer>

freeze

public CollectionKey.Buffer freeze()
Specified by:
freeze in interface CollectionKey.Getter
Specified by:
freeze in interface org.fusesource.hawtbuf.proto.PBMessage<CollectionKey.Bean,CollectionKey.Buffer>

hasKey

public boolean hasKey()
Specified by:
hasKey in interface CollectionKey.Getter

getKey

public long getKey()
Specified by:
getKey in interface CollectionKey.Getter

setKey

public CollectionKey.Bean setKey(long key)

clearKey

public void clearKey()

toString

public String toString()
Overrides:
toString in class Object

toString

public StringBuilder toString(StringBuilder sb,
                              String prefix)
Specified by:
toString in interface CollectionKey.Getter

mergeUnframed

public CollectionKey.Bean mergeUnframed(InputStream input)
                                 throws IOException
Throws:
IOException

mergeUnframed

public CollectionKey.Bean mergeUnframed(org.fusesource.hawtbuf.proto.CodedInputStream input)
                                 throws IOException
Throws:
IOException

equals

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

equals

public boolean equals(CollectionKey.Bean obj)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

mergeFrom

public CollectionKey.Bean mergeFrom(CollectionKey.Getter other)

clear

public void clear()

readExternal

public void readExternal(DataInput in)
                  throws IOException
Throws:
IOException

writeExternal

public void writeExternal(DataOutput out)
                   throws IOException
Throws:
IOException


Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.