Package org.apache.cayenne.project

Examples of org.apache.cayenne.project.ProjectPath


     */
    public Validator(Project project, ConfigStatus status) {
        this(project);

        if (status.hasFailures()) {
            ProjectPath path = new ProjectPath(project);

            for (final String message : status.getOtherFailures()) {
                registerError(message, path);
            }

View Full Code Here


        // reset
        DataMap dataMap = new DataMap(name);
        dataMap.setDefaultPackage(context.getEntityMap().getPackageName());
        dataMap.setDefaultSchema(context.getEntityMap().getSchema());

        this.targetPath = new ProjectPath(dataMap);

        if (visitor == null) {
            visitor = createVisitor();
        }
View Full Code Here

        // reset
        DataMap dataMap = new DataMap(name);
        dataMap.setDefaultPackage(context.getEntityMap().getPackageName());
        dataMap.setDefaultSchema(context.getEntityMap().getSchema());

        this.targetPath = new ProjectPath(dataMap);

        if (visitor == null) {
            visitor = createVisitor();
        }
View Full Code Here

    static void traverse(
            Object node,
            HierarchicalTreeVisitor visitor,
            ProjectPath parentPath) {

        ProjectPath path = parentPath != null
                ? parentPath.appendToPath(node)
                : new ProjectPath(node);

        if (visitor.onStartNode(path)) {

            ClassTraversalDescriptor descriptor = getDescriptor(node.getClass());
            Class<?>[] childTypes = descriptor.getTraversableChildTypes();
View Full Code Here

     */
    public Validator(Project project, ConfigStatus status) {
        this(project);

        if (status.hasFailures()) {
            ProjectPath path = new ProjectPath(project);

            for (final String message : status.getOtherFailures()) {
                registerError(message, path);
            }

View Full Code Here

    static void traverse(
            Object node,
            HierarchicalTreeVisitor visitor,
            ProjectPath parentPath) {

        ProjectPath path = parentPath != null
                ? parentPath.appendToPath(node)
                : new ProjectPath(node);

        if (visitor.onStartNode(path)) {

            ClassTraversalDescriptor descriptor = getDescriptor(node.getClass());
            Class<?>[] childTypes = descriptor.getTraversableChildTypes();
View Full Code Here

     */
    public Validator(Project project, ConfigStatus status) {
        this(project);

        if (status.hasFailures()) {
            ProjectPath path = new ProjectPath(project);

            Iterator it = status.getOtherFailures().iterator();
            while (it.hasNext()) {
                registerError((String) it.next(), path);
            }
View Full Code Here

        // reset
        DataMap dataMap = new DataMap(name);
        dataMap.setDefaultPackage(context.getEntityMap().getPackageName());
        dataMap.setDefaultSchema(context.getEntityMap().getSchema());

        this.targetPath = new ProjectPath(dataMap);

        if (visitor == null) {
            visitor = createVisitor();
        }
View Full Code Here

        // reset
        DataMap dataMap = new DataMap(name);
        dataMap.setDefaultPackage(context.getEntityMap().getPackageName());
        dataMap.setDefaultSchema(context.getEntityMap().getSchema());

        this.targetPath = new ProjectPath(dataMap);

        if (visitor == null) {
            visitor = createVisitor();
        }
View Full Code Here

    static void traverse(
            Object node,
            HierarchicalTreeVisitor visitor,
            ProjectPath parentPath) {

        ProjectPath path = parentPath != null
                ? parentPath.appendToPath(node)
                : new ProjectPath(node);

        if (visitor.onStartNode(path)) {

            ClassTraversalDescriptor descriptor = getDescriptor(node.getClass());
            Class[] childTypes = descriptor.getTraversableChildTypes();
View Full Code Here

TOP

Related Classes of org.apache.cayenne.project.ProjectPath

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.