Package org.eclipse.bpel.common.extension.model

Examples of org.eclipse.bpel.common.extension.model.ExtensionMap


   * @return ExtensionMap
   * @customized
   */
  public ExtensionMap findExtensionMap(String namespace, EList contents) {

    ExtensionMap extensionSet = null;
   
    for (Iterator iter = contents.iterator(); iter.hasNext();) {
      EObject element = (EObject) iter.next();
     
      if(element instanceof ExtensionMap && ((ExtensionMap)element).getNamespace().equals(namespace)){
View Full Code Here


  /**
   * @customized
   */
  public ExtensionMap createExtensionMap() {
   
    ExtensionMap extensionMap = createExtensionMapGen();
    ExtensionmodelAdapterFactory adapterFactory = new ExtensionmodelAdapterFactory();
    adapterFactory.adapt(extensionMap,ExtensionMapAdapterImpl.class);
 
    return extensionMap;
  }
View Full Code Here

   * @return ExtensionMap
   * @customized
   */
  public ExtensionMap createExtensionMap(String namespace) {

    ExtensionMap extensionSet = ExtensionmodelFactory.eINSTANCE.createExtensionMap();
   
    extensionSet.setNamespace(namespace);
       
    return extensionSet;
  }
View Full Code Here

   * @generated
   */
  protected Object doSwitch(int classifierID, EObject theEObject) {
    switch (classifierID) {
      case ExtensionmodelPackage.EXTENSION_MAP: {
        ExtensionMap extensionMap = (ExtensionMap)theEObject;
        Object result = caseExtensionMap(extensionMap);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case ExtensionmodelPackage.EXTENSION: {
View Full Code Here

        Extension extension = (Extension) notification.getNotifier();
       
        if(extension.getExtendedObject() == null && extension.getExtensionObject() == null &&
             extension.eContainer() != null){

          ExtensionMap extensionSet = (ExtensionMap)extension.eContainer();
         
          if(extensionSet != null && extensionSet.getExtensions().contains(extension))
            extensionSet.getExtensions().remove(extension);
        }
             
        // If the extendedObject is not null set it to null now     
        if (extension.getExtendedObject() != null)
          extension.setExtendedObject(null);
View Full Code Here

          }
          break;
 
        case Notification.REMOVING_ADAPTER :
       
          ExtensionMap map = (ExtensionMap) notification.getNotifier();   
          Set extendedObjects = map.keySet();
         
          for (Iterator iter = extendedObjects.iterator(); iter.hasNext();) {
            EObject element = (EObject) iter.next();
           
            List remove = new BasicEList();
View Full Code Here

TOP

Related Classes of org.eclipse.bpel.common.extension.model.ExtensionMap

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.