List of usage examples for org.apache.commons.lang.builder ToStringBuilder append
public ToStringBuilder append(String fieldName, short[] array)
Append to the toString
a short
array.
From source file:ch.systemsx.cisd.openbis.generic.shared.dto.VocabularyTermPE.java
@Override public final String toString() { final ToStringBuilder builder = new ToStringBuilder(this, ModifiedShortPrefixToStringStyle.MODIFIED_SHORT_PREFIX_STYLE); builder.append("code", getCode()); builder.append("label", getLabel()); return builder.toString(); }
From source file:de.escidoc.core.aa.business.persistence.EscidocRole.java
/** * See Interface for functional description. * * @see Object#toString()/*from w w w. j a v a 2s. c o m*/ */ @Override public String toString() { ToStringBuilder toStringBuilder = new ToStringBuilder(this).append("roleName", getRoleName()).append("id", getId()); if (isLimited()) { toStringBuilder = toStringBuilder.append("# Limitation Conditions", getScopeDefs().size()); } return toStringBuilder.toString(); }
From source file:eu.datex2.schema._2_0rc2._2_0.PointCoordinates.java
/** * To string.//from ww w .j a va 2 s.com * * @param toStringBuilder * the to string builder */ public final void toString(final ToStringBuilder toStringBuilder) { float theLatitude; theLatitude = this.getLatitude(); toStringBuilder.append("latitude", theLatitude); float theLongitude; theLongitude = this.getLongitude(); toStringBuilder.append("longitude", theLongitude); ExtensionType thePointCoordinatesExtension; thePointCoordinatesExtension = this.getPointCoordinatesExtension(); toStringBuilder.append("pointCoordinatesExtension", thePointCoordinatesExtension); }
From source file:ch.systemsx.cisd.openbis.generic.shared.dto.GroupPE.java
@Override public final String toString() { final ToStringBuilder builder = new ToStringBuilder(this, ModifiedShortPrefixToStringStyle.MODIFIED_SHORT_PREFIX_STYLE); builder.append("code", getCode()); builder.append("description", getDescription()); builder.append("home", isHome()); return builder.toString(); }
From source file:de.iteratec.iteraplan.model.user.PermissionAttrTypeGroup.java
@Override public String toString() { ToStringBuilder builder = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE); builder.append("id", getId()); builder.append("atg", getAttributeTypeGroupName()); builder.append("role", getRoleName()); builder.append("readPerm", isReadPermission()); builder.append("writePerm", isWritePermission()); return builder.toString(); }
From source file:com.jaspersoft.jasperserver.api.metadata.user.domain.client.UserImpl.java
public String toString() { ToStringBuilder builder = new ToStringBuilder(this); builder.append("username", getUsername()); if (getTenantId() != null) { // only include tenant if not null builder.append("tenantId", getTenantId()); }// www . ja v a 2s .c om return builder.toString(); }
From source file:ch.systemsx.cisd.openbis.generic.shared.dto.FilterPE.java
@Override public final String toString() { final ToStringBuilder builder = new ToStringBuilder(this, ModifiedShortPrefixToStringStyle.MODIFIED_SHORT_PREFIX_STYLE); builder.append("name", getName()); builder.append("grid", getGridId()); builder.append("database", getDatabaseInstance()); return builder.toString(); }
From source file:eu.datex2.schema._2_0rc2._2_0.OpenlrGeoCoordinate.java
/** * To string.//from w w w . j a va 2 s .c om * * @param toStringBuilder the to string builder */ public final void toString(final ToStringBuilder toStringBuilder) { PointCoordinates theOpenlrCoordinate; theOpenlrCoordinate = this.getOpenlrCoordinate(); toStringBuilder.append("openlrCoordinate", theOpenlrCoordinate); ExtensionType theOpenlrGeoCoordinateExtension; theOpenlrGeoCoordinateExtension = this.getOpenlrGeoCoordinateExtension(); toStringBuilder.append("openlrGeoCoordinateExtension", theOpenlrGeoCoordinateExtension); }
From source file:eu.datex2.schema._2_0rc2._2_0.Point.java
/** * {@inheritDoc}//from www. j av a2 s . c o m */ @Override public final void toString(final ToStringBuilder toStringBuilder) { super.toString(toStringBuilder); PointExtensionType thePointExtension; thePointExtension = this.getPointExtension(); toStringBuilder.append("pointExtension", thePointExtension); }
From source file:com.echosource.ada.core.AdaFile.java
/** * @see java.lang.Object#toString()//from w ww.ja v a 2 s.c o m */ @Override public String toString() { ToStringBuilder builder = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE); builder.append("filename", filename); builder.append("longName", longName); builder.append("packageKey", packageKey); builder.append("parent", parent); builder.append("unitTest", unitTest); return builder.toString(); }