br.com.objectos.way.code.ParameterInfoBuilderPojo Maven / Gradle / Ivy
The newest version!
package br.com.objectos.way.code;
@javax.annotation.Generated("br.com.objectos.way.auto.pojo.AutoPojoProcessor")
final class ParameterInfoBuilderPojo
implements
ParameterInfoBuilder,
ParameterInfoBuilder.ParameterInfoBuilderSimpleTypeInfo,
ParameterInfoBuilder.ParameterInfoBuilderName,
ParameterInfoBuilder.ParameterInfoBuilderAnnotationInfoMap {
private SimpleTypeInfo simpleTypeInfo;
private String name;
private AnnotationInfoMap annotationInfoMap;
public ParameterInfoBuilderPojo() {
}
@Override
public ParameterInfo build() {
return new ParameterInfoPojo(this);
}
@Override
public ParameterInfoBuilderSimpleTypeInfo simpleTypeInfo(SimpleTypeInfo simpleTypeInfo) {
if (simpleTypeInfo == null) {
throw new NullPointerException();
}
this.simpleTypeInfo = simpleTypeInfo;
return this;
}
@Override
public ParameterInfoBuilderName name(String name) {
if (name == null) {
throw new NullPointerException();
}
this.name = name;
return this;
}
@Override
public ParameterInfoBuilderAnnotationInfoMap annotationInfoMap(AnnotationInfoMap annotationInfoMap) {
if (annotationInfoMap == null) {
throw new NullPointerException();
}
this.annotationInfoMap = annotationInfoMap;
return this;
}
SimpleTypeInfo simpleTypeInfo() {
return simpleTypeInfo;
}
String name() {
return name;
}
AnnotationInfoMap annotationInfoMap() {
return annotationInfoMap;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy