br.com.objectos.way.sql.ForeignKeyInfoBuilderPojo Maven / Gradle / Ivy
package br.com.objectos.way.sql;
import com.google.common.base.Optional;
import java.util.List;
@javax.annotation.Generated("br.com.objectos.way.auto.pojo.AutoPojoProcessor")
final class ForeignKeyInfoBuilderPojo
implements
ForeignKeyInfoBuilder,
ForeignKeyInfoBuilder.ForeignKeyInfoBuilderName,
ForeignKeyInfoBuilder.ForeignKeyInfoBuilderForeignKeyPartList,
ForeignKeyInfoBuilder.ForeignKeyInfoBuilderDeleteAction,
ForeignKeyInfoBuilder.ForeignKeyInfoBuilderUpdateAction {
private Optional name;
private List foreignKeyPartList;
private Optional deleteAction;
private Optional updateAction;
public ForeignKeyInfoBuilderPojo() {
}
@Override
public ForeignKeyInfo build() {
return new ForeignKeyInfoPojo(this);
}
@Override
public ForeignKeyInfoBuilderName name(Optional name) {
if (name == null) {
throw new NullPointerException();
}
this.name = name;
return this;
}
@Override
public ForeignKeyInfoBuilderForeignKeyPartList foreignKeyPartList(List foreignKeyPartList) {
if (foreignKeyPartList == null) {
throw new NullPointerException();
}
this.foreignKeyPartList = foreignKeyPartList;
return this;
}
@Override
public ForeignKeyInfoBuilderDeleteAction deleteAction(Optional deleteAction) {
if (deleteAction == null) {
throw new NullPointerException();
}
this.deleteAction = deleteAction;
return this;
}
@Override
public ForeignKeyInfoBuilderUpdateAction updateAction(Optional updateAction) {
if (updateAction == null) {
throw new NullPointerException();
}
this.updateAction = updateAction;
return this;
}
Optional name() {
return name;
}
List foreignKeyPartList() {
return foreignKeyPartList;
}
Optional deleteAction() {
return deleteAction;
}
Optional updateAction() {
return updateAction;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy