Example usage for org.apache.commons.lang.builder ToStringStyle MULTI_LINE_STYLE

List of usage examples for org.apache.commons.lang.builder ToStringStyle MULTI_LINE_STYLE

Introduction

In this page you can find the example usage for org.apache.commons.lang.builder ToStringStyle MULTI_LINE_STYLE.

Prototype

ToStringStyle MULTI_LINE_STYLE

To view the source code for org.apache.commons.lang.builder ToStringStyle MULTI_LINE_STYLE.

Click Source Link

Document

The multi line toString style.

Usage

From source file:org.apache.ojb.broker.metadata.SequenceDescriptor.java

public String toString() {
    ToStringBuilder buf = new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE);
    buf.append("   sequenceManagerClass", getSequenceManagerClass()).append("   Properties",
            getConfigurationProperties());
    return buf.toString();
}

From source file:org.apache.ojb.broker.PBLifeCycleEvent.java

/**
 * {@inheritDoc}//from   w w w  . j  a  v  a  2  s  .  c  om
 */
public String toString() {
    ToStringBuilder buf = new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE);
    buf.append("target object", target).append("source object", getSource()).append("eventType",
            eventType.toString());
    return buf.toString();
}

From source file:org.apache.ojb.broker.util.WrappedConnection.java

public String toString() {
    return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("wrapped connection", (_conn != null ? _conn.toString() : null)).toString();
}

From source file:org.apache.ojb.ejb.CategoryVO.java

public String toString() {
    ToStringBuilder buf = new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE);
    buf.append("objId", objId).append("categoryName", categoryName).append("description", description)
            .append("assignedArticles", assignedArticles);
    return buf.toString();
}

From source file:org.apache.ojb.ejb.PersonVO.java

public String toString() {
    ToStringBuilder buf = new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE);
    buf.append("personId", personId).append("firstName", firstName).append("lastName", lastName).append("grade",
            grade);//from  w  ww. j  a va  2  s  . com
    return buf.toString();
}

From source file:org.apache.ojb.odmg.ImplementationImpl.java

public String toString() {
    return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("implicitLocking", isImplicitLocking())
            .append("implicitWriteLocks", isImpliciteWriteLocks()).append("ordering", isOrdering())
            .append("oqlCollectionClass", getOqlCollectionClass()).append("txManager", getTxManager())
            .append("lockManager", getLockManager()).toString();
}

From source file:org.apache.ojb.odmg.ObjectEnvelopeTable.java

/** Returns a String representation of this object */
public String toString() {
    ToStringBuilder buf = new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE);
    String eol = SystemUtils.LINE_SEPARATOR;
    buf.append("# ObjectEnvelopeTable dump:" + eol + "start[");
    Enumeration en = elements();//from w w  w  .jav  a2 s .co m
    while (en.hasMoreElements()) {
        ObjectEnvelope mod = (ObjectEnvelope) en.nextElement();
        buf.append(mod.toString() + eol);
    }
    buf.append("]end");
    return buf.toString();
}

From source file:org.apromore.canoniser.yawl.internal.utils.ConversionUtils.java

/**
 * Returns a nicely formatted String with information about any Node
 *
 * @param node//  w  w w . j a  va2 s  . co m
 *            NodeType
 * @return readable String
 */
public static String toString(final NodeType node) {
    final ToStringBuilder sb = new ToStringBuilder(node, ToStringStyle.MULTI_LINE_STYLE);
    return sb.append("id", node.getId()).append("name", node.getName()).toString();
}

From source file:org.apromore.canoniser.yawl.internal.utils.ConversionUtils.java

/**
 * Returns a nicely formatted String with information about a Work Node
 *
 * @param node//w  w  w  .j  a  v a 2 s .  c  o m
 *            NodeType
 * @return readable String
 */
public static String toString(final WorkType node) {
    final ToStringBuilder sb = new ToStringBuilder(node, ToStringStyle.MULTI_LINE_STYLE);
    return sb.append("id", node.getId()).append("name", node.getName())
            .append("cancelNode", node.getCancelNodeId()).append("cancelEdge", node.getCancelEdgeId())
            .append("inputExpr", node.getInputExpr()).append("outputExpr", node.getInputExpr()).toString();
}

From source file:org.apromore.canoniser.yawl.internal.utils.ConversionUtils.java

/**
 * Returns a nicely formatted String with information about an Edge
 *
 * @param edge/*from www . ja va 2 s  . c om*/
 *            EdgeType
 * @return readable String
 */
public static String toString(final EdgeType edge) {
    final ToStringBuilder sb = new ToStringBuilder(edge, ToStringStyle.MULTI_LINE_STYLE);
    return sb.append("source", edge.getSourceId()).append("target", edge.getTargetId())
            .append("id", edge.getId()).toString();
}