/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static EList<PressureUlcerObservation> getPressureUlcerObservations( FunctionalStatusSection functionalStatusSection) { if (GET_PRESSURE_ULCER_OBSERVATIONS__EOCL_QRY == null) { OCL.Helper helper = EOCL_ENV.createOCLHelper(); helper.setOperationContext( ConsolPackage.Literals.FUNCTIONAL_STATUS_SECTION, ConsolPackage.Literals.FUNCTIONAL_STATUS_SECTION.getEAllOperations().get(80)); try { GET_PRESSURE_ULCER_OBSERVATIONS__EOCL_QRY = helper.createQuery(GET_PRESSURE_ULCER_OBSERVATIONS__EOCL_EXP); } catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } } OCL.Query query = EOCL_ENV.createQuery(GET_PRESSURE_ULCER_OBSERVATIONS__EOCL_QRY); @SuppressWarnings("unchecked") Collection<PressureUlcerObservation> result = (Collection<PressureUlcerObservation>) query.evaluate(functionalStatusSection); return new BasicEList.UnmodifiableEList<PressureUlcerObservation>(result.size(), result.toArray()); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static EList<AssessmentScaleObservation> getAssessmentScaleObservations( FunctionalStatusSection functionalStatusSection) { if (GET_ASSESSMENT_SCALE_OBSERVATIONS__EOCL_QRY == null) { OCL.Helper helper = EOCL_ENV.createOCLHelper(); helper.setOperationContext( ConsolPackage.Literals.FUNCTIONAL_STATUS_SECTION, ConsolPackage.Literals.FUNCTIONAL_STATUS_SECTION.getEAllOperations().get(78)); try { GET_ASSESSMENT_SCALE_OBSERVATIONS__EOCL_QRY = helper.createQuery(GET_ASSESSMENT_SCALE_OBSERVATIONS__EOCL_EXP); } catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } } OCL.Query query = EOCL_ENV.createQuery(GET_ASSESSMENT_SCALE_OBSERVATIONS__EOCL_QRY); @SuppressWarnings("unchecked") Collection<AssessmentScaleObservation> result = (Collection<AssessmentScaleObservation>) query.evaluate(functionalStatusSection); return new BasicEList.UnmodifiableEList<AssessmentScaleObservation>(result.size(), result.toArray()); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static EList<AssessmentScaleSupportingObservation> getAssessmentScaleSupportingObservations( AssessmentScaleObservation assessmentScaleObservation) { if (GET_ASSESSMENT_SCALE_SUPPORTING_OBSERVATIONS__EOCL_QRY == null) { OCL.Helper helper = EOCL_ENV.createOCLHelper(); helper.setOperationContext( ConsolPackage.Literals.ASSESSMENT_SCALE_OBSERVATION, ConsolPackage.Literals.ASSESSMENT_SCALE_OBSERVATION.getEAllOperations().get(72)); try { GET_ASSESSMENT_SCALE_SUPPORTING_OBSERVATIONS__EOCL_QRY = helper.createQuery(GET_ASSESSMENT_SCALE_SUPPORTING_OBSERVATIONS__EOCL_EXP); } catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } } OCL.Query query = EOCL_ENV.createQuery(GET_ASSESSMENT_SCALE_SUPPORTING_OBSERVATIONS__EOCL_QRY); @SuppressWarnings("unchecked") Collection<AssessmentScaleSupportingObservation> result = (Collection<AssessmentScaleSupportingObservation>) query.evaluate(assessmentScaleObservation); return new BasicEList.UnmodifiableEList<AssessmentScaleSupportingObservation>(result.size(), result.toArray()); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static EList<FamilyHistoryObservation> getFamilyHistoryObservations( FamilyHistoryOrganizer familyHistoryOrganizer) { if (GET_FAMILY_HISTORY_OBSERVATIONS__EOCL_QRY == null) { OCL.Helper helper = EOCL_ENV.createOCLHelper(); helper.setOperationContext( ConsolPackage.Literals.FAMILY_HISTORY_ORGANIZER, ConsolPackage.Literals.FAMILY_HISTORY_ORGANIZER.getEAllOperations().get(68)); try { GET_FAMILY_HISTORY_OBSERVATIONS__EOCL_QRY = helper.createQuery(GET_FAMILY_HISTORY_OBSERVATIONS__EOCL_EXP); } catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } } OCL.Query query = EOCL_ENV.createQuery(GET_FAMILY_HISTORY_OBSERVATIONS__EOCL_QRY); @SuppressWarnings("unchecked") Collection<FamilyHistoryObservation> result = (Collection<FamilyHistoryObservation>) query.evaluate(familyHistoryOrganizer); return new BasicEList.UnmodifiableEList<FamilyHistoryObservation>(result.size(), result.toArray()); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static EList<MedicationActivity> getMedicationActivities( MedicationsAdministeredSection medicationsAdministeredSection) { if (GET_MEDICATION_ACTIVITIES__EOCL_QRY == null) { OCL.Helper helper = EOCL_ENV.createOCLHelper(); helper.setOperationContext( ConsolPackage.Literals.MEDICATIONS_ADMINISTERED_SECTION, ConsolPackage.Literals.MEDICATIONS_ADMINISTERED_SECTION.getEAllOperations().get(61)); try { GET_MEDICATION_ACTIVITIES__EOCL_QRY = helper.createQuery(GET_MEDICATION_ACTIVITIES__EOCL_EXP); } catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } } OCL.Query query = EOCL_ENV.createQuery(GET_MEDICATION_ACTIVITIES__EOCL_QRY); @SuppressWarnings("unchecked") Collection<MedicationActivity> result = (Collection<MedicationActivity>) query.evaluate(medicationsAdministeredSection); return new BasicEList.UnmodifiableEList<MedicationActivity>(result.size(), result.toArray()); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static EList<AssessmentScaleObservation> getAssessmentScaleObservations( CognitiveStatusProblemObservation cognitiveStatusProblemObservation) { if (GET_ASSESSMENT_SCALE_OBSERVATIONS__EOCL_QRY == null) { OCL.Helper helper = EOCL_ENV.createOCLHelper(); helper.setOperationContext( ConsolPackage.Literals.COGNITIVE_STATUS_PROBLEM_OBSERVATION, ConsolPackage.Literals.COGNITIVE_STATUS_PROBLEM_OBSERVATION.getEAllOperations().get(99)); try { GET_ASSESSMENT_SCALE_OBSERVATIONS__EOCL_QRY = helper.createQuery(GET_ASSESSMENT_SCALE_OBSERVATIONS__EOCL_EXP); } catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } } OCL.Query query = EOCL_ENV.createQuery(GET_ASSESSMENT_SCALE_OBSERVATIONS__EOCL_QRY); @SuppressWarnings("unchecked") Collection<AssessmentScaleObservation> result = (Collection<AssessmentScaleObservation>) query.evaluate(cognitiveStatusProblemObservation); return new BasicEList.UnmodifiableEList<AssessmentScaleObservation>(result.size(), result.toArray()); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static EList<CaregiverCharacteristics> getCaregiverCharacteristicss( FunctionalStatusProblemObservation functionalStatusProblemObservation) { if (GET_CAREGIVER_CHARACTERISTICSS__EOCL_QRY == null) { OCL.Helper helper = EOCL_ENV.createOCLHelper(); helper.setOperationContext( ConsolPackage.Literals.FUNCTIONAL_STATUS_PROBLEM_OBSERVATION, ConsolPackage.Literals.FUNCTIONAL_STATUS_PROBLEM_OBSERVATION.getEAllOperations().get(100)); try { GET_CAREGIVER_CHARACTERISTICSS__EOCL_QRY = helper.createQuery(GET_CAREGIVER_CHARACTERISTICSS__EOCL_EXP); } catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } } OCL.Query query = EOCL_ENV.createQuery(GET_CAREGIVER_CHARACTERISTICSS__EOCL_QRY); @SuppressWarnings("unchecked") Collection<CaregiverCharacteristics> result = (Collection<CaregiverCharacteristics>) query.evaluate(functionalStatusProblemObservation); return new BasicEList.UnmodifiableEList<CaregiverCharacteristics>(result.size(), result.toArray()); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static EList<ProblemObservation> getProblemObservations( HistoryOfPastIllnessSection historyOfPastIllnessSection) { if (GET_PROBLEM_OBSERVATIONS__EOCL_QRY == null) { OCL.Helper helper = EOCL_ENV.createOCLHelper(); helper.setOperationContext( ConsolPackage.Literals.HISTORY_OF_PAST_ILLNESS_SECTION, ConsolPackage.Literals.HISTORY_OF_PAST_ILLNESS_SECTION.getEAllOperations().get(61)); try { GET_PROBLEM_OBSERVATIONS__EOCL_QRY = helper.createQuery(GET_PROBLEM_OBSERVATIONS__EOCL_EXP); } catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } } OCL.Query query = EOCL_ENV.createQuery(GET_PROBLEM_OBSERVATIONS__EOCL_QRY); @SuppressWarnings("unchecked") Collection<ProblemObservation> result = (Collection<ProblemObservation>) query.evaluate(historyOfPastIllnessSection); return new BasicEList.UnmodifiableEList<ProblemObservation>(result.size(), result.toArray()); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static EList<PurposeofReferenceObservation> getPurposeofReferenceObservations( SOPInstanceObservation sopInstanceObservation) { if (GET_PURPOSEOF_REFERENCE_OBSERVATIONS__EOCL_QRY == null) { OCL.Helper helper = EOCL_ENV.createOCLHelper(); helper.setOperationContext( ConsolPackage.Literals.SOP_INSTANCE_OBSERVATION, ConsolPackage.Literals.SOP_INSTANCE_OBSERVATION.getEAllOperations().get(69)); try { GET_PURPOSEOF_REFERENCE_OBSERVATIONS__EOCL_QRY = helper.createQuery(GET_PURPOSEOF_REFERENCE_OBSERVATIONS__EOCL_EXP); } catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } } OCL.Query query = EOCL_ENV.createQuery(GET_PURPOSEOF_REFERENCE_OBSERVATIONS__EOCL_QRY); @SuppressWarnings("unchecked") Collection<PurposeofReferenceObservation> result = (Collection<PurposeofReferenceObservation>) query.evaluate(sopInstanceObservation); return new BasicEList.UnmodifiableEList<PurposeofReferenceObservation>(result.size(), result.toArray()); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static EList<ProcedureActivityProcedure> getProcedureActivityProcedures( ReactionObservation reactionObservation) { if (GET_PROCEDURE_ACTIVITY_PROCEDURES__EOCL_QRY == null) { OCL.Helper helper = EOCL_ENV.createOCLHelper(); helper.setOperationContext( ConsolPackage.Literals.REACTION_OBSERVATION, ConsolPackage.Literals.REACTION_OBSERVATION.getEAllOperations().get(72)); try { GET_PROCEDURE_ACTIVITY_PROCEDURES__EOCL_QRY = helper.createQuery(GET_PROCEDURE_ACTIVITY_PROCEDURES__EOCL_EXP); } catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } } OCL.Query query = EOCL_ENV.createQuery(GET_PROCEDURE_ACTIVITY_PROCEDURES__EOCL_QRY); @SuppressWarnings("unchecked") Collection<ProcedureActivityProcedure> result = (Collection<ProcedureActivityProcedure>) query.evaluate(reactionObservation); return new BasicEList.UnmodifiableEList<ProcedureActivityProcedure>(result.size(), result.toArray()); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static EList<FamilyHistoryObservation> getIHEFamilyHistoryObservations( FamilyHistoryOrganizer familyHistoryOrganizer) { if (GET_IHE_FAMILY_HISTORY_OBSERVATIONS__EOCL_QRY == null) { OCL.Helper helper = EOCL_ENV.createOCLHelper(); helper.setOperationContext( IHEPackage.Literals.FAMILY_HISTORY_ORGANIZER, IHEPackage.Literals.FAMILY_HISTORY_ORGANIZER.getEAllOperations().get(75)); try { GET_IHE_FAMILY_HISTORY_OBSERVATIONS__EOCL_QRY = helper.createQuery(GET_IHE_FAMILY_HISTORY_OBSERVATIONS__EOCL_EXP); } catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } } OCL.Query query = EOCL_ENV.createQuery(GET_IHE_FAMILY_HISTORY_OBSERVATIONS__EOCL_QRY); @SuppressWarnings("unchecked") Collection<FamilyHistoryObservation> result = (Collection<FamilyHistoryObservation>) query.evaluate(familyHistoryOrganizer); return new BasicEList.UnmodifiableEList<FamilyHistoryObservation>(result.size(), result.toArray()); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static EList<InternalReference> getInternalReferenceReasons(ProcedureEntry procedureEntry) { if (GET_INTERNAL_REFERENCE_REASONS__EOCL_QRY == null) { OCL.Helper helper = EOCL_ENV.createOCLHelper(); helper.setOperationContext( IHEPackage.Literals.PROCEDURE_ENTRY, IHEPackage.Literals.PROCEDURE_ENTRY.getEAllOperations().get(62)); try { GET_INTERNAL_REFERENCE_REASONS__EOCL_QRY = helper.createQuery(GET_INTERNAL_REFERENCE_REASONS__EOCL_EXP); } catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } } OCL.Query query = EOCL_ENV.createQuery(GET_INTERNAL_REFERENCE_REASONS__EOCL_QRY); @SuppressWarnings("unchecked") Collection<InternalReference> result = (Collection<InternalReference>) query.evaluate(procedureEntry); return new BasicEList.UnmodifiableEList<InternalReference>(result.size(), result.toArray()); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static EList<PatientMedicalInstructions> getPatientMedicalInstructionss(Medication medication) { if (GET_PATIENT_MEDICAL_INSTRUCTIONSS__EOCL_QRY == null) { OCL.Helper helper = EOCL_ENV.createOCLHelper(); helper.setOperationContext( IHEPackage.Literals.MEDICATION, IHEPackage.Literals.MEDICATION.getEAllOperations().get(96)); try { GET_PATIENT_MEDICAL_INSTRUCTIONSS__EOCL_QRY = helper.createQuery(GET_PATIENT_MEDICAL_INSTRUCTIONSS__EOCL_EXP); } catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } } OCL.Query query = EOCL_ENV.createQuery(GET_PATIENT_MEDICAL_INSTRUCTIONSS__EOCL_QRY); @SuppressWarnings("unchecked") Collection<PatientMedicalInstructions> result = (Collection<PatientMedicalInstructions>) query.evaluate(medication); return new BasicEList.UnmodifiableEList<PatientMedicalInstructions>(result.size(), result.toArray()); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static EList<Comment> getComments(ProblemEntry problemEntry) { if (GET_COMMENTS__EOCL_QRY == null) { OCL.Helper helper = EOCL_ENV.createOCLHelper(); helper.setOperationContext( IHEPackage.Literals.PROBLEM_ENTRY, IHEPackage.Literals.PROBLEM_ENTRY.getEAllOperations().get(79)); try { GET_COMMENTS__EOCL_QRY = helper.createQuery(GET_COMMENTS__EOCL_EXP); } catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } } OCL.Query query = EOCL_ENV.createQuery(GET_COMMENTS__EOCL_QRY); @SuppressWarnings("unchecked") Collection<Comment> result = (Collection<Comment>) query.evaluate(problemEntry); return new BasicEList.UnmodifiableEList<Comment>(result.size(), result.toArray()); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static EList<NonMedicinalSupplyActivity> getNonMedicinalSupplyActivities( CognitiveStatusResultObservation cognitiveStatusResultObservation) { if (GET_NON_MEDICINAL_SUPPLY_ACTIVITIES__EOCL_QRY == null) { OCL.Helper helper = EOCL_ENV.createOCLHelper(); helper.setOperationContext( ConsolPackage.Literals.COGNITIVE_STATUS_RESULT_OBSERVATION, ConsolPackage.Literals.COGNITIVE_STATUS_RESULT_OBSERVATION.getEAllOperations().get(93)); try { GET_NON_MEDICINAL_SUPPLY_ACTIVITIES__EOCL_QRY = helper.createQuery(GET_NON_MEDICINAL_SUPPLY_ACTIVITIES__EOCL_EXP); } catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } } OCL.Query query = EOCL_ENV.createQuery(GET_NON_MEDICINAL_SUPPLY_ACTIVITIES__EOCL_QRY); @SuppressWarnings("unchecked") Collection<NonMedicinalSupplyActivity> result = (Collection<NonMedicinalSupplyActivity>) query.evaluate(cognitiveStatusResultObservation); return new BasicEList.UnmodifiableEList<NonMedicinalSupplyActivity>(result.size(), result.toArray()); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static EList<AdvanceDirectiveObservation> getAdvanceDirectiveObservations( AdvanceDirectivesSectionEntriesOptional advanceDirectivesSectionEntriesOptional) { if (GET_ADVANCE_DIRECTIVE_OBSERVATIONS__EOCL_QRY == null) { OCL.Helper helper = EOCL_ENV.createOCLHelper(); helper.setOperationContext( ConsolPackage.Literals.ADVANCE_DIRECTIVES_SECTION_ENTRIES_OPTIONAL, ConsolPackage.Literals.ADVANCE_DIRECTIVES_SECTION_ENTRIES_OPTIONAL.getEAllOperations().get(61)); try { GET_ADVANCE_DIRECTIVE_OBSERVATIONS__EOCL_QRY = helper.createQuery(GET_ADVANCE_DIRECTIVE_OBSERVATIONS__EOCL_EXP); } catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } } OCL.Query query = EOCL_ENV.createQuery(GET_ADVANCE_DIRECTIVE_OBSERVATIONS__EOCL_QRY); @SuppressWarnings("unchecked") Collection<AdvanceDirectiveObservation> result = (Collection<AdvanceDirectiveObservation>) query.evaluate(advanceDirectivesSectionEntriesOptional); return new BasicEList.UnmodifiableEList<AdvanceDirectiveObservation>(result.size(), result.toArray()); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static EList<HighestPressureUlcerStage> getHighestPressureUlcerStages( FunctionalStatusSection functionalStatusSection) { if (GET_HIGHEST_PRESSURE_ULCER_STAGES__EOCL_QRY == null) { OCL.Helper helper = EOCL_ENV.createOCLHelper(); helper.setOperationContext( ConsolPackage.Literals.FUNCTIONAL_STATUS_SECTION, ConsolPackage.Literals.FUNCTIONAL_STATUS_SECTION.getEAllOperations().get(82)); try { GET_HIGHEST_PRESSURE_ULCER_STAGES__EOCL_QRY = helper.createQuery(GET_HIGHEST_PRESSURE_ULCER_STAGES__EOCL_EXP); } catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } } OCL.Query query = EOCL_ENV.createQuery(GET_HIGHEST_PRESSURE_ULCER_STAGES__EOCL_QRY); @SuppressWarnings("unchecked") Collection<HighestPressureUlcerStage> result = (Collection<HighestPressureUlcerStage>) query.evaluate(functionalStatusSection); return new BasicEList.UnmodifiableEList<HighestPressureUlcerStage>(result.size(), result.toArray()); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static EList<NumberOfPressureUlcersObservation> getNumberOfPressureUlcersObservations( FunctionalStatusSection functionalStatusSection) { if (GET_NUMBER_OF_PRESSURE_ULCERS_OBSERVATIONS__EOCL_QRY == null) { OCL.Helper helper = EOCL_ENV.createOCLHelper(); helper.setOperationContext( ConsolPackage.Literals.FUNCTIONAL_STATUS_SECTION, ConsolPackage.Literals.FUNCTIONAL_STATUS_SECTION.getEAllOperations().get(81)); try { GET_NUMBER_OF_PRESSURE_ULCERS_OBSERVATIONS__EOCL_QRY = helper.createQuery(GET_NUMBER_OF_PRESSURE_ULCERS_OBSERVATIONS__EOCL_EXP); } catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } } OCL.Query query = EOCL_ENV.createQuery(GET_NUMBER_OF_PRESSURE_ULCERS_OBSERVATIONS__EOCL_QRY); @SuppressWarnings("unchecked") Collection<NumberOfPressureUlcersObservation> result = (Collection<NumberOfPressureUlcersObservation>) query.evaluate(functionalStatusSection); return new BasicEList.UnmodifiableEList<NumberOfPressureUlcersObservation>(result.size(), result.toArray()); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static EList<NonMedicinalSupplyActivity> getNonMedicinalSupplyActivities( FunctionalStatusSection functionalStatusSection) { if (GET_NON_MEDICINAL_SUPPLY_ACTIVITIES__EOCL_QRY == null) { OCL.Helper helper = EOCL_ENV.createOCLHelper(); helper.setOperationContext( ConsolPackage.Literals.FUNCTIONAL_STATUS_SECTION, ConsolPackage.Literals.FUNCTIONAL_STATUS_SECTION.getEAllOperations().get(79)); try { GET_NON_MEDICINAL_SUPPLY_ACTIVITIES__EOCL_QRY = helper.createQuery(GET_NON_MEDICINAL_SUPPLY_ACTIVITIES__EOCL_EXP); } catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } } OCL.Query query = EOCL_ENV.createQuery(GET_NON_MEDICINAL_SUPPLY_ACTIVITIES__EOCL_QRY); @SuppressWarnings("unchecked") Collection<NonMedicinalSupplyActivity> result = (Collection<NonMedicinalSupplyActivity>) query.evaluate(functionalStatusSection); return new BasicEList.UnmodifiableEList<NonMedicinalSupplyActivity>(result.size(), result.toArray()); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static EList<FunctionalStatusResultOrganizer> getFunctionalStatusResultOrganizers( FunctionalStatusSection functionalStatusSection) { if (GET_FUNCTIONAL_STATUS_RESULT_ORGANIZERS__EOCL_QRY == null) { OCL.Helper helper = EOCL_ENV.createOCLHelper(); helper.setOperationContext( ConsolPackage.Literals.FUNCTIONAL_STATUS_SECTION, ConsolPackage.Literals.FUNCTIONAL_STATUS_SECTION.getEAllOperations().get(71)); try { GET_FUNCTIONAL_STATUS_RESULT_ORGANIZERS__EOCL_QRY = helper.createQuery(GET_FUNCTIONAL_STATUS_RESULT_ORGANIZERS__EOCL_EXP); } catch (ParserException pe) { throw new UnsupportedOperationException(pe.getLocalizedMessage()); } } OCL.Query query = EOCL_ENV.createQuery(GET_FUNCTIONAL_STATUS_RESULT_ORGANIZERS__EOCL_QRY); @SuppressWarnings("unchecked") Collection<FunctionalStatusResultOrganizer> result = (Collection<FunctionalStatusResultOrganizer>) query.evaluate(functionalStatusSection); return new BasicEList.UnmodifiableEList<FunctionalStatusResultOrganizer>(result.size(), result.toArray()); }