Package org.apache.cayenne.configuration

Examples of org.apache.cayenne.configuration.DataNodeDescriptor


        Collection<DataNodeDescriptor> matchingNode = dataChannelDescriptor
                .getNodeDescriptors();

        Iterator<DataNodeDescriptor> it = matchingNode.iterator();
        while (it.hasNext()) {
            DataNodeDescriptor node = it.next();
            if (node.getName().equals(newName)) {
                // there is an entity with the same name
                throw new ValidationException("There is another DataNode named '"
                        + newName
                        + "'. Use a different name.");
            }
View Full Code Here

TOP

Related Classes of org.apache.cayenne.configuration.DataNodeDescriptor

Copyright © 2018 www.massapicom. 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.