Example usage for org.apache.commons.lang.builder ToStringBuilder append

List of usage examples for org.apache.commons.lang.builder ToStringBuilder append

Introduction

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

Prototype

public ToStringBuilder append(String fieldName, short[] array) 

Source Link

Document

Append to the toString a short array.

Usage

From source file:eu.datex2.schema._2_0rc2._2_0.Validity.java

/**
 * To string./*from   ww w.ja v a  2 s .  c  o m*/
 * 
 * @param toStringBuilder
 *            the to string builder
 */
public final void toString(final ToStringBuilder toStringBuilder) {
    ValidityStatusEnum theValidityStatus;
    theValidityStatus = this.getValidityStatus();
    toStringBuilder.append("validityStatus", theValidityStatus);
    OverallPeriod theValidityTimeSpecification;
    theValidityTimeSpecification = this.getValidityTimeSpecification();
    toStringBuilder.append("validityTimeSpecification", theValidityTimeSpecification);
    ExtensionType theValidityExtension;
    theValidityExtension = this.getValidityExtension();
    toStringBuilder.append("validityExtension", theValidityExtension);
}

From source file:eu.datex2.schema._2_0rc2._2_0.TrafficElement.java

public void toString(final ToStringBuilder toStringBuilder) {
    super.toString(toStringBuilder);
    ExtensionType theTrafficElementExtension;
    theTrafficElementExtension = this.getTrafficElementExtension();
    toStringBuilder.append("trafficElementExtension", theTrafficElementExtension);
}

From source file:com.syncnapsis.data.model.AllianceMemberRank.java

@Override
public String toString() {
    ToStringBuilder builder = new ToStringBuilder(this);
    builder.append("id", id).append("version", version).append("rankName", rankName).append("visible", visible)
            .append("alliance", alliance.getId()).append("authorities", authorities.getId())
            .append("parent", parent.getId());
    return builder.toString();
}

From source file:ch.systemsx.cisd.openbis.generic.shared.dto.AuthorizationGroupPE.java

@Override
public final String toString() {
    final ToStringBuilder builder = new ToStringBuilder(this,
            ModifiedShortPrefixToStringStyle.MODIFIED_SHORT_PREFIX_STYLE);
    builder.append("code", getCode());
    builder.append("dbInstance", getDatabaseInstance());
    return builder.toString();
}

From source file:eu.datex2.schema._2_0rc2._2_0.OpenlrPoiWithAccessPoint.java

/**
 * {@inheritDoc}/*w  ww .  j  av a 2  s . c  o m*/
 */
@Override
public final void toString(final ToStringBuilder toStringBuilder) {
    super.toString(toStringBuilder);
    PointCoordinates theOpenlrCoordinate;
    theOpenlrCoordinate = this.getOpenlrCoordinate();
    toStringBuilder.append("openlrCoordinate", theOpenlrCoordinate);
    ExtensionType theOpenlrPoiWithAccessPointExtension;
    theOpenlrPoiWithAccessPointExtension = this.getOpenlrPoiWithAccessPointExtension();
    toStringBuilder.append("openlrPoiWithAccessPointExtension", theOpenlrPoiWithAccessPointExtension);
}

From source file:eu.datex2.schema._2_0rc2._2_0.OpenlrBaseLocationReferencePoint.java

/**
 * To string./* w  w  w  .  j a  v  a  2s. com*/
 *
 * @param toStringBuilder the to string builder
 */
public void toString(final ToStringBuilder toStringBuilder) {
    PointCoordinates theOpenlrCoordinate;
    theOpenlrCoordinate = this.getOpenlrCoordinate();
    toStringBuilder.append("openlrCoordinate", theOpenlrCoordinate);
    OpenlrLineAttributes theOpenlrLineAttributes;
    theOpenlrLineAttributes = this.getOpenlrLineAttributes();
    toStringBuilder.append("openlrLineAttributes", theOpenlrLineAttributes);
    ExtensionType theOpenlrBaseLocationReferencePointExtension;
    theOpenlrBaseLocationReferencePointExtension = this.getOpenlrBaseLocationReferencePointExtension();
    toStringBuilder.append("openlrBaseLocationReferencePointExtension",
            theOpenlrBaseLocationReferencePointExtension);
}

From source file:eu.datex2.schema._2_0rc2._2_0.OpenlrOffsets.java

/**
 * To string.//from   w  ww  . ja v  a 2 s  .c  o m
 *
 * @param toStringBuilder the to string builder
 */
public final void toString(final ToStringBuilder toStringBuilder) {
    BigInteger theOpenlrPositiveOffset;
    theOpenlrPositiveOffset = this.getOpenlrPositiveOffset();
    toStringBuilder.append("openlrPositiveOffset", theOpenlrPositiveOffset);
    BigInteger theOpenlrNegativeOffset;
    theOpenlrNegativeOffset = this.getOpenlrNegativeOffset();
    toStringBuilder.append("openlrNegativeOffset", theOpenlrNegativeOffset);
    ExtensionType theOpenlrOffsetsExtension;
    theOpenlrOffsetsExtension = this.getOpenlrOffsetsExtension();
    toStringBuilder.append("openlrOffsetsExtension", theOpenlrOffsetsExtension);
}

From source file:eu.datex2.schema._2_0rc2._2_0.OpenlrPointAlongLine.java

/**
 * {@inheritDoc}//from  w  w  w.j a  v  a2  s. co m
 */
@Override
public final void toString(final ToStringBuilder toStringBuilder) {
    super.toString(toStringBuilder);
    ExtensionType theOpenlrPointAlongLineExtension;
    theOpenlrPointAlongLineExtension = this.getOpenlrPointAlongLineExtension();
    toStringBuilder.append("openlrPointAlongLineExtension", theOpenlrPointAlongLineExtension);
}

From source file:eu.datex2.schema._2_0rc2._2_0.Accident.java

/**
 * {@inheritDoc}//from w w w .  j  a v  a 2 s  . c  om
 */
@Override
public final void toString(final ToStringBuilder toStringBuilder) {
    super.toString(toStringBuilder);
    List<AccidentTypeEnum> theAccidentType;
    theAccidentType = this.getAccidentType();
    toStringBuilder.append("accidentType", theAccidentType);
    ExtensionType theAccidentExtension;
    theAccidentExtension = this.getAccidentExtension();
    toStringBuilder.append("accidentExtension", theAccidentExtension);
}

From source file:com.safetys.framework.jmesa.worksheet.Worksheet.java

@Override
public String toString() {
    ToStringBuilder builder = new ToStringBuilder(this);
    builder.append("id", id);
    builder.append("rows", worksheetRows);
    return builder.toString();
}