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

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

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


Constructor Summary
CollectionRecord.Bean()
           
CollectionRecord.Bean(CollectionRecord.Bean copy)
           
 
Method Summary
 void clear()
           
 void clearKey()
           
 void clearMeta()
           
 void clearType()
           
 CollectionRecord.Bean copy()
           
 boolean equals(CollectionRecord.Bean obj)
           
 boolean equals(Object obj)
           
 CollectionRecord.Buffer freeze()
           
 boolean frozen()
           
 long getKey()
           
 org.fusesource.hawtbuf.Buffer getMeta()
           
 int getType()
           
 int hashCode()
           
 boolean hasKey()
           
 boolean hasMeta()
           
 boolean hasType()
           
 CollectionRecord.Bean mergeFrom(CollectionRecord.Getter other)
           
 CollectionRecord.Bean mergeUnframed(org.fusesource.hawtbuf.proto.CodedInputStream input)
           
 CollectionRecord.Bean mergeUnframed(InputStream input)
           
 void readExternal(DataInput in)
           
 CollectionRecord.Bean setKey(long key)
           
 CollectionRecord.Bean setMeta(org.fusesource.hawtbuf.Buffer meta)
           
 CollectionRecord.Bean setType(int type)
           
 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

CollectionRecord.Bean

public CollectionRecord.Bean()

CollectionRecord.Bean

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

copy

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

frozen

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

freeze

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

hasKey

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

getKey

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

setKey

public CollectionRecord.Bean setKey(long key)

clearKey

public void clearKey()

hasType

public boolean hasType()
Specified by:
hasType in interface CollectionRecord.Getter

getType

public int getType()
Specified by:
getType in interface CollectionRecord.Getter

setType

public CollectionRecord.Bean setType(int type)

clearType

public void clearType()

hasMeta

public boolean hasMeta()
Specified by:
hasMeta in interface CollectionRecord.Getter

getMeta

public org.fusesource.hawtbuf.Buffer getMeta()
Specified by:
getMeta in interface CollectionRecord.Getter

setMeta

public CollectionRecord.Bean setMeta(org.fusesource.hawtbuf.Buffer meta)

clearMeta

public void clearMeta()

toString

public String toString()
Overrides:
toString in class Object

toString

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

mergeUnframed

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

mergeUnframed

public CollectionRecord.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(CollectionRecord.Bean obj)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

mergeFrom

public CollectionRecord.Bean mergeFrom(CollectionRecord.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.