Package de.hsh.graja.comment.applicability
package de.hsh.graja.comment.applicability
An Applicability
is a pair of Level
and Audience
.
An applicability is a specialization of the general concept of IncludeSpec
s.
Graja attaches applicabilities to Content
objects.
A comment in a content object has an own applicability and may depend on a set
of applicabilities of
other comments (@see ApplicabilityDependencyUnion
and ApplicabilityDependencyIntersection
).
The class ApplicabilitySpec
specifies
a comments own applicability together with it's dependencies.
Applicable
objects
can calculate a resulting applicability after being passed through
an ApplicabilityFilter
.
The following UML diagram shows some of the applicability classes of Graja:

-
ClassDescriptionAn applicability dependency specifies one or several artifacts that a comment depends on.An object D of this class defines a dependency on a given comment C.Abstract base class of union or intersection set of
ApplicabilityDependency
objects.This class stores a list ofApplicabilityDependency
objects.An object D of this class defines a dependency on a given applicability A.This class stores a list ofApplicabilityDependency
objects.This class can filter artifacts with an applicability to produce more or less detailed reports of the grading result.This class represents a chain of filters for artifacts with an applicability.An instance of this class specifies a comment's ownApplicability
together with the applicabilities of depended on comments (ApplicabilityDependency
).An applicable object is an artifact that can be filtered by applicability.This enum specifies the audience of a comment.This class can filter artifacts with an applicablity depending on the audience.This class can filter artifacts depending on the level.