Package OntoUML

Examples of OntoUML.Collective


        if (result == null) result = caseElement(classifier);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case OntoUMLPackage.COLLECTIVE: {
        Collective collective = (Collective)theEObject;
        T result = caseCollective(collective);
        if (result == null) result = caseSubstanceSortal(collective);
        if (result == null) result = caseRigidSortalClass(collective);
        if (result == null) result = caseSortalClass(collective);
        if (result == null) result = caseObjectClass(collective);
View Full Code Here


     * <!-- end-user-doc -->
     * @generated NOT
     */
    protected boolean updateFaceIsExtensional(
        CollectiveEditPart collectiveeditpart) {
      Collective c = (Collective) ((View) collectiveeditpart.getModel())
          .getElement();
      return c.isIsExtensional();
    }
View Full Code Here

      } else {
        fFigureCollectiveMetaAttributeLabelFigure.setText("");
      }
      this.add(fFigureCollectiveMetaAttributeLabelFigure);

      Collective s = (Collective) ((View) collectiveeditpart.getModel())
          .getElement();
      for (int i = 0; i < s.getAttribute().size(); i++) {
        Property p1 = (Property) s.getAttribute().get(i);
        if (p1.getAttribute().size() >= 2) {
          DatatypeAssociation d = (DatatypeAssociation) p1
              .getAttribute().get(0);
          Property p2 = (Property) p1.getAttribute().get(1);
          d.setOwner(null);
          d.setContainer(s.getContainer());
          d.setName("Name");
          p1.setAssociationEnd(d);
          p1.setName("Name");
          p2.setAssociationEnd(d);
          p2.setOwner(d);
View Full Code Here

TOP

Related Classes of OntoUML.Collective

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.