br.com.objectos.code.TestingEnumConstantInfoBuilderPojo Maven / Gradle / Ivy
package br.com.objectos.code;
import javax.annotation.Generated;
@Generated({
"br.com.objectos.pojo.compiler.PojoCompiler",
"br.com.objectos.pojo.plugin.StandardBuilderPropertyAction"
})
final class TestingEnumConstantInfoBuilderPojo implements TestingEnumConstantInfoBuilder, TestingEnumConstantInfoBuilder.TestingEnumConstantInfoBuilderEnumType, TestingEnumConstantInfoBuilder.TestingEnumConstantInfoBuilderValue {
private SimpleTypeInfo enumType;
private String value;
public TestingEnumConstantInfoBuilderPojo() {
}
@Override
public TestingEnumConstantInfo build() {
return new TestingEnumConstantInfoPojo(this);
}
@Override
public TestingEnumConstantInfoBuilder.TestingEnumConstantInfoBuilderEnumType enumType(SimpleTypeInfo enumType) {
if (enumType == null) {
throw new NullPointerException();
}
this.enumType = enumType;
return this;
}
SimpleTypeInfo ___get___enumType() {
return enumType;
}
@Override
public TestingEnumConstantInfoBuilder.TestingEnumConstantInfoBuilderValue value(String value) {
if (value == null) {
throw new NullPointerException();
}
this.value = value;
return this;
}
String ___get___value() {
return value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy