case class LocalOutgoingAnnotatedWithConstraint(sourceEnsemble: Symbol, annotationPredicates: Seq[AnnotationPredicate], property: String, matchAny: Boolean) extends PropertyChecker with Product with Serializable
Checks whether all elements in the source ensemble are annotated with the given annotation.
Example Scenario
If every element in the ensemble ex
should be annotated with ey
and the
source element x
which belongs to ensemble ex
has no annotation that matches
ey
then a SpecificationViolation is generated.
- sourceEnsemble
An ensemble containing elements, that should be annotated.
- annotationPredicates
The annotations that should match.
- property
A description of the property that is checked.
- matchAny
true if only one match is needed, false if all annotations should match
- Source
- Specification.scala
- Alphabetic
- By Inheritance
- LocalOutgoingAnnotatedWithConstraint
- Serializable
- Product
- Equals
- PropertyChecker
- ArchitectureChecker
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new LocalOutgoingAnnotatedWithConstraint(sourceEnsemble: Symbol, annotationPredicates: Seq[AnnotationPredicate], matchAny: Boolean = false)
- new LocalOutgoingAnnotatedWithConstraint(sourceEnsemble: Symbol, annotationPredicates: Seq[AnnotationPredicate], property: String, matchAny: Boolean)
- sourceEnsemble
An ensemble containing elements, that should be annotated.
- annotationPredicates
The annotations that should match.
- property
A description of the property that is checked.
- matchAny
true if only one match is needed, false if all annotations should match
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val annotationPredicates: Seq[AnnotationPredicate]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def ensembles: Seq[Symbol]
- Definition Classes
- LocalOutgoingAnnotatedWithConstraint → PropertyChecker
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val matchAny: Boolean
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val property: String
A textual representation of the property.
A textual representation of the property.
- Definition Classes
- LocalOutgoingAnnotatedWithConstraint → PropertyChecker
- val sourceEnsemble: Symbol
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- LocalOutgoingAnnotatedWithConstraint → AnyRef → Any
- def violations(): Set[SpecificationViolation]
- Definition Classes
- LocalOutgoingAnnotatedWithConstraint → ArchitectureChecker
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated