예제 #1
0
 public void checkConstraints(Collection<ConstraintViolation> violations) {
   super.checkConstraints(violations);
   if (!this.linkOperationExpressionIsCreationDerivation()) {
     violations.add(new ConstraintViolation("linkOperationExpressionIsCreationDerivation", this));
   }
   if (!this.linkOperationExpressionIsClearDerivation()) {
     violations.add(new ConstraintViolation("linkOperationExpressionIsClearDerivation", this));
   }
   if (!this.linkOperationExpressionReferentDerivation()) {
     violations.add(new ConstraintViolation("linkOperationExpressionReferentDerivation", this));
   }
   if (!this.linkOperationExpressionFeatureDerivation()) {
     violations.add(new ConstraintViolation("linkOperationExpressionFeatureDerivation", this));
   }
   if (!this.linkOperationExpressionAssociationReference()) {
     violations.add(new ConstraintViolation("linkOperationExpressionAssociationReference", this));
   }
   if (!this.linkOperationExpressionArgumentCompatibility()) {
     violations.add(new ConstraintViolation("linkOperationExpressionArgumentCompatibility", this));
   }
   QualifiedName associationName = this.getAssociationName();
   if (associationName != null) {
     associationName.checkConstraints(violations);
   }
 }
예제 #2
0
 public void print(String prefix, boolean includeDerived) {
   super.print(prefix, includeDerived);
   QualifiedName associationName = this.getAssociationName();
   if (associationName != null) {
     System.out.println(prefix + " associationName:");
     associationName.print(prefix + "  ", includeDerived);
   }
 }
예제 #3
0
 public void _deriveAll() {
   this.getIsCreation();
   this.getIsClear();
   super._deriveAll();
   QualifiedName associationName = this.getAssociationName();
   if (associationName != null) {
     associationName.deriveAll();
   }
 }