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

br.com.objectos.code.pojo.PojoInfoPojo Maven / Gradle / Ivy

The newest version!
package br.com.objectos.code.pojo;

import br.com.objectos.code.AccessInfo;
import br.com.objectos.code.ConstructorInfo;
import br.com.objectos.core.testing.Testables;
import java.util.List;
import javax.annotation.Generated;

@Generated("br.com.objectos.auto.pojo.AutoPojoProcessor")
final class PojoInfoPojo extends PojoInfo {
  private final AccessInfo accessInfo;

  private final Naming naming;

  private final List constructorInfoList;

  private final List attributeMethodList;

  private final List builderMethodList;

  private final List lazyMethodList;

  private final InvalidateMethod invalidate;

  private final IsTestable testable;

  public PojoInfoPojo(PojoInfoBuilderPojo builder) {
    super();
    accessInfo = builder.___get___accessInfo();
    naming = builder.___get___naming();
    constructorInfoList = builder.___get___constructorInfoList();
    attributeMethodList = builder.___get___attributeMethodList();
    builderMethodList = builder.___get___builderMethodList();
    lazyMethodList = builder.___get___lazyMethodList();
    invalidate = builder.___get___invalidate();
    testable = builder.___get___testable();
  }

  @Override
  public boolean isEqual(PojoInfo that) {
    return Testables.isEqualHelper()
        .equal(accessInfo, that.accessInfo())
        .equal(naming, that.naming())
        .equal(constructorInfoList, that.constructorInfoList())
        .equal(attributeMethodList, that.attributeMethodList())
        .equal(builderMethodList, that.builderMethodList())
        .equal(lazyMethodList, that.lazyMethodList())
        .equal(invalidate, that.invalidate())
        .equal(testable, that.testable())
        .result();
  }

  @Override
  AccessInfo accessInfo() {
    return accessInfo;
  }

  @Override
  Naming naming() {
    return naming;
  }

  @Override
  List constructorInfoList() {
    return constructorInfoList;
  }

  @Override
  List attributeMethodList() {
    return attributeMethodList;
  }

  @Override
  List builderMethodList() {
    return builderMethodList;
  }

  @Override
  List lazyMethodList() {
    return lazyMethodList;
  }

  @Override
  InvalidateMethod invalidate() {
    return invalidate;
  }

  @Override
  IsTestable testable() {
    return testable;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy