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

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

package br.com.objectos.schema.info;

import java.util.List;
import java.util.Optional;
import javax.annotation.Generated;

@Generated({
    "br.com.objectos.pojo.compiler.PojoCompiler",
    "br.com.objectos.pojo.plugin.StandardPojoPropertyAction"
})
final class TableInfoPojo extends TableInfo {
  private final TableName tableName;

  private final List columnInfoList;

  private final Optional primaryKeyInfo;

  private final List foreignKeyInfoList;

  public TableInfoPojo(TableInfoBuilderPojo builder) {
    super();
    tableName = builder.___get___tableName();
    columnInfoList = builder.___get___columnInfoList();
    primaryKeyInfo = builder.___get___primaryKeyInfo();
    foreignKeyInfoList = builder.___get___foreignKeyInfoList();
  }

  @Override
  TableName tableName() {
    return tableName;
  }

  @Override
  List columnInfoList() {
    return columnInfoList;
  }

  @Override
  Optional primaryKeyInfo() {
    return primaryKeyInfo;
  }

  @Override
  List foreignKeyInfoList() {
    return foreignKeyInfoList;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy