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~
-
AtomicProperty(String, Type, Atom)
-
-
AtomicProperty(String, Type, Atom, Object)
-
-
checkType(Type)
-
-
fullResolve()
-
-
getParentId()
-
-
loadFrom(DataInput)
- You need to have the property class set up *before*
calling this command
-
noLongerReferencing(Atom)
-
-
resolve()
-
-
set(Object)
-
-
toString()
-
-
writeTo(DataOutput)
-
AtomicProperty
public AtomicProperty(String name,
Type theType,
Atom parent)
- Parameters:
- propertyOf - which atom this property is a property of
AtomicProperty
public AtomicProperty(String name,
Type theType,
Atom propertyOf,
Object theValue) throws TypeMismatchException
checkType
protected void checkType(Type type)
- Overrides:
- checkType in class Property
set
public void set(Object o) throws TypeMismatchException
- Overrides:
- set in class DataProperty
writeTo
public void writeTo(DataOutput to) throws IOException
- Overrides:
- writeTo in class DataProperty
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
noLongerReferencing
public void noLongerReferencing(Atom a)
getParentId
public String getParentId()
toString
public String toString()
- Overrides:
- toString in class DataProperty
resolve
public void resolve()
fullResolve
public void fullResolve()
All Packages Class Hierarchy This Package Previous Next Index