All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.anaptecs.spring.base.PrimitiveArraysObject Maven / Gradle / Ivy

The newest version!
/*
 * anaptecs GmbH, Ricarda-Huch-Str. 71, 72760 Reutlingen, Germany
 *
 * Copyright 2004 - 2019. All rights reserved.
 */
package com.anaptecs.spring.base;

import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.Arrays;

public class PrimitiveArraysObject {
  /**
   * Constant for the name of attribute "aBooleanArray".
   */
  public static final String ABOOLEANARRAY = "aBooleanArray";

  /**
   * Constant for the name of attribute "bBooleanArray".
   */
  public static final String BBOOLEANARRAY = "bBooleanArray";

  /**
   * Constant for the name of attribute "cBooleanArray".
   */
  public static final String CBOOLEANARRAY = "cBooleanArray";

  /**
   * Constant for the name of attribute "aByteArray".
   */
  public static final String ABYTEARRAY = "aByteArray";

  /**
   * Constant for the name of attribute "bByteArray".
   */
  public static final String BBYTEARRAY = "bByteArray";

  /**
   * Constant for the name of attribute "aShortArray".
   */
  public static final String ASHORTARRAY = "aShortArray";

  /**
   * Constant for the name of attribute "bShortArray".
   */
  public static final String BSHORTARRAY = "bShortArray";

  /**
   * Constant for the name of attribute "aIntegerArray".
   */
  public static final String AINTEGERARRAY = "aIntegerArray";

  /**
   * Constant for the name of attribute "bIntegerArray".
   */
  public static final String BINTEGERARRAY = "bIntegerArray";

  /**
   * Constant for the name of attribute "cIntegerArray".
   */
  public static final String CINTEGERARRAY = "cIntegerArray";

  /**
   * Constant for the name of attribute "aLongArray".
   */
  public static final String ALONGARRAY = "aLongArray";

  /**
   * Constant for the name of attribute "bLongArray".
   */
  public static final String BLONGARRAY = "bLongArray";

  /**
   * Constant for the name of attribute "aBigIntegerArray".
   */
  public static final String ABIGINTEGERARRAY = "aBigIntegerArray";

  /**
   * Constant for the name of attribute "aCharacterArray".
   */
  public static final String ACHARACTERARRAY = "aCharacterArray";

  /**
   * Constant for the name of attribute "bCharacterArray".
   */
  public static final String BCHARACTERARRAY = "bCharacterArray";

  /**
   * Constant for the name of attribute "aFloatArray".
   */
  public static final String AFLOATARRAY = "aFloatArray";

  /**
   * Constant for the name of attribute "bFloatArray".
   */
  public static final String BFLOATARRAY = "bFloatArray";

  /**
   * Constant for the name of attribute "aDoubleArray".
   */
  public static final String ADOUBLEARRAY = "aDoubleArray";

  /**
   * Constant for the name of attribute "bDoubleArray".
   */
  public static final String BDOUBLEARRAY = "bDoubleArray";

  /**
   * Constant for the name of attribute "aBigDecimalArray".
   */
  public static final String ABIGDECIMALARRAY = "aBigDecimalArray";

  /**
   * Constant for the name of attribute "aStringArray".
   */
  public static final String ASTRINGARRAY = "aStringArray";

  /**
   * Constant for the name of attribute "bStringArray".
   */
  public static final String BSTRINGARRAY = "bStringArray";

  /**
   * Constant for the name of attribute "cStringArray".
   */
  public static final String CSTRINGARRAY = "cStringArray";

  private boolean[] aBooleanArray;

  private Boolean[] bBooleanArray;

  private boolean[] cBooleanArray;

  private byte[] aByteArray;

  private Byte[] bByteArray;

  private short[] aShortArray;

  private Short[] bShortArray;

  private int[] aIntegerArray;

  private Integer[] bIntegerArray;

  private Integer[] cIntegerArray;

  private long[] aLongArray;

  private Long[] bLongArray;

  private BigInteger[] aBigIntegerArray;

  private char[] aCharacterArray;

  private Character[] bCharacterArray;

  private float[] aFloatArray;

  private Float[] bFloatArray;

  private double[] aDoubleArray;

  private Double[] bDoubleArray;

  private BigDecimal[] aBigDecimalArray;

  private String[] aStringArray;

  private String[] bStringArray;

  private String[] cStringArray;

  /**
   * Default constructor is only intended to be used for deserialization by tools like Jackson for JSON. For "normal"
   * object creation builder should be used instead.
   */
  protected PrimitiveArraysObject( ) {
  }

  /**
   * Initialize object using the passed builder.
   *
   * @param pBuilder Builder that should be used to initialize this object. The parameter must not be null.
   */
  protected PrimitiveArraysObject( Builder pBuilder ) {
    // Read attribute values from builder.
    aBooleanArray = pBuilder.aBooleanArray;
    bBooleanArray = pBuilder.bBooleanArray;
    cBooleanArray = pBuilder.cBooleanArray;
    aByteArray = pBuilder.aByteArray;
    bByteArray = pBuilder.bByteArray;
    aShortArray = pBuilder.aShortArray;
    bShortArray = pBuilder.bShortArray;
    aIntegerArray = pBuilder.aIntegerArray;
    bIntegerArray = pBuilder.bIntegerArray;
    cIntegerArray = pBuilder.cIntegerArray;
    aLongArray = pBuilder.aLongArray;
    bLongArray = pBuilder.bLongArray;
    aBigIntegerArray = pBuilder.aBigIntegerArray;
    aCharacterArray = pBuilder.aCharacterArray;
    bCharacterArray = pBuilder.bCharacterArray;
    aFloatArray = pBuilder.aFloatArray;
    bFloatArray = pBuilder.bFloatArray;
    aDoubleArray = pBuilder.aDoubleArray;
    bDoubleArray = pBuilder.bDoubleArray;
    aBigDecimalArray = pBuilder.aBigDecimalArray;
    aStringArray = pBuilder.aStringArray;
    bStringArray = pBuilder.bStringArray;
    cStringArray = pBuilder.cStringArray;
  }

  /**
   * Method returns a new builder.
   *
   * @return {@link Builder} New builder that can be used to create new PrimitiveArraysObject objects.
   */
  public static Builder builder( ) {
    return new Builder();
  }

  /**
   * Convenience method to create new instance of class PrimitiveArraysObject.
   *
   *
   * @param pCStringArray Value to which {@link #cStringArray} should be set.
   *
   * @return {@link com.anaptecs.spring.base.PrimitiveArraysObject}
   */
  public static PrimitiveArraysObject of( String[] pCStringArray ) {
    PrimitiveArraysObject.Builder lBuilder = PrimitiveArraysObject.builder();
    lBuilder.setCStringArray(pCStringArray);
    return lBuilder.build();
  }

  /**
   * Class implements builder to create a new instance of class PrimitiveArraysObject.
   */
  public static class Builder {
    private boolean[] aBooleanArray;

    private Boolean[] bBooleanArray;

    private boolean[] cBooleanArray;

    private byte[] aByteArray;

    private Byte[] bByteArray;

    private short[] aShortArray;

    private Short[] bShortArray;

    private int[] aIntegerArray;

    private Integer[] bIntegerArray;

    private Integer[] cIntegerArray;

    private long[] aLongArray;

    private Long[] bLongArray;

    private BigInteger[] aBigIntegerArray;

    private char[] aCharacterArray;

    private Character[] bCharacterArray;

    private float[] aFloatArray;

    private Float[] bFloatArray;

    private double[] aDoubleArray;

    private Double[] bDoubleArray;

    private BigDecimal[] aBigDecimalArray;

    private String[] aStringArray;

    private String[] bStringArray;

    private String[] cStringArray;

    /**
     * Use {@link PrimitiveArraysObject#builder()} instead of private constructor to create new builder.
     */
    protected Builder( ) {
    }

    /**
     * Use {@link PrimitiveArraysObject#builder(PrimitiveArraysObject)} instead of private constructor to create new
     * builder.
     */
    protected Builder( PrimitiveArraysObject pObject ) {
      if (pObject != null) {
        // Read attribute values from passed object.
        this.setABooleanArray(pObject.aBooleanArray);
        this.setBBooleanArray(pObject.bBooleanArray);
        this.setCBooleanArray(pObject.cBooleanArray);
        this.setAByteArray(pObject.aByteArray);
        this.setBByteArray(pObject.bByteArray);
        this.setAShortArray(pObject.aShortArray);
        this.setBShortArray(pObject.bShortArray);
        this.setAIntegerArray(pObject.aIntegerArray);
        this.setBIntegerArray(pObject.bIntegerArray);
        this.setCIntegerArray(pObject.cIntegerArray);
        this.setALongArray(pObject.aLongArray);
        this.setBLongArray(pObject.bLongArray);
        this.setABigIntegerArray(pObject.aBigIntegerArray);
        this.setACharacterArray(pObject.aCharacterArray);
        this.setBCharacterArray(pObject.bCharacterArray);
        this.setAFloatArray(pObject.aFloatArray);
        this.setBFloatArray(pObject.bFloatArray);
        this.setADoubleArray(pObject.aDoubleArray);
        this.setBDoubleArray(pObject.bDoubleArray);
        this.setABigDecimalArray(pObject.aBigDecimalArray);
        this.setAStringArray(pObject.aStringArray);
        this.setBStringArray(pObject.bStringArray);
        this.setCStringArray(pObject.cStringArray);
      }
    }

    /**
     * Method sets attribute {@link #aBooleanArray}.
* * @param pABooleanArray Value to which {@link #aBooleanArray} should be set. * @return {@link Builder} Instance of this builder to support chaining setters. Method never returns null. */ public Builder setABooleanArray( boolean[] pABooleanArray ) { // Assign value to attribute if (pABooleanArray != null) { aBooleanArray = new boolean[pABooleanArray.length]; System.arraycopy(pABooleanArray, 0, aBooleanArray, 0, pABooleanArray.length); } else { aBooleanArray = null; } return this; } /** * Method sets attribute {@link #bBooleanArray}.
* * @param pBBooleanArray Collection to which {@link #bBooleanArray} should be set. * @return {@link Builder} Instance of this builder to support chaining setters. Method never returns null. */ public Builder setBBooleanArray( Boolean[] pBBooleanArray ) { // Assign value to attribute if (pBBooleanArray != null) { bBooleanArray = new Boolean[pBBooleanArray.length]; System.arraycopy(pBBooleanArray, 0, bBooleanArray, 0, pBBooleanArray.length); } else { bBooleanArray = null; } return this; } /** * Method sets attribute {@link #cBooleanArray}.
* * @param pCBooleanArray Value to which {@link #cBooleanArray} should be set. * @return {@link Builder} Instance of this builder to support chaining setters. Method never returns null. */ public Builder setCBooleanArray( boolean[] pCBooleanArray ) { // Assign value to attribute if (pCBooleanArray != null) { cBooleanArray = new boolean[pCBooleanArray.length]; System.arraycopy(pCBooleanArray, 0, cBooleanArray, 0, pCBooleanArray.length); } else { cBooleanArray = null; } return this; } /** * Method sets attribute {@link #aByteArray}.
* * @param pAByteArray Value to which {@link #aByteArray} should be set. * @return {@link Builder} Instance of this builder to support chaining setters. Method never returns null. */ public Builder setAByteArray( byte[] pAByteArray ) { // Assign value to attribute if (pAByteArray != null) { aByteArray = new byte[pAByteArray.length]; System.arraycopy(pAByteArray, 0, aByteArray, 0, pAByteArray.length); } else { aByteArray = null; } return this; } /** * Method sets attribute {@link #bByteArray}.
* * @param pBByteArray Collection to which {@link #bByteArray} should be set. * @return {@link Builder} Instance of this builder to support chaining setters. Method never returns null. */ public Builder setBByteArray( Byte[] pBByteArray ) { // Assign value to attribute if (pBByteArray != null) { bByteArray = new Byte[pBByteArray.length]; System.arraycopy(pBByteArray, 0, bByteArray, 0, pBByteArray.length); } else { bByteArray = null; } return this; } /** * Method sets attribute {@link #aShortArray}.
* * @param pAShortArray Value to which {@link #aShortArray} should be set. * @return {@link Builder} Instance of this builder to support chaining setters. Method never returns null. */ public Builder setAShortArray( short[] pAShortArray ) { // Assign value to attribute if (pAShortArray != null) { aShortArray = new short[pAShortArray.length]; System.arraycopy(pAShortArray, 0, aShortArray, 0, pAShortArray.length); } else { aShortArray = null; } return this; } /** * Method sets attribute {@link #bShortArray}.
* * @param pBShortArray Collection to which {@link #bShortArray} should be set. * @return {@link Builder} Instance of this builder to support chaining setters. Method never returns null. */ public Builder setBShortArray( Short[] pBShortArray ) { // Assign value to attribute if (pBShortArray != null) { bShortArray = new Short[pBShortArray.length]; System.arraycopy(pBShortArray, 0, bShortArray, 0, pBShortArray.length); } else { bShortArray = null; } return this; } /** * Method sets attribute {@link #aIntegerArray}.
* * @param pAIntegerArray Value to which {@link #aIntegerArray} should be set. * @return {@link Builder} Instance of this builder to support chaining setters. Method never returns null. */ public Builder setAIntegerArray( int[] pAIntegerArray ) { // Assign value to attribute if (pAIntegerArray != null) { aIntegerArray = new int[pAIntegerArray.length]; System.arraycopy(pAIntegerArray, 0, aIntegerArray, 0, pAIntegerArray.length); } else { aIntegerArray = null; } return this; } /** * Method sets attribute {@link #bIntegerArray}.
* * @param pBIntegerArray Collection to which {@link #bIntegerArray} should be set. * @return {@link Builder} Instance of this builder to support chaining setters. Method never returns null. */ public Builder setBIntegerArray( Integer[] pBIntegerArray ) { // Assign value to attribute if (pBIntegerArray != null) { bIntegerArray = new Integer[pBIntegerArray.length]; System.arraycopy(pBIntegerArray, 0, bIntegerArray, 0, pBIntegerArray.length); } else { bIntegerArray = null; } return this; } /** * Method sets attribute {@link #cIntegerArray}.
* * @param pCIntegerArray Collection to which {@link #cIntegerArray} should be set. * @return {@link Builder} Instance of this builder to support chaining setters. Method never returns null. */ public Builder setCIntegerArray( Integer[] pCIntegerArray ) { // Assign value to attribute if (pCIntegerArray != null) { cIntegerArray = new Integer[pCIntegerArray.length]; System.arraycopy(pCIntegerArray, 0, cIntegerArray, 0, pCIntegerArray.length); } else { cIntegerArray = null; } return this; } /** * Method sets attribute {@link #aLongArray}.
* * @param pALongArray Value to which {@link #aLongArray} should be set. * @return {@link Builder} Instance of this builder to support chaining setters. Method never returns null. */ public Builder setALongArray( long[] pALongArray ) { // Assign value to attribute if (pALongArray != null) { aLongArray = new long[pALongArray.length]; System.arraycopy(pALongArray, 0, aLongArray, 0, pALongArray.length); } else { aLongArray = null; } return this; } /** * Method sets attribute {@link #bLongArray}.
* * @param pBLongArray Collection to which {@link #bLongArray} should be set. * @return {@link Builder} Instance of this builder to support chaining setters. Method never returns null. */ public Builder setBLongArray( Long[] pBLongArray ) { // Assign value to attribute if (pBLongArray != null) { bLongArray = new Long[pBLongArray.length]; System.arraycopy(pBLongArray, 0, bLongArray, 0, pBLongArray.length); } else { bLongArray = null; } return this; } /** * Method sets attribute {@link #aBigIntegerArray}.
* * @param pABigIntegerArray Collection to which {@link #aBigIntegerArray} should be set. * @return {@link Builder} Instance of this builder to support chaining setters. Method never returns null. */ public Builder setABigIntegerArray( BigInteger[] pABigIntegerArray ) { // Assign value to attribute if (pABigIntegerArray != null) { aBigIntegerArray = new BigInteger[pABigIntegerArray.length]; System.arraycopy(pABigIntegerArray, 0, aBigIntegerArray, 0, pABigIntegerArray.length); } else { aBigIntegerArray = null; } return this; } /** * Method sets attribute {@link #aCharacterArray}.
* * @param pACharacterArray Value to which {@link #aCharacterArray} should be set. * @return {@link Builder} Instance of this builder to support chaining setters. Method never returns null. */ public Builder setACharacterArray( char[] pACharacterArray ) { // Assign value to attribute if (pACharacterArray != null) { aCharacterArray = new char[pACharacterArray.length]; System.arraycopy(pACharacterArray, 0, aCharacterArray, 0, pACharacterArray.length); } else { aCharacterArray = null; } return this; } /** * Method sets attribute {@link #bCharacterArray}.
* * @param pBCharacterArray Collection to which {@link #bCharacterArray} should be set. * @return {@link Builder} Instance of this builder to support chaining setters. Method never returns null. */ public Builder setBCharacterArray( Character[] pBCharacterArray ) { // Assign value to attribute if (pBCharacterArray != null) { bCharacterArray = new Character[pBCharacterArray.length]; System.arraycopy(pBCharacterArray, 0, bCharacterArray, 0, pBCharacterArray.length); } else { bCharacterArray = null; } return this; } /** * Method sets attribute {@link #aFloatArray}.
* * @param pAFloatArray Value to which {@link #aFloatArray} should be set. * @return {@link Builder} Instance of this builder to support chaining setters. Method never returns null. */ public Builder setAFloatArray( float[] pAFloatArray ) { // Assign value to attribute if (pAFloatArray != null) { aFloatArray = new float[pAFloatArray.length]; System.arraycopy(pAFloatArray, 0, aFloatArray, 0, pAFloatArray.length); } else { aFloatArray = null; } return this; } /** * Method sets attribute {@link #bFloatArray}.
* * @param pBFloatArray Collection to which {@link #bFloatArray} should be set. * @return {@link Builder} Instance of this builder to support chaining setters. Method never returns null. */ public Builder setBFloatArray( Float[] pBFloatArray ) { // Assign value to attribute if (pBFloatArray != null) { bFloatArray = new Float[pBFloatArray.length]; System.arraycopy(pBFloatArray, 0, bFloatArray, 0, pBFloatArray.length); } else { bFloatArray = null; } return this; } /** * Method sets attribute {@link #aDoubleArray}.
* * @param pADoubleArray Value to which {@link #aDoubleArray} should be set. * @return {@link Builder} Instance of this builder to support chaining setters. Method never returns null. */ public Builder setADoubleArray( double[] pADoubleArray ) { // Assign value to attribute if (pADoubleArray != null) { aDoubleArray = new double[pADoubleArray.length]; System.arraycopy(pADoubleArray, 0, aDoubleArray, 0, pADoubleArray.length); } else { aDoubleArray = null; } return this; } /** * Method sets attribute {@link #bDoubleArray}.
* * @param pBDoubleArray Collection to which {@link #bDoubleArray} should be set. * @return {@link Builder} Instance of this builder to support chaining setters. Method never returns null. */ public Builder setBDoubleArray( Double[] pBDoubleArray ) { // Assign value to attribute if (pBDoubleArray != null) { bDoubleArray = new Double[pBDoubleArray.length]; System.arraycopy(pBDoubleArray, 0, bDoubleArray, 0, pBDoubleArray.length); } else { bDoubleArray = null; } return this; } /** * Method sets attribute {@link #aBigDecimalArray}.
* * @param pABigDecimalArray Collection to which {@link #aBigDecimalArray} should be set. * @return {@link Builder} Instance of this builder to support chaining setters. Method never returns null. */ public Builder setABigDecimalArray( BigDecimal[] pABigDecimalArray ) { // Assign value to attribute if (pABigDecimalArray != null) { aBigDecimalArray = new BigDecimal[pABigDecimalArray.length]; System.arraycopy(pABigDecimalArray, 0, aBigDecimalArray, 0, pABigDecimalArray.length); } else { aBigDecimalArray = null; } return this; } /** * Method sets attribute {@link #aStringArray}.
* * @param pAStringArray Collection to which {@link #aStringArray} should be set. * @return {@link Builder} Instance of this builder to support chaining setters. Method never returns null. */ public Builder setAStringArray( String[] pAStringArray ) { // Assign value to attribute if (pAStringArray != null) { aStringArray = new String[pAStringArray.length]; System.arraycopy(pAStringArray, 0, aStringArray, 0, pAStringArray.length); } else { aStringArray = null; } return this; } /** * Method sets attribute {@link #bStringArray}.
* * @param pBStringArray Collection to which {@link #bStringArray} should be set. * @return {@link Builder} Instance of this builder to support chaining setters. Method never returns null. */ public Builder setBStringArray( String[] pBStringArray ) { // Assign value to attribute if (pBStringArray != null) { bStringArray = new String[pBStringArray.length]; System.arraycopy(pBStringArray, 0, bStringArray, 0, pBStringArray.length); } else { bStringArray = null; } return this; } /** * Method sets attribute {@link #cStringArray}.
* * @param pCStringArray Collection to which {@link #cStringArray} should be set. * @return {@link Builder} Instance of this builder to support chaining setters. Method never returns null. */ public Builder setCStringArray( String[] pCStringArray ) { // Assign value to attribute if (pCStringArray != null) { cStringArray = new String[pCStringArray.length]; System.arraycopy(pCStringArray, 0, cStringArray, 0, pCStringArray.length); } else { cStringArray = null; } return this; } /** * Method creates a new instance of class PrimitiveArraysObject. The object will be initialized with the values of * the builder. * * @return PrimitiveArraysObject Created object. The method never returns null. */ public PrimitiveArraysObject build( ) { return new PrimitiveArraysObject(this); } } /** * Method returns attribute {@link #aBooleanArray}.
* * @return boolean[] Value to which {@link #aBooleanArray} is set. */ public boolean[] getABooleanArray( ) { boolean[] lReturnValue; if (aBooleanArray != null) { lReturnValue = new boolean[aBooleanArray.length]; System.arraycopy(aBooleanArray, 0, lReturnValue, 0, aBooleanArray.length); } else { lReturnValue = null; } return lReturnValue; } /** * Method sets attribute {@link #aBooleanArray}.
* * @param pABooleanArray Value to which {@link #aBooleanArray} should be set. */ public void setABooleanArray( boolean[] pABooleanArray ) { // Assign value to attribute if (pABooleanArray != null) { aBooleanArray = new boolean[pABooleanArray.length]; System.arraycopy(pABooleanArray, 0, aBooleanArray, 0, pABooleanArray.length); } else { aBooleanArray = null; } } /** * Method returns attribute {@link #bBooleanArray}.
* * @return {@link Boolean[]} Value to which {@link #bBooleanArray} is set. */ public Boolean[] getBBooleanArray( ) { Boolean[] lReturnValue; if (bBooleanArray != null) { lReturnValue = new Boolean[bBooleanArray.length]; System.arraycopy(bBooleanArray, 0, lReturnValue, 0, bBooleanArray.length); } else { lReturnValue = null; } return lReturnValue; } /** * Method sets attribute {@link #bBooleanArray}.
* * @param pBBooleanArray Value to which {@link #bBooleanArray} should be set. */ public void setBBooleanArray( Boolean[] pBBooleanArray ) { // Assign value to attribute if (pBBooleanArray != null) { bBooleanArray = new Boolean[pBBooleanArray.length]; System.arraycopy(pBBooleanArray, 0, bBooleanArray, 0, pBBooleanArray.length); } else { bBooleanArray = null; } } /** * Method returns attribute {@link #cBooleanArray}.
* * @return boolean[] Value to which {@link #cBooleanArray} is set. */ public boolean[] getCBooleanArray( ) { boolean[] lReturnValue; if (cBooleanArray != null) { lReturnValue = new boolean[cBooleanArray.length]; System.arraycopy(cBooleanArray, 0, lReturnValue, 0, cBooleanArray.length); } else { lReturnValue = null; } return lReturnValue; } /** * Method sets attribute {@link #cBooleanArray}.
* * @param pCBooleanArray Value to which {@link #cBooleanArray} should be set. */ public void setCBooleanArray( boolean[] pCBooleanArray ) { // Assign value to attribute if (pCBooleanArray != null) { cBooleanArray = new boolean[pCBooleanArray.length]; System.arraycopy(pCBooleanArray, 0, cBooleanArray, 0, pCBooleanArray.length); } else { cBooleanArray = null; } } /** * Method returns attribute {@link #aByteArray}.
* * @return byte[] Value to which {@link #aByteArray} is set. */ public byte[] getAByteArray( ) { byte[] lReturnValue; if (aByteArray != null) { lReturnValue = new byte[aByteArray.length]; System.arraycopy(aByteArray, 0, lReturnValue, 0, aByteArray.length); } else { lReturnValue = null; } return lReturnValue; } /** * Method sets attribute {@link #aByteArray}.
* * @param pAByteArray Value to which {@link #aByteArray} should be set. */ public void setAByteArray( byte[] pAByteArray ) { // Assign value to attribute if (pAByteArray != null) { aByteArray = new byte[pAByteArray.length]; System.arraycopy(pAByteArray, 0, aByteArray, 0, pAByteArray.length); } else { aByteArray = null; } } /** * Method returns attribute {@link #bByteArray}.
* * @return {@link Byte[]} Value to which {@link #bByteArray} is set. */ public Byte[] getBByteArray( ) { Byte[] lReturnValue; if (bByteArray != null) { lReturnValue = new Byte[bByteArray.length]; System.arraycopy(bByteArray, 0, lReturnValue, 0, bByteArray.length); } else { lReturnValue = null; } return lReturnValue; } /** * Method sets attribute {@link #bByteArray}.
* * @param pBByteArray Value to which {@link #bByteArray} should be set. */ public void setBByteArray( Byte[] pBByteArray ) { // Assign value to attribute if (pBByteArray != null) { bByteArray = new Byte[pBByteArray.length]; System.arraycopy(pBByteArray, 0, bByteArray, 0, pBByteArray.length); } else { bByteArray = null; } } /** * Method returns attribute {@link #aShortArray}.
* * @return short[] Value to which {@link #aShortArray} is set. */ public short[] getAShortArray( ) { short[] lReturnValue; if (aShortArray != null) { lReturnValue = new short[aShortArray.length]; System.arraycopy(aShortArray, 0, lReturnValue, 0, aShortArray.length); } else { lReturnValue = null; } return lReturnValue; } /** * Method sets attribute {@link #aShortArray}.
* * @param pAShortArray Value to which {@link #aShortArray} should be set. */ public void setAShortArray( short[] pAShortArray ) { // Assign value to attribute if (pAShortArray != null) { aShortArray = new short[pAShortArray.length]; System.arraycopy(pAShortArray, 0, aShortArray, 0, pAShortArray.length); } else { aShortArray = null; } } /** * Method returns attribute {@link #bShortArray}.
* * @return {@link Short[]} Value to which {@link #bShortArray} is set. */ public Short[] getBShortArray( ) { Short[] lReturnValue; if (bShortArray != null) { lReturnValue = new Short[bShortArray.length]; System.arraycopy(bShortArray, 0, lReturnValue, 0, bShortArray.length); } else { lReturnValue = null; } return lReturnValue; } /** * Method sets attribute {@link #bShortArray}.
* * @param pBShortArray Value to which {@link #bShortArray} should be set. */ public void setBShortArray( Short[] pBShortArray ) { // Assign value to attribute if (pBShortArray != null) { bShortArray = new Short[pBShortArray.length]; System.arraycopy(pBShortArray, 0, bShortArray, 0, pBShortArray.length); } else { bShortArray = null; } } /** * Method returns attribute {@link #aIntegerArray}.
* * @return int[] Value to which {@link #aIntegerArray} is set. */ public int[] getAIntegerArray( ) { int[] lReturnValue; if (aIntegerArray != null) { lReturnValue = new int[aIntegerArray.length]; System.arraycopy(aIntegerArray, 0, lReturnValue, 0, aIntegerArray.length); } else { lReturnValue = null; } return lReturnValue; } /** * Method sets attribute {@link #aIntegerArray}.
* * @param pAIntegerArray Value to which {@link #aIntegerArray} should be set. */ public void setAIntegerArray( int[] pAIntegerArray ) { // Assign value to attribute if (pAIntegerArray != null) { aIntegerArray = new int[pAIntegerArray.length]; System.arraycopy(pAIntegerArray, 0, aIntegerArray, 0, pAIntegerArray.length); } else { aIntegerArray = null; } } /** * Method returns attribute {@link #bIntegerArray}.
* * @return {@link Integer[]} Value to which {@link #bIntegerArray} is set. */ public Integer[] getBIntegerArray( ) { Integer[] lReturnValue; if (bIntegerArray != null) { lReturnValue = new Integer[bIntegerArray.length]; System.arraycopy(bIntegerArray, 0, lReturnValue, 0, bIntegerArray.length); } else { lReturnValue = null; } return lReturnValue; } /** * Method sets attribute {@link #bIntegerArray}.
* * @param pBIntegerArray Value to which {@link #bIntegerArray} should be set. */ public void setBIntegerArray( Integer[] pBIntegerArray ) { // Assign value to attribute if (pBIntegerArray != null) { bIntegerArray = new Integer[pBIntegerArray.length]; System.arraycopy(pBIntegerArray, 0, bIntegerArray, 0, pBIntegerArray.length); } else { bIntegerArray = null; } } /** * Method returns attribute {@link #cIntegerArray}.
* * @return {@link Integer[]} Value to which {@link #cIntegerArray} is set. */ public Integer[] getCIntegerArray( ) { Integer[] lReturnValue; if (cIntegerArray != null) { lReturnValue = new Integer[cIntegerArray.length]; System.arraycopy(cIntegerArray, 0, lReturnValue, 0, cIntegerArray.length); } else { lReturnValue = null; } return lReturnValue; } /** * Method sets attribute {@link #cIntegerArray}.
* * @param pCIntegerArray Value to which {@link #cIntegerArray} should be set. */ public void setCIntegerArray( Integer[] pCIntegerArray ) { // Assign value to attribute if (pCIntegerArray != null) { cIntegerArray = new Integer[pCIntegerArray.length]; System.arraycopy(pCIntegerArray, 0, cIntegerArray, 0, pCIntegerArray.length); } else { cIntegerArray = null; } } /** * Method returns attribute {@link #aLongArray}.
* * @return long[] Value to which {@link #aLongArray} is set. */ public long[] getALongArray( ) { long[] lReturnValue; if (aLongArray != null) { lReturnValue = new long[aLongArray.length]; System.arraycopy(aLongArray, 0, lReturnValue, 0, aLongArray.length); } else { lReturnValue = null; } return lReturnValue; } /** * Method sets attribute {@link #aLongArray}.
* * @param pALongArray Value to which {@link #aLongArray} should be set. */ public void setALongArray( long[] pALongArray ) { // Assign value to attribute if (pALongArray != null) { aLongArray = new long[pALongArray.length]; System.arraycopy(pALongArray, 0, aLongArray, 0, pALongArray.length); } else { aLongArray = null; } } /** * Method returns attribute {@link #bLongArray}.
* * @return {@link Long[]} Value to which {@link #bLongArray} is set. */ public Long[] getBLongArray( ) { Long[] lReturnValue; if (bLongArray != null) { lReturnValue = new Long[bLongArray.length]; System.arraycopy(bLongArray, 0, lReturnValue, 0, bLongArray.length); } else { lReturnValue = null; } return lReturnValue; } /** * Method sets attribute {@link #bLongArray}.
* * @param pBLongArray Value to which {@link #bLongArray} should be set. */ public void setBLongArray( Long[] pBLongArray ) { // Assign value to attribute if (pBLongArray != null) { bLongArray = new Long[pBLongArray.length]; System.arraycopy(pBLongArray, 0, bLongArray, 0, pBLongArray.length); } else { bLongArray = null; } } /** * Method returns attribute {@link #aBigIntegerArray}.
* * @return {@link BigInteger[]} Value to which {@link #aBigIntegerArray} is set. */ public BigInteger[] getABigIntegerArray( ) { BigInteger[] lReturnValue; if (aBigIntegerArray != null) { lReturnValue = new BigInteger[aBigIntegerArray.length]; System.arraycopy(aBigIntegerArray, 0, lReturnValue, 0, aBigIntegerArray.length); } else { lReturnValue = null; } return lReturnValue; } /** * Method sets attribute {@link #aBigIntegerArray}.
* * @param pABigIntegerArray Value to which {@link #aBigIntegerArray} should be set. */ public void setABigIntegerArray( BigInteger[] pABigIntegerArray ) { // Assign value to attribute if (pABigIntegerArray != null) { aBigIntegerArray = new BigInteger[pABigIntegerArray.length]; System.arraycopy(pABigIntegerArray, 0, aBigIntegerArray, 0, pABigIntegerArray.length); } else { aBigIntegerArray = null; } } /** * Method returns attribute {@link #aCharacterArray}.
* * @return char[] Value to which {@link #aCharacterArray} is set. */ public char[] getACharacterArray( ) { char[] lReturnValue; if (aCharacterArray != null) { lReturnValue = new char[aCharacterArray.length]; System.arraycopy(aCharacterArray, 0, lReturnValue, 0, aCharacterArray.length); } else { lReturnValue = null; } return lReturnValue; } /** * Method sets attribute {@link #aCharacterArray}.
* * @param pACharacterArray Value to which {@link #aCharacterArray} should be set. */ public void setACharacterArray( char[] pACharacterArray ) { // Assign value to attribute if (pACharacterArray != null) { aCharacterArray = new char[pACharacterArray.length]; System.arraycopy(pACharacterArray, 0, aCharacterArray, 0, pACharacterArray.length); } else { aCharacterArray = null; } } /** * Method returns attribute {@link #bCharacterArray}.
* * @return {@link Character[]} Value to which {@link #bCharacterArray} is set. */ public Character[] getBCharacterArray( ) { Character[] lReturnValue; if (bCharacterArray != null) { lReturnValue = new Character[bCharacterArray.length]; System.arraycopy(bCharacterArray, 0, lReturnValue, 0, bCharacterArray.length); } else { lReturnValue = null; } return lReturnValue; } /** * Method sets attribute {@link #bCharacterArray}.
* * @param pBCharacterArray Value to which {@link #bCharacterArray} should be set. */ public void setBCharacterArray( Character[] pBCharacterArray ) { // Assign value to attribute if (pBCharacterArray != null) { bCharacterArray = new Character[pBCharacterArray.length]; System.arraycopy(pBCharacterArray, 0, bCharacterArray, 0, pBCharacterArray.length); } else { bCharacterArray = null; } } /** * Method returns attribute {@link #aFloatArray}.
* * @return float[] Value to which {@link #aFloatArray} is set. */ public float[] getAFloatArray( ) { float[] lReturnValue; if (aFloatArray != null) { lReturnValue = new float[aFloatArray.length]; System.arraycopy(aFloatArray, 0, lReturnValue, 0, aFloatArray.length); } else { lReturnValue = null; } return lReturnValue; } /** * Method sets attribute {@link #aFloatArray}.
* * @param pAFloatArray Value to which {@link #aFloatArray} should be set. */ public void setAFloatArray( float[] pAFloatArray ) { // Assign value to attribute if (pAFloatArray != null) { aFloatArray = new float[pAFloatArray.length]; System.arraycopy(pAFloatArray, 0, aFloatArray, 0, pAFloatArray.length); } else { aFloatArray = null; } } /** * Method returns attribute {@link #bFloatArray}.
* * @return {@link Float[]} Value to which {@link #bFloatArray} is set. */ public Float[] getBFloatArray( ) { Float[] lReturnValue; if (bFloatArray != null) { lReturnValue = new Float[bFloatArray.length]; System.arraycopy(bFloatArray, 0, lReturnValue, 0, bFloatArray.length); } else { lReturnValue = null; } return lReturnValue; } /** * Method sets attribute {@link #bFloatArray}.
* * @param pBFloatArray Value to which {@link #bFloatArray} should be set. */ public void setBFloatArray( Float[] pBFloatArray ) { // Assign value to attribute if (pBFloatArray != null) { bFloatArray = new Float[pBFloatArray.length]; System.arraycopy(pBFloatArray, 0, bFloatArray, 0, pBFloatArray.length); } else { bFloatArray = null; } } /** * Method returns attribute {@link #aDoubleArray}.
* * @return double[] Value to which {@link #aDoubleArray} is set. */ public double[] getADoubleArray( ) { double[] lReturnValue; if (aDoubleArray != null) { lReturnValue = new double[aDoubleArray.length]; System.arraycopy(aDoubleArray, 0, lReturnValue, 0, aDoubleArray.length); } else { lReturnValue = null; } return lReturnValue; } /** * Method sets attribute {@link #aDoubleArray}.
* * @param pADoubleArray Value to which {@link #aDoubleArray} should be set. */ public void setADoubleArray( double[] pADoubleArray ) { // Assign value to attribute if (pADoubleArray != null) { aDoubleArray = new double[pADoubleArray.length]; System.arraycopy(pADoubleArray, 0, aDoubleArray, 0, pADoubleArray.length); } else { aDoubleArray = null; } } /** * Method returns attribute {@link #bDoubleArray}.
* * @return {@link Double[]} Value to which {@link #bDoubleArray} is set. */ public Double[] getBDoubleArray( ) { Double[] lReturnValue; if (bDoubleArray != null) { lReturnValue = new Double[bDoubleArray.length]; System.arraycopy(bDoubleArray, 0, lReturnValue, 0, bDoubleArray.length); } else { lReturnValue = null; } return lReturnValue; } /** * Method sets attribute {@link #bDoubleArray}.
* * @param pBDoubleArray Value to which {@link #bDoubleArray} should be set. */ public void setBDoubleArray( Double[] pBDoubleArray ) { // Assign value to attribute if (pBDoubleArray != null) { bDoubleArray = new Double[pBDoubleArray.length]; System.arraycopy(pBDoubleArray, 0, bDoubleArray, 0, pBDoubleArray.length); } else { bDoubleArray = null; } } /** * Method returns attribute {@link #aBigDecimalArray}.
* * @return {@link BigDecimal[]} Value to which {@link #aBigDecimalArray} is set. */ public BigDecimal[] getABigDecimalArray( ) { BigDecimal[] lReturnValue; if (aBigDecimalArray != null) { lReturnValue = new BigDecimal[aBigDecimalArray.length]; System.arraycopy(aBigDecimalArray, 0, lReturnValue, 0, aBigDecimalArray.length); } else { lReturnValue = null; } return lReturnValue; } /** * Method sets attribute {@link #aBigDecimalArray}.
* * @param pABigDecimalArray Value to which {@link #aBigDecimalArray} should be set. */ public void setABigDecimalArray( BigDecimal[] pABigDecimalArray ) { // Assign value to attribute if (pABigDecimalArray != null) { aBigDecimalArray = new BigDecimal[pABigDecimalArray.length]; System.arraycopy(pABigDecimalArray, 0, aBigDecimalArray, 0, pABigDecimalArray.length); } else { aBigDecimalArray = null; } } /** * Method returns attribute {@link #aStringArray}.
* * @return {@link String[]} Value to which {@link #aStringArray} is set. */ public String[] getAStringArray( ) { String[] lReturnValue; if (aStringArray != null) { lReturnValue = new String[aStringArray.length]; System.arraycopy(aStringArray, 0, lReturnValue, 0, aStringArray.length); } else { lReturnValue = null; } return lReturnValue; } /** * Method sets attribute {@link #aStringArray}.
* * @param pAStringArray Value to which {@link #aStringArray} should be set. */ public void setAStringArray( String[] pAStringArray ) { // Assign value to attribute if (pAStringArray != null) { aStringArray = new String[pAStringArray.length]; System.arraycopy(pAStringArray, 0, aStringArray, 0, pAStringArray.length); } else { aStringArray = null; } } /** * Method returns attribute {@link #bStringArray}.
* * @return {@link String[]} Value to which {@link #bStringArray} is set. */ public String[] getBStringArray( ) { String[] lReturnValue; if (bStringArray != null) { lReturnValue = new String[bStringArray.length]; System.arraycopy(bStringArray, 0, lReturnValue, 0, bStringArray.length); } else { lReturnValue = null; } return lReturnValue; } /** * Method sets attribute {@link #bStringArray}.
* * @param pBStringArray Value to which {@link #bStringArray} should be set. */ public void setBStringArray( String[] pBStringArray ) { // Assign value to attribute if (pBStringArray != null) { bStringArray = new String[pBStringArray.length]; System.arraycopy(pBStringArray, 0, bStringArray, 0, pBStringArray.length); } else { bStringArray = null; } } /** * Method returns attribute {@link #cStringArray}.
* * @return {@link String[]} Value to which {@link #cStringArray} is set. */ public String[] getCStringArray( ) { String[] lReturnValue; if (cStringArray != null) { lReturnValue = new String[cStringArray.length]; System.arraycopy(cStringArray, 0, lReturnValue, 0, cStringArray.length); } else { lReturnValue = null; } return lReturnValue; } /** * Method sets attribute {@link #cStringArray}.
* * @param pCStringArray Value to which {@link #cStringArray} should be set. */ public void setCStringArray( String[] pCStringArray ) { // Assign value to attribute if (pCStringArray != null) { cStringArray = new String[pCStringArray.length]; System.arraycopy(pCStringArray, 0, cStringArray, 0, pCStringArray.length); } else { cStringArray = null; } } @Override public int hashCode( ) { final int lPrime = 31; int lResult = 1; lResult = lPrime * lResult + Arrays.hashCode(aBooleanArray); lResult = lPrime * lResult + Arrays.hashCode(bBooleanArray); lResult = lPrime * lResult + Arrays.hashCode(cBooleanArray); lResult = lPrime * lResult + Arrays.hashCode(aByteArray); lResult = lPrime * lResult + Arrays.hashCode(bByteArray); lResult = lPrime * lResult + Arrays.hashCode(aShortArray); lResult = lPrime * lResult + Arrays.hashCode(bShortArray); lResult = lPrime * lResult + Arrays.hashCode(aIntegerArray); lResult = lPrime * lResult + Arrays.hashCode(bIntegerArray); lResult = lPrime * lResult + Arrays.hashCode(cIntegerArray); lResult = lPrime * lResult + Arrays.hashCode(aLongArray); lResult = lPrime * lResult + Arrays.hashCode(bLongArray); lResult = lPrime * lResult + Arrays.hashCode(aBigIntegerArray); lResult = lPrime * lResult + Arrays.hashCode(aCharacterArray); lResult = lPrime * lResult + Arrays.hashCode(bCharacterArray); lResult = lPrime * lResult + Arrays.hashCode(aFloatArray); lResult = lPrime * lResult + Arrays.hashCode(bFloatArray); lResult = lPrime * lResult + Arrays.hashCode(aDoubleArray); lResult = lPrime * lResult + Arrays.hashCode(bDoubleArray); lResult = lPrime * lResult + Arrays.hashCode(aBigDecimalArray); lResult = lPrime * lResult + Arrays.hashCode(aStringArray); lResult = lPrime * lResult + Arrays.hashCode(bStringArray); lResult = lPrime * lResult + Arrays.hashCode(cStringArray); return lResult; } @Override public boolean equals( Object pObject ) { boolean lEquals; if (this == pObject) { lEquals = true; } else if (pObject == null) { lEquals = false; } else if (this.getClass() != pObject.getClass()) { lEquals = false; } else { PrimitiveArraysObject lOther = (PrimitiveArraysObject) pObject; lEquals = Arrays.equals(aBooleanArray, lOther.aBooleanArray) && Arrays.equals(bBooleanArray, lOther.bBooleanArray) && Arrays.equals(cBooleanArray, lOther.cBooleanArray) && Arrays.equals(aByteArray, lOther.aByteArray) && Arrays.equals(bByteArray, lOther.bByteArray) && Arrays.equals(aShortArray, lOther.aShortArray) && Arrays.equals(bShortArray, lOther.bShortArray) && Arrays.equals(aIntegerArray, lOther.aIntegerArray) && Arrays.equals(bIntegerArray, lOther.bIntegerArray) && Arrays.equals(cIntegerArray, lOther.cIntegerArray) && Arrays.equals(aLongArray, lOther.aLongArray) && Arrays.equals(bLongArray, lOther.bLongArray) && Arrays.equals(aBigIntegerArray, lOther.aBigIntegerArray) && Arrays.equals(aCharacterArray, lOther.aCharacterArray) && Arrays.equals(bCharacterArray, lOther.bCharacterArray) && Arrays.equals(aFloatArray, lOther.aFloatArray) && Arrays.equals(bFloatArray, lOther.bFloatArray) && Arrays.equals(aDoubleArray, lOther.aDoubleArray) && Arrays.equals(bDoubleArray, lOther.bDoubleArray) && Arrays.equals(aBigDecimalArray, lOther.aBigDecimalArray) && Arrays.equals(aStringArray, lOther.aStringArray) && Arrays.equals(bStringArray, lOther.bStringArray) && Arrays.equals(cStringArray, lOther.cStringArray); } return lEquals; } /** * Method returns a StringBuilder that can be used to create a String representation of this object. The returned * StringBuilder also takes care about attributes of super classes. * * @return {@link StringBuilder} StringBuilder representing this object. The method never returns null. */ public StringBuilder toStringBuilder( String pIndent ) { StringBuilder lBuilder = new StringBuilder(); lBuilder.append(pIndent); lBuilder.append(this.getClass().getName()); lBuilder.append(System.lineSeparator()); lBuilder.append(pIndent); lBuilder.append("aBooleanArray: "); if (aBooleanArray != null) { lBuilder.append(Arrays.toString(aBooleanArray)); } else { lBuilder.append(" null"); } lBuilder.append(System.lineSeparator()); lBuilder.append(pIndent); lBuilder.append("bBooleanArray: "); if (bBooleanArray != null) { lBuilder.append(Arrays.toString(bBooleanArray)); } else { lBuilder.append(" null"); } lBuilder.append(System.lineSeparator()); lBuilder.append(pIndent); lBuilder.append("cBooleanArray: "); if (cBooleanArray != null) { lBuilder.append(Arrays.toString(cBooleanArray)); } else { lBuilder.append(" null"); } lBuilder.append(System.lineSeparator()); lBuilder.append(pIndent); lBuilder.append("aByteArray: "); if (aByteArray != null) { lBuilder.append(Arrays.toString(aByteArray)); } else { lBuilder.append(" null"); } lBuilder.append(System.lineSeparator()); lBuilder.append(pIndent); lBuilder.append("bByteArray: "); if (bByteArray != null) { lBuilder.append(Arrays.toString(bByteArray)); } else { lBuilder.append(" null"); } lBuilder.append(System.lineSeparator()); lBuilder.append(pIndent); lBuilder.append("aShortArray: "); if (aShortArray != null) { lBuilder.append(Arrays.toString(aShortArray)); } else { lBuilder.append(" null"); } lBuilder.append(System.lineSeparator()); lBuilder.append(pIndent); lBuilder.append("bShortArray: "); if (bShortArray != null) { lBuilder.append(Arrays.toString(bShortArray)); } else { lBuilder.append(" null"); } lBuilder.append(System.lineSeparator()); lBuilder.append(pIndent); lBuilder.append("aIntegerArray: "); if (aIntegerArray != null) { lBuilder.append(Arrays.toString(aIntegerArray)); } else { lBuilder.append(" null"); } lBuilder.append(System.lineSeparator()); lBuilder.append(pIndent); lBuilder.append("bIntegerArray: "); if (bIntegerArray != null) { lBuilder.append(Arrays.toString(bIntegerArray)); } else { lBuilder.append(" null"); } lBuilder.append(System.lineSeparator()); lBuilder.append(pIndent); lBuilder.append("cIntegerArray: "); if (cIntegerArray != null) { lBuilder.append(Arrays.toString(cIntegerArray)); } else { lBuilder.append(" null"); } lBuilder.append(System.lineSeparator()); lBuilder.append(pIndent); lBuilder.append("aLongArray: "); if (aLongArray != null) { lBuilder.append(Arrays.toString(aLongArray)); } else { lBuilder.append(" null"); } lBuilder.append(System.lineSeparator()); lBuilder.append(pIndent); lBuilder.append("bLongArray: "); if (bLongArray != null) { lBuilder.append(Arrays.toString(bLongArray)); } else { lBuilder.append(" null"); } lBuilder.append(System.lineSeparator()); lBuilder.append(pIndent); lBuilder.append("aBigIntegerArray: "); if (aBigIntegerArray != null) { lBuilder.append(Arrays.toString(aBigIntegerArray)); } else { lBuilder.append(" null"); } lBuilder.append(System.lineSeparator()); lBuilder.append(pIndent); lBuilder.append("aCharacterArray: "); if (aCharacterArray != null) { lBuilder.append(Arrays.toString(aCharacterArray)); } else { lBuilder.append(" null"); } lBuilder.append(System.lineSeparator()); lBuilder.append(pIndent); lBuilder.append("bCharacterArray: "); if (bCharacterArray != null) { lBuilder.append(Arrays.toString(bCharacterArray)); } else { lBuilder.append(" null"); } lBuilder.append(System.lineSeparator()); lBuilder.append(pIndent); lBuilder.append("aFloatArray: "); if (aFloatArray != null) { lBuilder.append(Arrays.toString(aFloatArray)); } else { lBuilder.append(" null"); } lBuilder.append(System.lineSeparator()); lBuilder.append(pIndent); lBuilder.append("bFloatArray: "); if (bFloatArray != null) { lBuilder.append(Arrays.toString(bFloatArray)); } else { lBuilder.append(" null"); } lBuilder.append(System.lineSeparator()); lBuilder.append(pIndent); lBuilder.append("aDoubleArray: "); if (aDoubleArray != null) { lBuilder.append(Arrays.toString(aDoubleArray)); } else { lBuilder.append(" null"); } lBuilder.append(System.lineSeparator()); lBuilder.append(pIndent); lBuilder.append("bDoubleArray: "); if (bDoubleArray != null) { lBuilder.append(Arrays.toString(bDoubleArray)); } else { lBuilder.append(" null"); } lBuilder.append(System.lineSeparator()); lBuilder.append(pIndent); lBuilder.append("aBigDecimalArray: "); if (aBigDecimalArray != null) { lBuilder.append(Arrays.toString(aBigDecimalArray)); } else { lBuilder.append(" null"); } lBuilder.append(System.lineSeparator()); lBuilder.append(pIndent); lBuilder.append("aStringArray: "); if (aStringArray != null) { lBuilder.append(Arrays.toString(aStringArray)); } else { lBuilder.append(" null"); } lBuilder.append(System.lineSeparator()); lBuilder.append(pIndent); lBuilder.append("bStringArray: "); if (bStringArray != null) { lBuilder.append(Arrays.toString(bStringArray)); } else { lBuilder.append(" null"); } lBuilder.append(System.lineSeparator()); lBuilder.append(pIndent); lBuilder.append("cStringArray: "); if (cStringArray != null) { lBuilder.append(Arrays.toString(cStringArray)); } else { lBuilder.append(" null"); } lBuilder.append(System.lineSeparator()); return lBuilder; } /** * Method creates a new String with the values of all attributes of this class. All references to other objects will * be ignored. * * @return {@link String} String representation of this object. The method never returns null. */ @Override public String toString( ) { return this.toStringBuilder("").toString(); } /** * Method creates a new builder and initializes it with the data of this object. * * @return {@link Builder} New builder that can be used to create new PrimitiveArraysObject objects. The method never * returns null. */ public Builder toBuilder( ) { return new Builder(this); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy