Package org.apache.isis.core.commons.util

Examples of org.apache.isis.core.commons.util.ToString


    // toString
    // //////////////////////////////////////////////////

    @Override
    public String toString() {
        return new ToString(this).append("changes", changes).toString();
    }
View Full Code Here


    // toString
    // ////////////////////////////////////////////////////////////////

    @Override
    public String toString() {
        return appendTo(new ToString(this)).toString();
    }
View Full Code Here

        return instanceSpecification.getPluralName() + ", " + size();
    }

    @Override
    public String toString() {
        final ToString s = new ToString(this);
        s.append("elements", instanceSpecification.getFullIdentifier());

        // title
        String title;
        try {
            title = "'" + this.titleString() + "'";
        } catch (final NullPointerException e) {
            title = "none";
        }
        s.append("title", title);

        s.append("vector", instances);

        return s.toString();
    }
View Full Code Here

    }

    @Override
    public String toString() {
        final ToString toString = new ToString(this);
        return toString.toString();
    }
View Full Code Here

        return getSpec().getPluralName();
    }

    @Override
    public String toString() {
        final ToString str = new ToString(this);
        str.append("class", type.getName());
        return str.toString();
    }
View Full Code Here

            LOG.debug("add adapter: #" + Long.toHexString(pojo.hashCode()) + " -> #" + Long.toHexString(adapter.hashCode()));
        }
        // log at end so that if toString needs adapters they're in maps.
        if (adapter.isResolved()) {
            if (LOG.isDebugEnabled()) {
                LOG.debug("add " + new ToString(pojo) + " as " + adapter);
            }
        }
    }
View Full Code Here

        return cardinality;
    }

    @Override
    public String toString() {
        final ToString str = ToString.createAnonymous(this);
        str.append("spec", getSpecification().getShortIdentifier());
        str.append("query", query.getDescription());
        return str.toString();
    }
View Full Code Here

        return matchesRange(true);
    }
   
    @Override
    public String toString() {
        final ToString str = ToString.createAnonymous(this);
        str.append("spec", getSpecification().getShortIdentifier());
        return str.toString();
    }
View Full Code Here

        objectStore.debugData(debug);
    }

    @Override
    public String toString() {
        final ToString toString = new ToString(this);
        if (objectStore != null) {
            toString.append("objectStore", objectStore.name());
        }
        if (persistAlgorithm != null) {
            toString.append("persistAlgorithm", persistAlgorithm.name());
        }
        return toString.toString();
    }
View Full Code Here

    // toString
    // //////////////////////////////////////////////////////

    @Override
    public String toString() {
        final ToString asString = new ToString(this);
        asString.append("context", getId());
        appendState(asString);
        return asString.toString();
    }
View Full Code Here

TOP

Related Classes of org.apache.isis.core.commons.util.ToString

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.