code: public boolean validateModcaString4_MaxLength(String modcaString4, DiagnosticChain diagnostics, Map<Object, Object> context) {
  		int length = modcaString4.length();
  		boolean result = length <= 4;
  		if (!result && diagnostics != null)
  			reportMaxLengthViolation(BasePackage.Literals.MODCA_STRING4, modcaString4, length, 4, diagnostics, context);
  		return result;
  	}
docs: Validates the MaxLength constraint of '<em>Modca String4</em>'.
  <!-- begin-user-doc -->
  <!-- end-user-doc -->
  @generated