List of usage examples for org.apache.commons.lang.builder ToStringStyle SHORT_PREFIX_STYLE
ToStringStyle SHORT_PREFIX_STYLE
To view the source code for org.apache.commons.lang.builder ToStringStyle SHORT_PREFIX_STYLE.
Click Source Link
From source file:org.dresdenocl.pivotmodel.impl.ParameterImpl.java
/** * Changed EMF implementation in order to use a consistent style. In addition, * the getter methods are used to get attribute values. This is important if * repository-specific subclasses have alternative ways of obtaining their * attribute values./*from ww w . ja va 2 s . c o m*/ * * @generated NOT */ @Override public String toString() { return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).appendToString(super.toString()) .append("kind", kind).toString(); //$NON-NLS-1$ }
From source file:org.dresdenocl.pivotmodel.impl.PrimitiveTypeImpl.java
/** * The EMF implementation is changed to use the Jakarta Commons Lang * ToStringBuilder instead./* ww w . j a v a 2 s. c om*/ * * @generated NOT */ @Override public String toString() { return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).appendToString(super.toString()) .append("kind", getKind()).toString(); //$NON-NLS-1$ }
From source file:org.dresdenocl.pivotmodel.impl.TypedElementImpl.java
/** * Overridden to include the type and generic type in the stringification of * subclasses./* w w w . j a v a 2 s . c om*/ * * @see org.dresdenocl.pivotmodel.impl.NamedElementImpl#toString() */ @Override public String toString() { return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).appendToString(super.toString()) .append("type", getType()).append("genericType", getGenericType()) //$NON-NLS-1$ //$NON-NLS-2$ .toString(); }
From source file:org.dresdenocl.pivotmodel.impl.TypeImpl.java
/** * Returns a string representing this <code>Type</code>. Includes its name and * namespace./*ww w . ja va 2 s . com*/ * * @see java.lang.Object#toString() */ @Override public String toString() { return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", getName()) //$NON-NLS-1$ .append("namespace", getNamespace()).toString(); //$NON-NLS-1$ }
From source file:org.eclipse.gyrex.http.jetty.admin.ChannelDescriptor.java
@Override public String toString() { final ToStringBuilder builder = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE); builder.append("id", id); builder.append("port", port); builder.append("secure", secure); builder.append("certificateId", certificateId); builder.append("secureChannelId", secureChannelId); return builder.toString(); }
From source file:org.eclipse.gyrex.http.jetty.internal.admin.CertificateDefinition.java
@Override public String toString() { final ToStringBuilder builder = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE); builder.append("id", id); builder.append("keystoreBytes", null != keystoreBytes ? "(available)" : null); builder.append("keystorePassword", null != keystorePassword ? "(set)" : null); builder.append("keyPassword", null != keyPassword ? "(set)" : null); return builder.toString(); }
From source file:org.eclipse.gyrex.p2.internal.packages.InstallableUnitReference.java
@Override public String toString() { final ToStringBuilder builder = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE); builder.append("id", id); builder.append("version", version); return builder.toString(); }
From source file:org.eclipse.gyrex.p2.internal.packages.PackageDefinition.java
@Override public String toString() { final ToStringBuilder builder = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE); builder.append("id", id); builder.append("componentsToInstall", componentsToInstall); builder.append("nodeFilter", nodeFilter); return builder.toString(); }
From source file:org.eclipse.gyrex.p2.internal.repositories.RepositoryDefinition.java
@Override public String toString() { final ToStringBuilder builder = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE); builder.append("id", id); builder.append("location", location); builder.append("nodeFilter", nodeFilter); return builder.toString(); }
From source file:org.eclipse.jubula.tools.internal.objects.ComponentIdentifier.java
/** * {@inheritDoc}//from www . j av a 2s . c om */ public String toString() { return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE) .append("component class", m_componentClassName) //$NON-NLS-1$ .append("supported class", m_supportedClassName) //$NON-NLS-1$ .append("hierarchy", m_hierarchyNames) //$NON-NLS-1$ .append("neigbours", m_neighbours) //$NON-NLS-1$ .append("alternative name", m_alternativeDisplayName) //$NON-NLS-1$ .toString(); }