* EOAdaptorContext aContext = anAdaptor.createAdaptorContext();
* EOAdaptorChannel aChannel = aContext.createAdaptorChannel(); EOModel
* aModel = aChannel.describeModelWithTableNames(null);
*/
// EOModelGroup.defaultGroup().addModel(aModel);
EOQualifier aPathQualifier = new EOKeyValueQualifier("parent", EOQualifier.QualifierOperatorEqual, args.length > 0 ? args[0] : System.getProperty("user.home"));
EOQualifier aNameQualifier = new EOKeyValueQualifier("name", (EOQualifier.QualifierOperatorCaseInsensitiveLike), "*M*");
EOQualifier aNotQualifier = new EONotQualifier(aNameQualifier);
EOQualifier aQualifier = new EOAndQualifier(new NSArray(new Object[] { aPathQualifier, aNotQualifier }));
EOFetchSpecification aFetchSpecification = new EOFetchSpecification("FSDirectory", aQualifier, null);
EOEditingContext anEditingContext = new EOEditingContext();
NSArray someObjects = anEditingContext.objectsWithFetchSpecification(aFetchSpecification);
System.out.println("Fetch result for '" + aQualifier + "': " + someObjects.valueForKey("name"));