de.grogra.pf.registry
Class ItemReference<V>
java.lang.Object
de.grogra.persistence.ShareableBase
de.grogra.pf.registry.ItemReference<V>
- All Implemented Interfaces:
- Manageable, Shareable
- Direct Known Subclasses:
- Curve, DatasetRef, FileRef, Function, ImageRef, Reference, ShaderRef, SurfaceRef
public abstract class ItemReference<V>
- extends ShareableBase
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
$TYPE
public static final ItemReference.Type $TYPE
item
protected transient Item item
itemResolved
protected transient boolean itemResolved
name$FIELD
public static final SCOType.Field name$FIELD
object
protected transient V object
objectResolved
protected transient boolean objectResolved
ItemReference
public ItemReference(java.lang.String name)
createItem
protected Item createItem(RegistryContext ctx,
java.lang.String dir,
java.lang.String name)
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
getName
public java.lang.String getName()
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
resolveItem
protected Item resolveItem(java.lang.String baseName,
RegistryContext ctx)
resolveObject
protected V resolveObject(java.lang.String baseName,
RegistryContext ctx)