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 java.lang.Object
- implements CollectionRecord.Getter
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
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 java.lang.String toString()
- Overrides:
toString in class java.lang.Object
toString
public java.lang.StringBuilder toString(java.lang.StringBuilder sb,
java.lang.String prefix)
- Specified by:
toString in interface CollectionRecord.Getter
mergeUnframed
public CollectionRecord.Bean mergeUnframed(java.io.InputStream input)
throws java.io.IOException
- Throws:
java.io.IOException
mergeUnframed
public CollectionRecord.Bean mergeUnframed(org.fusesource.hawtbuf.proto.CodedInputStream input)
throws java.io.IOException
- Throws:
java.io.IOException
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
equals
public boolean equals(CollectionRecord.Bean obj)
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
mergeFrom
public CollectionRecord.Bean mergeFrom(CollectionRecord.Getter other)
clear
public void clear()
readExternal
public void readExternal(java.io.DataInput in)
throws java.io.IOException
- Throws:
java.io.IOException
writeExternal
public void writeExternal(java.io.DataOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2005-2014 Red Hat, Inc.. All Rights Reserved.