Package com.webobjects.eoaccess

Examples of com.webobjects.eoaccess.EOAttribute.encodeIntoPropertyList()


            Enumeration partialAttributes = partialExtensionEntity.attributes().objectEnumerator();
            while (partialAttributes.hasMoreElements()) {
              EOAttribute partialAttribute = (EOAttribute) partialAttributes.nextElement();
              if (partialEntity.attributeNamed(partialAttribute.name()) == null) {
                NSMutableDictionary<String, Object> attributePropertyList = new NSMutableDictionary<String, Object>();
                partialAttribute.encodeIntoPropertyList(attributePropertyList);
                String factoryMethodArgumentType = (String) attributePropertyList.objectForKey("factoryMethodArgumentType");
                // OFFICIALLY THE DUMBEST DAMN THING I'VE EVER
                // SEEN
                if ("EOFactoryMethodArgumentIsString".equals(factoryMethodArgumentType)) {
                  attributePropertyList.setObjectForKey("EOFactoryMethodArgumentIsNSString", "factoryMethodArgumentType");
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.