Module graph

Class BooleanTreeAttribute

All Implemented Interfaces:
Described, KeyDescription, Comparable

public abstract class BooleanTreeAttribute extends BooleanAttribute
  • Constructor Details

    • BooleanTreeAttribute

      public BooleanTreeAttribute(Type type)
    • BooleanTreeAttribute

      public BooleanTreeAttribute()
  • Method Details

    • getParentAttribute

      protected ObjectAttribute getParentAttribute(GraphState gs)
    • getDerived

      protected boolean getDerived(Object object, boolean asNode, GraphState gs)
      Overrides:
      getDerived in class BooleanAttribute
    • derive

      protected abstract boolean derive(Object object, boolean asNode, boolean parentValue, GraphState gs)
    • getInitialValue

      protected abstract boolean getInitialValue(GraphState gs)
    • isDerived

      public boolean isDerived()
      Description copied from class: Attribute
      Determines whether this is a derived attribute or not.
      Overrides:
      isDerived in class Attribute<Boolean>
      Returns:
      true iff this is a derived attribute
    • dependsOn

      public abstract boolean dependsOn(Attribute[] b)
    • getParentValue

      public boolean getParentValue(Object object, boolean asNode, GraphState gs)