Class NodeReference

All Implemented Interfaces:
Manageable, PersistenceCapable, Shareable, SharedObjectProvider, RegistryContext, UserFields, XObject, Described, Map, Serializable
Direct Known Subclasses:
SONodeReference

public class NodeReference extends LazyObjectItem
See Also:
  • Field Details

  • Constructor Details

    • NodeReference

      public NodeReference(String key, Node ref)
    • NodeReference

      public NodeReference(Node ref)
  • Method Details

    • getNTypeImpl

      protected Node.NType getNTypeImpl()
      Description copied from class: Node
      This method returns the Node.NType which describes the managed fields of the class of this node. This method has to be implemented in every concrete subclass.
      Overrides:
      getNTypeImpl in class LazyObjectItem
      Returns:
      type describing the managed fields of the class of this node
    • newInstance

      protected Node newInstance()
      Description copied from class: Node
      This method returns a new instance of the class of this node. This method has to be implemented in every concrete subclass.
      Overrides:
      newInstance in class LazyObjectItem
      Returns:
      new instance of class of this node
    • hasNullValue

      protected boolean hasNullValue()
      Overrides:
      hasNullValue in class LazyObjectItem
    • fetchBaseObject

      protected Object fetchBaseObject()
      Overrides:
      fetchBaseObject in class LazyObjectItem
    • validate

      public boolean validate()
      Overrides:
      validate in class Item
    • getNode

      public final Node getNode()
    • getTypeFromObject

      protected boolean getTypeFromObject()
      Overrides:
      getTypeFromObject in class LazyObjectItem
    • get

      public static NodeReference get(RegistryContext ctx, String dir, Node s)