Examples of immutableClone()


Examples of com.webobjects.foundation.NSMutableArray.immutableClone()

      _options.add("name:'" + uploadName() + "'");
      if (hasBinding(Bindings.onChange)) _options.add("onChange:" + valueForBinding(Bindings.onChange));
      if (hasBinding(Bindings.onComplete)) _options.add("onComplete:" + valueForBinding(Bindings.onComplete));
      if (hasBinding(Bindings.onSubmit)) _options.add("onChange:" + valueForBinding(Bindings.onSubmit));

      return _options.immutableClone();
    }
   
    public String options() {
      return _options().componentsJoinedByString(", ");
    }
View Full Code Here

Examples of com.webobjects.foundation.NSMutableArray.immutableClone()

        if (task != null) {
          tasks.add(task);
        } //~ if (task != null)
      } //~ if (thread instanceof ERXTaskThread)
    }
    return tasks.immutableClone();
  }

  /**
   * @return NSArray of {@link ERXTaskInfo}
   */
 
View Full Code Here

Examples of com.webobjects.foundation.NSMutableArray.immutableClone()

          ERXTaskInfo info = new ERXTaskInfo(task, elapsedTime);
          taskInfos.add(info);
        } //~ if (task != null)
      } //~ if (thread instanceof ERXTaskThread)
    }
    return taskInfos.immutableClone();
  }

  @SuppressWarnings("unchecked")
  public static <T> NSArray<T> taskForTaskClass(Class<T> clazz) {
    NSArray<ERXTaskInfo> taskInfos = taskInfos();
View Full Code Here

Examples of com.webobjects.foundation.NSMutableArray.immutableClone()

          if(task != null) {
            tasks.addObject(task);
          }
        }
      }
      return tasks.immutableClone();
    }
  }

  public abstract class DefaultImplementation implements Runnable, ERXLongResponseTask {
   
View Full Code Here

Examples of com.webobjects.foundation.NSMutableArray.immutableClone()

      }
    }
    if (actionClassName != null && temp.count() == 0) {
      temp.addObject(actionClassName);
    }
    return temp.immutableClone();
  }
 
  /**
   * Returns a dictionary similar to the normal request form value dict.
   * Translates /cgi-bin/.../wpa/foo/bar=2/baz into {foo = foo; bar = 2;
View Full Code Here

Examples of com.webobjects.foundation.NSMutableArray.immutableClone()

      if (hasBinding(Bindings.evalScripts)) _options.add("evalScripts: " + evalScripts());
      if (hasBinding(Bindings.onSuccess)) _options.add("onSuccess: " + valueForBinding(Bindings.onSuccess));
      if (hasBinding(Bindings.onComplete)) _options.add("onComplete: " + valueForBinding(Bindings.onComplete));
      if (hasBinding(Bindings.onCreate)) _options.add("onCreate: " + valueForBinding(Bindings.onCreate));

      return _options.immutableClone();
    }
   
    public String options() {
      return _options().componentsJoinedByString(",");
    }
View Full Code Here

Examples of com.webobjects.foundation.NSMutableArray.immutableClone()

      if (hasBinding(Bindings.name)) _options.add("name:'" + valueForBinding(Bindings.name) + "'");
      if (hasBinding(Bindings.onChange)) _options.add("onChange:" + valueForBinding(Bindings.onChange));
      if (hasBinding(Bindings.onComplete)) _options.add("onComplete:" + valueForBinding(Bindings.onComplete));
      if (hasBinding(Bindings.onSubmit)) _options.add("onChange:" + valueForBinding(Bindings.onSubmit));

      return _options.immutableClone();
    }
   
    public String options() {
      return _options().componentsJoinedByString(", ");
    }
View Full Code Here

Examples of com.webobjects.foundation.NSMutableDictionary.immutableClone()

    else
    {
      tmp = new NSMutableDictionary("1", "any");
    }

    return tmp.immutableClone();
  }

  public boolean isJsonComplex()
  {
    boolean complex = booleanValueForBinding("jsonComplex", false);
View Full Code Here

Examples of com.webobjects.foundation.NSMutableDictionary.immutableClone()

          abdictionary.setObjectForKey(NSKeyValueCoding.NullValue, key);
        }
      }
      NSDictionary finalDictionary = abdictionary;
      if (immutableClone) {
        finalDictionary = abdictionary.immutableClone();
      }
      state.setSerialized(o, finalDictionary);
      return finalDictionary;
    }
    catch (UnmarshallException e) {
View Full Code Here

Examples of com.webobjects.foundation.NSMutableDictionary.immutableClone()

  private NSDictionary optionsWithPrimaryKeySupportDisabled(NSDictionary options) {
    NSMutableDictionary mutableOptions = options.mutableClone();
    mutableOptions.setObjectForKey("NO", EOSchemaGeneration.CreatePrimaryKeySupportKey);
    mutableOptions.setObjectForKey("NO", EOSchemaGeneration.DropPrimaryKeySupportKey);
    return mutableOptions.immutableClone();
  }

  private void createPrimaryKeySupportForModel(EOModel eomodel, EOAdaptorChannel channel, EOSynchronizationFactory syncFactory) {
    try {
      // AK: the (Object) cast is needed, because in 5.4 new NSArray(obj)
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.