
br.com.objectos.code.pojo.PojoInfoBuilderPojo 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 java.util.ArrayList;
import java.util.List;
import javax.annotation.Generated;
@Generated("br.com.objectos.auto.pojo.AutoPojoProcessor")
final class PojoInfoBuilderPojo implements PojoInfoBuilder, PojoInfoBuilder.PojoInfoBuilderAccessInfo, PojoInfoBuilder.PojoInfoBuilderNaming, PojoInfoBuilder.PojoInfoBuilderConstructorInfoList, PojoInfoBuilder.PojoInfoBuilderAttributeMethodList, PojoInfoBuilder.PojoInfoBuilderBuilderMethodList, PojoInfoBuilder.PojoInfoBuilderLazyMethodList, PojoInfoBuilder.PojoInfoBuilderInvalidate, PojoInfoBuilder.PojoInfoBuilderTestable {
private AccessInfo accessInfo;
private Naming naming;
private List constructorInfoList;
private List attributeMethodList;
private List builderMethodList;
private List lazyMethodList;
private InvalidateMethod invalidate;
private IsTestable testable;
public PojoInfoBuilderPojo() {
}
@Override
public PojoInfo build() {
return new PojoInfoPojo(this);
}
@Override
public PojoInfoBuilder.PojoInfoBuilderAccessInfo accessInfo(AccessInfo accessInfo) {
if (accessInfo == null) {
throw new NullPointerException();
}
this.accessInfo = accessInfo;
return this;
}
@Override
public PojoInfoBuilder.PojoInfoBuilderNaming naming(Naming naming) {
if (naming == null) {
throw new NullPointerException();
}
this.naming = naming;
return this;
}
@Override
public PojoInfoBuilder.PojoInfoBuilderConstructorInfoList constructorInfoList(ConstructorInfo... elements) {
if (elements == null) {
throw new NullPointerException();
}
List constructorInfoList = new ArrayList<>(elements.length);
for (int i = 0; i < elements.length; i++) {
ConstructorInfo e = elements[i];
if (e == null) {
throw new NullPointerException();
}
constructorInfoList.add(e);
}
this.constructorInfoList = constructorInfoList;
return this;
}
@Override
public PojoInfoBuilder.PojoInfoBuilderConstructorInfoList constructorInfoList(List constructorInfoList) {
if (constructorInfoList == null) {
throw new NullPointerException();
}
this.constructorInfoList = constructorInfoList;
return this;
}
@Override
public PojoInfoBuilder.PojoInfoBuilderAttributeMethodList attributeMethodList(AttributeMethod... elements) {
if (elements == null) {
throw new NullPointerException();
}
List attributeMethodList = new ArrayList<>(elements.length);
for (int i = 0; i < elements.length; i++) {
AttributeMethod e = elements[i];
if (e == null) {
throw new NullPointerException();
}
attributeMethodList.add(e);
}
this.attributeMethodList = attributeMethodList;
return this;
}
@Override
public PojoInfoBuilder.PojoInfoBuilderAttributeMethodList attributeMethodList(List attributeMethodList) {
if (attributeMethodList == null) {
throw new NullPointerException();
}
this.attributeMethodList = attributeMethodList;
return this;
}
@Override
public PojoInfoBuilder.PojoInfoBuilderBuilderMethodList builderMethodList(AttributeMethod... elements) {
if (elements == null) {
throw new NullPointerException();
}
List builderMethodList = new ArrayList<>(elements.length);
for (int i = 0; i < elements.length; i++) {
AttributeMethod e = elements[i];
if (e == null) {
throw new NullPointerException();
}
builderMethodList.add(e);
}
this.builderMethodList = builderMethodList;
return this;
}
@Override
public PojoInfoBuilder.PojoInfoBuilderBuilderMethodList builderMethodList(List builderMethodList) {
if (builderMethodList == null) {
throw new NullPointerException();
}
this.builderMethodList = builderMethodList;
return this;
}
@Override
public PojoInfoBuilder.PojoInfoBuilderLazyMethodList lazyMethodList(LazyMethod... elements) {
if (elements == null) {
throw new NullPointerException();
}
List lazyMethodList = new ArrayList<>(elements.length);
for (int i = 0; i < elements.length; i++) {
LazyMethod e = elements[i];
if (e == null) {
throw new NullPointerException();
}
lazyMethodList.add(e);
}
this.lazyMethodList = lazyMethodList;
return this;
}
@Override
public PojoInfoBuilder.PojoInfoBuilderLazyMethodList lazyMethodList(List lazyMethodList) {
if (lazyMethodList == null) {
throw new NullPointerException();
}
this.lazyMethodList = lazyMethodList;
return this;
}
@Override
public PojoInfoBuilder.PojoInfoBuilderInvalidate invalidate(InvalidateMethod invalidate) {
if (invalidate == null) {
throw new NullPointerException();
}
this.invalidate = invalidate;
return this;
}
@Override
public PojoInfoBuilder.PojoInfoBuilderTestable testable(IsTestable testable) {
if (testable == null) {
throw new NullPointerException();
}
this.testable = testable;
return this;
}
AccessInfo ___get___accessInfo() {
return accessInfo;
}
Naming ___get___naming() {
return naming;
}
List ___get___constructorInfoList() {
return constructorInfoList;
}
List ___get___attributeMethodList() {
return attributeMethodList;
}
List ___get___builderMethodList() {
return builderMethodList;
}
List ___get___lazyMethodList() {
return lazyMethodList;
}
InvalidateMethod ___get___invalidate() {
return invalidate;
}
IsTestable ___get___testable() {
return testable;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy