|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.schwa.dr.AbstractAnn
public abstract class AbstractAnn
Abstract base class for the Ann interface.
| Field Summary | |
|---|---|
protected Integer |
drIndex
The index of this annotation instance within a Store. |
protected byte[] |
drLazy
The lazy serialised data for this annotation instance. |
protected int |
drLazyNElem
The number of fields that are lazily stored for this annotation instance. |
| Constructor Summary | |
|---|---|
protected |
AbstractAnn()
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
Integer |
getDRIndex()
If this annotation instance is stored within a Store, this method returns the index of
this annotation within the store. |
byte[] |
getDRLazy()
If this annotation has lazily stored attribute data, returns the lazy data as an array of bytes ready for serialisation. |
int |
getDRLazyNElem()
If this annotaiton has lazily stored attribute data, returns the number of lazily stored fields. |
void |
setDRIndex(Integer index)
Sets the index of this annotation instance within its containing store. |
void |
setDRLazy(byte[] drLazy)
Sets the lazily stored attribute data for this annotation instance. |
void |
setDRLazyNElem(int drLazyNElem)
Sets the number of lazily stored fields for this annotation instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Integer drIndex
Store.
protected byte[] drLazy
protected int drLazyNElem
| Constructor Detail |
|---|
protected AbstractAnn()
| Method Detail |
|---|
public boolean equals(Object o)
equals in class Objectpublic final Integer getDRIndex()
AnnStore, this method returns the index of
this annotation within the store. If this annotation does not belong to any store, this method
returns null.
getDRIndex in interface Annpublic final byte[] getDRLazy()
Ann
getDRLazy in interface Annpublic final int getDRLazyNElem()
Ann
getDRLazyNElem in interface Annpublic final void setDRIndex(Integer index)
Ann
setDRIndex in interface Annpublic final void setDRLazy(byte[] drLazy)
Ann
setDRLazy in interface Annpublic final void setDRLazyNElem(int drLazyNElem)
Ann
setDRLazyNElem in interface Ann
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||