All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class key.AtomicProperty

java.lang.Object
   |
   +----key.Property
           |
           +----key.DataProperty
                   |
                   +----key.AtomicProperty

public class AtomicProperty
extends DataProperty
implements Parent
Use this class if you want an ATOM to be stored in a property. This class *does* reset the parent of the atom NB: _NOT_ if you want a *reference* to an atom to be stored here, then you should use a ReferenceProperty like everyone else ;p~


Constructor Index

 o AtomicProperty(String, Type, Atom)
 o AtomicProperty(String, Type, Atom, Object)

Method Index

 o checkType(Type)
 o fullResolve()
 o getParentId()
 o loadFrom(DataInput)
You need to have the property class set up *before* calling this command
 o noLongerReferencing(Atom)
 o resolve()
 o set(Object)
 o toString()
 o writeTo(DataOutput)

Constructors

 o AtomicProperty
 public AtomicProperty(String name,
                       Type theType,
                       Atom parent)
Parameters:
propertyOf - which atom this property is a property of
 o AtomicProperty
 public AtomicProperty(String name,
                       Type theType,
                       Atom propertyOf,
                       Object theValue) throws TypeMismatchException

Methods

 o checkType
 protected void checkType(Type type)
Overrides:
checkType in class Property
 o set
 public void set(Object o) throws TypeMismatchException
Overrides:
set in class DataProperty
 o writeTo
 public void writeTo(DataOutput to) throws IOException
Overrides:
writeTo in class DataProperty
 o loadFrom
 public void loadFrom(DataInput from) throws IOException
You need to have the property class set up *before* calling this command

Overrides:
loadFrom in class DataProperty
 o noLongerReferencing
 public void noLongerReferencing(Atom a)
 o getParentId
 public String getParentId()
 o toString
 public String toString()
Overrides:
toString in class DataProperty
 o resolve
 public void resolve()
 o fullResolve
 public void fullResolve()

All Packages  Class Hierarchy  This Package  Previous  Next  Index