
br.com.objectos.code.pojo.OptionalAttributeMethodBuilderPojo Maven / Gradle / Ivy
The newest version!
package br.com.objectos.code.pojo;
import br.com.objectos.code.AccessInfo;
import com.squareup.javapoet.TypeName;
import javax.annotation.Generated;
@Generated("br.com.objectos.auto.pojo.AutoPojoProcessor")
final class OptionalAttributeMethodBuilderPojo implements OptionalAttributeMethodBuilder, OptionalAttributeMethodBuilder.OptionalAttributeMethodBuilderNaming, OptionalAttributeMethodBuilder.OptionalAttributeMethodBuilderAccessInfo, OptionalAttributeMethodBuilder.OptionalAttributeMethodBuilderName, OptionalAttributeMethodBuilder.OptionalAttributeMethodBuilderFieldName, OptionalAttributeMethodBuilder.OptionalAttributeMethodBuilderReturnTypeName, OptionalAttributeMethodBuilder.OptionalAttributeMethodBuilderElementTypeName {
private Naming naming;
private AccessInfo accessInfo;
private String name;
private String fieldName;
private TypeName returnTypeName;
private TypeName elementTypeName;
public OptionalAttributeMethodBuilderPojo() {
}
@Override
public OptionalAttributeMethod build() {
return new OptionalAttributeMethodPojo(this);
}
@Override
public OptionalAttributeMethodBuilder.OptionalAttributeMethodBuilderNaming naming(Naming naming) {
if (naming == null) {
throw new NullPointerException();
}
this.naming = naming;
return this;
}
@Override
public OptionalAttributeMethodBuilder.OptionalAttributeMethodBuilderAccessInfo accessInfo(AccessInfo accessInfo) {
if (accessInfo == null) {
throw new NullPointerException();
}
this.accessInfo = accessInfo;
return this;
}
@Override
public OptionalAttributeMethodBuilder.OptionalAttributeMethodBuilderName name(String name) {
if (name == null) {
throw new NullPointerException();
}
this.name = name;
return this;
}
@Override
public OptionalAttributeMethodBuilder.OptionalAttributeMethodBuilderFieldName fieldName(String fieldName) {
if (fieldName == null) {
throw new NullPointerException();
}
this.fieldName = fieldName;
return this;
}
@Override
public OptionalAttributeMethodBuilder.OptionalAttributeMethodBuilderReturnTypeName returnTypeName(TypeName returnTypeName) {
if (returnTypeName == null) {
throw new NullPointerException();
}
this.returnTypeName = returnTypeName;
return this;
}
@Override
public OptionalAttributeMethodBuilder.OptionalAttributeMethodBuilderElementTypeName elementTypeName(TypeName elementTypeName) {
if (elementTypeName == null) {
throw new NullPointerException();
}
this.elementTypeName = elementTypeName;
return this;
}
Naming ___get___naming() {
return naming;
}
AccessInfo ___get___accessInfo() {
return accessInfo;
}
String ___get___name() {
return name;
}
String ___get___fieldName() {
return fieldName;
}
TypeName ___get___returnTypeName() {
return returnTypeName;
}
TypeName ___get___elementTypeName() {
return elementTypeName;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy