Package org.eclipse.papyrus.sysml.modelelements

Examples of org.eclipse.papyrus.sysml.modelelements.Conform


   * @generated NOT
   */
  public ViewPoint basicGetViewPoint() {
    // ViewPoint is related to View via a Conform dependency
    ViewPoint viewPoint = null;
    Conform conform = null;

    if(getBase_Package() != null) {
      // Find Conform link
      Iterator<Dependency> itDep = getBase_Package().getClientDependencies().iterator();
      while(itDep.hasNext() && (conform == null)) {
        Dependency currentDependency = itDep.next();
        conform = UMLUtil.getStereotypeApplication(currentDependency, Conform.class);
      }

      // Find ViewPoint
      if(conform != null) {
        Iterator<Element> itElt = conform.getBase_Dependency().getTargets().iterator();
        while(itElt.hasNext()) {
          Element currentElt = itElt.next();
          viewPoint = UMLUtil.getStereotypeApplication(currentElt, ViewPoint.class);
        }
      }
View Full Code Here


  @Override
  protected T doSwitch(int classifierID, EObject theEObject) {
    switch(classifierID) {
    case ModelelementsPackage.CONFORM:
    {
      Conform conform = (Conform)theEObject;
      T result = caseConform(conform);
      if(result == null)
        result = defaultCase(theEObject);
      return result;
    }
View Full Code Here

TOP

Related Classes of org.eclipse.papyrus.sysml.modelelements.Conform

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.