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

br.com.objectos.way.sql.PrimaryKeyInfoBuilderPojo 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 PrimaryKeyInfoBuilderPojo
    implements 
    PrimaryKeyInfoBuilder, 
    PrimaryKeyInfoBuilder.PrimaryKeyInfoBuilderName, 
    PrimaryKeyInfoBuilder.PrimaryKeyInfoBuilderIndexColumnInfoList { 

  private Optional name;
  private List indexColumnInfoList;
  
  public PrimaryKeyInfoBuilderPojo() {
  }
  
  @Override
  public PrimaryKeyInfo build() {
    return new PrimaryKeyInfoPojo(this);
  }

  @Override
  public PrimaryKeyInfoBuilderName name(Optional name) {  
    if (name == null) {
      throw new NullPointerException();
    }
    this.name = name;
    return this;
  }
  
  @Override
  public PrimaryKeyInfoBuilderIndexColumnInfoList indexColumnInfoList(List indexColumnInfoList) {  
    if (indexColumnInfoList == null) {
      throw new NullPointerException();
    }
    this.indexColumnInfoList = indexColumnInfoList;
    return this;
  }
  
  Optional name() {
    return name;
  }
  
  List indexColumnInfoList() {
    return indexColumnInfoList;
  }
  
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy