Package OntoUML

Examples of OntoUML.subQuantityOf


     * <!-- end-user-doc -->
     * @generated NOT
     */
    protected boolean updateFaceIsEssential(
        SubQuantityOfEditPart subquantityofeditpart) {
      subQuantityOf c = (subQuantityOf) ((View) subquantityofeditpart
          .getModel()).getElement();
      if (c.isIsEssential() && !c.isIsImmutablePart())
        c.setIsImmutablePart(true);
      return c.isIsEssential();
    }
View Full Code Here


     * <!-- end-user-doc -->
     * @generated NOT
     */
    protected boolean updateFaceIsInseparable(
        SubQuantityOfEditPart subquantityofeditpart) {
      subQuantityOf c = (subQuantityOf) ((View) subquantityofeditpart
          .getModel()).getElement();
      if (c.isIsInseparable() && !c.isIsImmutableWhole())
        c.setIsImmutableWhole(true);
      return c.isIsInseparable();
    }
View Full Code Here

     * <!-- end-user-doc -->
     * @generated NOT
     */
    protected boolean updateFaceIsImmutablePart(
        SubQuantityOfEditPart subquantityofeditpart) {
      subQuantityOf c = (subQuantityOf) ((View) subquantityofeditpart
          .getModel()).getElement();
      if (c.isIsImmutablePart() && !testReadOnly(c.getTarget()))
        setReadOnlyTrue(c.getTarget());
      if (!c.isIsEssential() && c.isIsImmutablePart())
        return true;
      else
        return false;
    }
View Full Code Here

     * <!-- end-user-doc -->
     * @generated NOT
     */
    protected boolean updateFaceIsImmutableWhole(
        SubQuantityOfEditPart subquantityofeditpart) {
      subQuantityOf c = (subQuantityOf) ((View) subquantityofeditpart
          .getModel()).getElement();
      if (c.isIsImmutableWhole() && !testReadOnly(c.getSource()))
        setReadOnlyTrue(c.getSource());
      if (!c.isIsInseparable() && c.isIsImmutableWhole())
        return true;
      else
        return false;
    }
View Full Code Here

        if (result == null) result = caseElement(subKind);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case OntoUMLPackage.SUB_QUANTITY_OF: {
        subQuantityOf subQuantityOf = (subQuantityOf)theEObject;
        T result = casesubQuantityOf(subQuantityOf);
        if (result == null) result = caseMeronymic(subQuantityOf);
        if (result == null) result = caseDirectedBinaryRelationship(subQuantityOf);
        if (result == null) result = caseDirectedRelationship(subQuantityOf);
        if (result == null) result = caseRelationalClassifier(subQuantityOf);
View Full Code Here

  * Associate the correct decoration, depending on the attribute isShareable.
  * <!-- end-user-doc -->
  * @generated NOT
  */ 
  protected boolean updateFace() {
    subQuantityOf s = (subQuantityOf)((View)subquantityofeditpart.getModel()).getElement();
    if (s.isIsShareable() == false)
      return true;
    else
      return false;
  }
View Full Code Here

     * <!-- end-user-doc -->
     * @generated NOT
     */
    protected boolean updateFaceIsEssential(
        SubQuantityOfEditPart subquantityofeditpart) {
      subQuantityOf c = (subQuantityOf) ((View) subquantityofeditpart
          .getModel()).getElement();
      return c.isIsEssential();
    }
View Full Code Here

     * <!-- end-user-doc -->
     * @generated NOT
     */
    protected boolean updateFaceIsInseparable(
        SubQuantityOfEditPart subquantityofeditpart) {
      subQuantityOf c = (subQuantityOf) ((View) subquantityofeditpart
          .getModel()).getElement();
      return c.isIsInseparable();
    }
View Full Code Here

     * <!-- end-user-doc -->
     * @generated NOT
     */
    protected boolean updateFaceIsImmutablePart(
        SubQuantityOfEditPart subquantityofeditpart) {
      subQuantityOf c = (subQuantityOf) ((View) subquantityofeditpart
          .getModel()).getElement();
      if (!c.isIsEssential() && c.isIsImmutablePart())
        return true;
      else
        return false;
    }
View Full Code Here

     * <!-- end-user-doc -->
     * @generated NOT
     */
    protected boolean updateFaceIsImmutableWhole(
        SubQuantityOfEditPart subquantityofeditpart) {
      subQuantityOf c = (subQuantityOf) ((View) subquantityofeditpart
          .getModel()).getElement();
      if (!c.isIsInseparable() && c.isIsImmutableWhole())
        return true;
      else
        return false;
    }
View Full Code Here

TOP

Related Classes of OntoUML.subQuantityOf

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.