Model model = (Model) load(inFile).get(0);
Class umlClass = (Class) model.getOwnedMembers().get(0).getOwnedElements().get(0);
Property umlProperty = (Property) umlClass.getOwnedAttributes().get(0);
//initialize OCL stuff
OCL ocl = OCL.newInstance();
Helper helper = ocl.createOCLHelper();
out(OCL.initialize(OCLParser.RESOURCE_SET));
helper.setAttributeContext(umlClass, umlProperty);
helper.setContext((Classifier) model.getOwnedMembers().get(0).getOwnedElements().get(0));
out("The following elements are contained in the class:");
out(model.getOwnedMembers().get(0).getOwnedElements().get(0).toString());