Examples of prototypeName()


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

            for (Enumeration entitiesEnum = model.entities().objectEnumerator(); entitiesEnum.hasMoreElements();) {
              EOEntity entity = (EOEntity) entitiesEnum.nextElement();
              for (Enumeration attributesEnum = entity.attributes().objectEnumerator(); attributesEnum.hasMoreElements();) {
                EOAttribute attribute = (EOAttribute) attributesEnum.nextElement();
                if (!attribute.isFlattened()) {
                  String prototypeAttributeName = attribute.prototypeName();
                  if (prototypeAttributeName == null) {
                    if (attribute.externalType() == null) {
                      log.warn(model.name() + "/" + entity.name() + "/" + attribute.name() + " does not have a prototype attribute name.  This can occur if the model cannot resolve ANY prototypes when loaded.  There must be a stub prototype for the model to load with that can then be replaced with the appropriate database-specific model.");
                    }
                  }
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.