All Downloads are FREE. Search and download functionalities are using the official Maven repository.

br.com.objectos.schema.ddl.VersionBuilderPojo Maven / Gradle / Ivy

There is a newer version: 0.3.0
Show newest version
package br.com.objectos.schema.ddl;

import javax.annotation.Generated;

@Generated({
    "br.com.objectos.pojo.compiler.PojoCompiler",
    "br.com.objectos.pojo.plugin.StandardBuilderPropertyAction"
})
final class VersionBuilderPojo implements VersionBuilder, VersionBuilder.VersionBuilderIndex, VersionBuilder.VersionBuilderTableName, VersionBuilder.VersionBuilderName, VersionBuilder.VersionBuilderExecutable {
  private int index;

  private String tableName;

  private String name;

  private Executable executable;

  public VersionBuilderPojo() {
  }

  @Override
  public Version build() {
    return new VersionPojo(this);
  }

  @Override
  public VersionBuilder.VersionBuilderIndex index(int index) {
    this.index = index;
    return this;
  }

  int ___get___index() {
    return index;
  }

  @Override
  public VersionBuilder.VersionBuilderTableName tableName(String tableName) {
    if (tableName == null) {
      throw new NullPointerException();
    }
    this.tableName = tableName;
    return this;
  }

  String ___get___tableName() {
    return tableName;
  }

  @Override
  public VersionBuilder.VersionBuilderName name(String name) {
    if (name == null) {
      throw new NullPointerException();
    }
    this.name = name;
    return this;
  }

  String ___get___name() {
    return name;
  }

  @Override
  public VersionBuilder.VersionBuilderExecutable executable(Executable executable) {
    if (executable == null) {
      throw new NullPointerException();
    }
    this.executable = executable;
    return this;
  }

  Executable ___get___executable() {
    return executable;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy