Class ProjectGraphHasNode

All Implemented Interfaces:
Manageable, PersistenceCapable, Shareable, RegistryContext, UserFields, XObject, Described, Map, Serializable

public final class ProjectGraphHasNode extends Expression
Test if the extent of the type is not empty for the project graph of the registry. Warning, this is not robust when the graph change (which happens). Not even at recompilation.
See Also:
  • Field Details

  • Constructor Details

    • ProjectGraphHasNode

      public ProjectGraphHasNode()
    • ProjectGraphHasNode

      public ProjectGraphHasNode(String name, String ref)
  • Method Details

    • evaluate

      public Object evaluate(RegistryContext ctx, StringMap args)
      Specified by:
      evaluate in class Expression
    • 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 Item
      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 Item
      Returns:
      new instance of class of this node