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

br.com.objectos.schema.info.TableNameBuilderPojo Maven / Gradle / Ivy

The newest version!
package br.com.objectos.schema.info;

import javax.annotation.Generated;

@Generated({
    "br.com.objectos.pojo.compiler.PojoCompiler",
    "br.com.objectos.pojo.plugin.StandardBuilderPropertyAction"
})
final class TableNameBuilderPojo implements TableNameBuilder, TableNameBuilder.TableNameBuilderSchemaName, TableNameBuilder.TableNameBuilderSimpleName, TableNameBuilder.TableNameBuilderMigrationVersion {
  private SchemaName schemaName;

  private String simpleName;

  private MigrationVersion migrationVersion;

  public TableNameBuilderPojo() {
  }

  @Override
  public TableName build() {
    return new TableNamePojo(this);
  }

  @Override
  public TableNameBuilder.TableNameBuilderSchemaName schemaName(SchemaName schemaName) {
    if (schemaName == null) {
      throw new NullPointerException();
    }
    this.schemaName = schemaName;
    return this;
  }

  SchemaName ___get___schemaName() {
    return schemaName;
  }

  @Override
  public TableNameBuilder.TableNameBuilderSimpleName simpleName(String simpleName) {
    if (simpleName == null) {
      throw new NullPointerException();
    }
    this.simpleName = simpleName;
    return this;
  }

  String ___get___simpleName() {
    return simpleName;
  }

  @Override
  public TableNameBuilder.TableNameBuilderMigrationVersion migrationVersion(MigrationVersion migrationVersion) {
    if (migrationVersion == null) {
      throw new NullPointerException();
    }
    this.migrationVersion = migrationVersion;
    return this;
  }

  MigrationVersion ___get___migrationVersion() {
    return migrationVersion;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy