Class ApplicabilityDependencyCommentLeaf

java.lang.Object
de.hsh.graja.comment.applicability.ApplicabilityDependencyCommentLeaf
All Implemented Interfaces:
ApplicabilityDependency, Applicable, Serializable, Cloneable

public class ApplicabilityDependencyCommentLeaf extends Object implements ApplicabilityDependency
An object D of this class defines a dependency on a given comment C. D can be transitive or non-transitive. The method calcApplicability(ApplicabilityFilter) calculates the applicability that results from D. If D is transitive, then the calculated applicability includes the own applicability of C and also the dependencies of C. If D is non-transitive, then the calculated applicability includes the own applicability of C only.
See Also:
  • Constructor Details

    • ApplicabilityDependencyCommentLeaf

      public ApplicabilityDependencyCommentLeaf(Content comment, boolean isTransitive)
      Create
      Parameters:
      comment - the depended on comment
      isTransitive - true means transitive.
  • Method Details