Class ConditionFactory.KeyCondition

  • All Implemented Interfaces:
    Condition, Condition.TagCondition
    Enclosing class:
    ConditionFactory

    public static class ConditionFactory.KeyCondition
    extends Object
    implements Condition.TagCondition

    KeyCondition represent one of the following conditions in either the link or the primitive context:

         ["a label"]  PRIMITIVE:   the primitive has a tag "a label"
                      LINK:        the parent is a relation and it has at least one member with the role
                                   "a label" referring to the child
    
         [!"a label"]  PRIMITIVE:  the primitive doesn't have a tag "a label"
                       LINK:       the parent is a relation but doesn't have a member with the role
                                   "a label" referring to the child
    
         ["a label"?]  PRIMITIVE:  the primitive has a tag "a label" whose value evaluates to a true-value
                       LINK:       not supported
    
         ["a label"?!] PRIMITIVE:  the primitive has a tag "a label" whose value evaluates to a false-value
                       LINK:       not supported
     
    See Also:
    ConditionFactory.KeyRegexpCondition