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

br.com.objectos.io.xls.compiler.SheetMethodPojo Maven / Gradle / Ivy

The newest version!
package br.com.objectos.io.xls.compiler;

import br.com.objectos.core.testing.Testables;
import java.util.Set;
import javax.annotation.Generated;

@Generated("br.com.objectos.auto.pojo.AutoPojoProcessor")
final class SheetMethodPojo extends SheetMethod {
  private final String fieldName;

  private final String header;

  private final SheetMethodFormat format;

  private final Set styleSet;

  private final SheetMethodWidth width;

  public SheetMethodPojo(SheetMethodBuilderPojo builder) {
    super();
    fieldName = builder.___get___fieldName();
    header = builder.___get___header();
    format = builder.___get___format();
    styleSet = builder.___get___styleSet();
    width = builder.___get___width();
  }

  @Override
  public boolean isEqual(SheetMethod that) {
    return Testables.isEqualHelper()
        .equal(fieldName, that.fieldName())
        .equal(header, that.header())
        .equal(format, that.format())
        .equal(styleSet, that.styleSet())
        .equal(width, that.width())
        .result();
  }

  @Override
  String fieldName() {
    return fieldName;
  }

  @Override
  String header() {
    return header;
  }

  @Override
  SheetMethodFormat format() {
    return format;
  }

  @Override
  Set styleSet() {
    return styleSet;
  }

  @Override
  SheetMethodWidth width() {
    return width;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy