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

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

Introduction

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

Prototype

ToStringStyle SHORT_PREFIX_STYLE

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

Click Source Link

Document

The short prefix toString style.

Usage

From source file:org.dresdenocl.essentialocl.types.impl.TypeTypeImpl.java

/**
 * Returns a string representation of this <code>TypeType</code> using the
 * Jakarta Commons Lang {@link ToStringBuilder}.
 * //from w  ww .j  a  v  a  2s .  co m
 * @see java.lang.Object#toString()
 */
@Override
public String toString() {

    return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).appendSuper(super.toString())
            .append("representedType", //$NON-NLS-1$
                    representedType)
            .toString();
}

From source file:org.dresdenocl.metamodels.ecore.internal.model.EcoreModel.java

@Override
public String toString() {

    String result;/*from   w  w w  .  j  a va  2 s.  co m*/

    result = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE)
            .append("resource", this.resource.getURI()).toString();

    return result;
}

From source file:org.dresdenocl.modelbus.descriptor.AbstractDescriptor.java

@Override
public String toString() {

    return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("id", id).toString(); //$NON-NLS-1$
}

From source file:org.dresdenocl.modelbus.ui.internal.views.util.ModelInstanceSelectionAction.java

public String toString() {

    String result;//from w  w  w  .  j  a  va  2 s  .  co m

    result = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE)
            .append("modelInstance", myModelInstance).toString();

    return result;
}

From source file:org.dresdenocl.modelbus.ui.internal.views.util.ModelSelectionAction.java

@Override
public String toString() {

    String result;/*from w  w w.  j av  a  2  s  .c  o m*/

    result = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("model", this.model).toString();

    return result;
}

From source file:org.dresdenocl.pivotmodel.impl.ConstraintImpl.java

/**
 * Changed EMF implementation to use the Jakarta Commons Lang
 * {@link ToStringBuilder}./*from  w  ww.j ava 2s  .  c  om*/
 * 
 * @generated NOT
 */
@Override
public String toString() {

    return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).appendToString(super.toString())
            .append("kind", getKind()).append("specification", getSpecification()) //$NON-NLS-1$ //$NON-NLS-2$
            .append("constrainedElement", getConstrainedElement()).append("definedFeature", //$NON-NLS-1$ //$NON-NLS-2$
                    getDefinedFeature())
            .toString();
}

From source file:org.dresdenocl.pivotmodel.impl.ExpressionImpl.java

/**
 * Adapted the EMF implementation to use Jakarta Commons Lang instead.
 * /*from ww w .j a  v  a 2 s . co  m*/
 * @see java.lang.Object#toString()
 * 
 * @generated NOT
 */
@Override
public String toString() {

    return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).appendSuper(super.toString())
            .append("body", body).append("language", language).toString(); //$NON-NLS-1$ //$NON-NLS-2$
}

From source file:org.dresdenocl.pivotmodel.impl.FeatureImpl.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.  j a  v  a  2s .  c om*/
 * 
 * @generated NOT
 */
@Override
public String toString() {

    return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).appendToString(super.toString())
            .append("static", isStatic()).toString(); //$NON-NLS-1$
}

From source file:org.dresdenocl.pivotmodel.impl.NamedElementImpl.java

/**
 * Changed EMF implementation to avoid call to super class that includes the
 * hash code of the object. 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.
 * // w ww.  j  a v  a  2s  .  c  o m
 * @generated NOT
 */
@Override
public String toString() {

    return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("name", getName()).toString(); //$NON-NLS-1$
}

From source file:org.dresdenocl.pivotmodel.impl.OperationImpl.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./*w w  w  .j  ava 2 s .c  o  m*/
 * 
 * @generated NOT
 */
@Override
public String toString() {

    return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).appendToString(super.toString())
            .toString();
}