All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class key.Tag

java.lang.Object
   |
   +----key.Tag

public class Tag
extends Object
implements Symbol, Storable, LatentlyCached

Variable Index

 o ALIAS_KEY
An AliasListKey.
 o INTEGER_KEY
An integer key implies that an integer follows and will be loaded
 o LIQUIDITY
Liquidity is how fluidly things are switched back out of ram and onto disk.
 o OTHER_KEY
An other key implies that a classname follows, as well as the key being 'storable'
 o reverseReferences
 o STRING_KEY
A string key implies that a string follows and will be loaded

Constructor Index

 o Tag()
 o Tag(Atom)
 o Tag(File, Atom)
 o Tag(File, Atom, String)
 o Tag(File, String)
 o Tag(String)

Method Index

 o addReference(Referrer)
Called to tell the atom thats its being referenced by the referrer.
 o deallocate()
 o erase()
 o getActual()
 o getFile()
 o getId()
 o getKey()
 o getKeyType()
 o getName()
 o hasFile()
 o isLoaded()
 o loadFrom(DataInput)
 o modified()
 o referenceCount()
 o references()
 o removeReference(Referrer)
 o resetModify()
 o setFile(File)
 o setKey(Object)
Only really meant to be called from Atom
 o sync()
 o writeTo(DataOutput)

Variables

 o reverseReferences
 protected Vector reverseReferences
 o LIQUIDITY
 public static final int LIQUIDITY
Liquidity is how fluidly things are switched back out of ram and onto disk. Each 1 means that it will last an additional cycle of the LatentCache

 o INTEGER_KEY
 public static final int INTEGER_KEY
An integer key implies that an integer follows and will be loaded

 o STRING_KEY
 public static final int STRING_KEY
A string key implies that a string follows and will be loaded

 o OTHER_KEY
 public static final int OTHER_KEY
An other key implies that a classname follows, as well as the key being 'storable'

 o ALIAS_KEY
 public static final int ALIAS_KEY
An AliasListKey.

Constructors

 o Tag
 public Tag()
 o Tag
 public Tag(String theName)
 o Tag
 public Tag(File f,
            String theName)
 o Tag
 public Tag(File f,
            Atom m,
            String theName)
 o Tag
 public Tag(Atom m)
 o Tag
 public Tag(File f,
            Atom m)

Methods

 o getKey
 public final Object getKey()
 o getName
 public final String getName()
 o setKey
 public void setKey(Object newkey)
Only really meant to be called from Atom

 o addReference
 public void addReference(Referrer r)
Called to tell the atom thats its being referenced by the referrer.

 o removeReference
 public void removeReference(Referrer r)
 o references
 public final Enumeration references()
 o referenceCount
 public final int referenceCount()
 o getActual
 public Atom getActual()
 o sync
 public void sync() throws IOException
 o isLoaded
 public final boolean isLoaded()
 o hasFile
 public final boolean hasFile()
 o getFile
 public final File getFile()
 o erase
 public void erase()
 o setFile
 public void setFile(File f)
 o loadFrom
 public void loadFrom(DataInput from) throws IOException
 o writeTo
 public void writeTo(DataOutput to) throws IOException
 o modified
 public boolean modified()
 o resetModify
 public void resetModify()
 o deallocate
 public synchronized void deallocate()
 o getKeyType
 public final int getKeyType()
 o getId
 public String getId()

All Packages  Class Hierarchy  This Package  Previous  Next  Index