org.apache.activemq.leveldb.record
Class CollectionRecord.Bean
java.lang.Object
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
CollectionRecord.Bean
public CollectionRecord.Bean()
CollectionRecord.Bean
public CollectionRecord.Bean(CollectionRecord.Bean copy)
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-2012 The Apache Software Foundation. All Rights Reserved.