Package OntoUML

Examples of OntoUML.OntoUMLPackage$Literals


    setName(eNAME);
    setNsPrefix(eNS_PREFIX);
    setNsURI(eNS_URI);

    // Obtain other dependent packages
    OntoUMLPackage theOntoUMLPackage = (OntoUMLPackage)EPackage.Registry.INSTANCE.getEPackage(OntoUMLPackage.eNS_URI);

    // Create type parameters

    // Set bounds for type parameters

    // Add supertypes to classes
    ruleEClass.getESuperTypes().add(theOntoUMLPackage.getNamedElement());
    derivationRuleEClass.getESuperTypes().add(this.getRule());
    conclusionEClass.getESuperTypes().add(theOntoUMLPackage.getRelationalClassifier());
    conditionEClass.getESuperTypes().add(theOntoUMLPackage.getRelationalClassifier());
    classifierAtomEClass.getESuperTypes().add(this.getCondition());
    classifierAtomEClass.getESuperTypes().add(this.getConclusion());
    roleTypeAtomEClass.getESuperTypes().add(this.getConclusion());
    roleTypeAtomEClass.getESuperTypes().add(this.getCondition());
    binaryAssociationAtomEClass.getESuperTypes().add(this.getCondition());
    binaryAssociationAtomEClass.getESuperTypes().add(this.getConclusion());
    attributionAtomEClass.getESuperTypes().add(this.getConclusion());

    // Initialize classes and features; add operations and parameters
    initEClass(ruleEClass, Rule.class, "Rule", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getRule_Condition(), this.getCondition(), this.getCondition_ConditionRule(), "condition", null, 0, -1, Rule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    initEClass(derivationRuleEClass, DerivationRule.class, "DerivationRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getDerivationRule_Conclusion(), this.getConclusion(), this.getConclusion_ConclusionRule(), "conclusion", null, 0, -1, DerivationRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    initEClass(conclusionEClass, Conclusion.class, "Conclusion", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getConclusion_ConclusionRule(), this.getDerivationRule(), this.getDerivationRule_Conclusion(), "conclusionRule", null, 0, 1, Conclusion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    initEClass(conditionEClass, Condition.class, "Condition", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEAttribute(getCondition_Negative(), ecorePackage.getEBoolean(), "negative", null, 1, 1, Condition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
    initEReference(getCondition_ConditionRule(), this.getRule(), this.getRule_Condition(), "conditionRule", null, 0, 1, Condition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);

    initEClass(classifierAtomEClass, ClassifierAtom.class, "ClassifierAtom", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getClassifierAtom_Class(), theOntoUMLPackage.getClass_(), null, "class", null, 1, 1, ClassifierAtom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getClassifierAtom_ClassVariable(), ecorePackage.getEString(), "classVariable", null, 0, 1, ClassifierAtom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    initEClass(roleTypeAtomEClass, RoleTypeAtom.class, "RoleTypeAtom", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

    initEClass(binaryAssociationAtomEClass, BinaryAssociationAtom.class, "BinaryAssociationAtom", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getBinaryAssociationAtom_Association(), theOntoUMLPackage.getRelationship(), null, "association", null, 1, 1, BinaryAssociationAtom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getBinaryAssociationAtom_SourceVariable(), ecorePackage.getEString(), "sourceVariable", null, 0, 1, BinaryAssociationAtom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getBinaryAssociationAtom_TargetVariable(), ecorePackage.getEString(), "targetVariable", null, 0, 1, BinaryAssociationAtom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    initEClass(objectVariableEClass, ObjectVariable.class, "ObjectVariable", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
View Full Code Here

TOP

Related Classes of OntoUML.OntoUMLPackage$Literals

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.