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

br.com.objectos.ui.html.AttributeAnnotationBuilderPojo Maven / Gradle / Ivy

package br.com.objectos.ui.html;

import com.squareup.javapoet.TypeName;
import javax.annotation.Generated;

@Generated({
    "br.com.objectos.way.pojo.compiler.PojoCompiler",
    "br.com.objectos.way.pojo.plugin.StandardBuilderPropertyAction"
})
final class AttributeAnnotationBuilderPojo implements AttributeAnnotationBuilder, AttributeAnnotationBuilder.AttributeAnnotationBuilderName, AttributeAnnotationBuilder.AttributeAnnotationBuilderIdentifier, AttributeAnnotationBuilder.AttributeAnnotationBuilderTypeName {
  private String name;

  private String identifier;

  private TypeName typeName;

  public AttributeAnnotationBuilderPojo() {
  }

  @Override
  public AttributeAnnotation build() {
    return new AttributeAnnotationPojo(this);
  }

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

  String ___get___name() {
    return name;
  }

  @Override
  public AttributeAnnotationBuilder.AttributeAnnotationBuilderIdentifier identifier(String identifier) {
    if (identifier == null) {
      throw new NullPointerException();
    }
    this.identifier = identifier;
    return this;
  }

  String ___get___identifier() {
    return identifier;
  }

  @Override
  public AttributeAnnotationBuilder.AttributeAnnotationBuilderTypeName typeName(TypeName typeName) {
    if (typeName == null) {
      throw new NullPointerException();
    }
    this.typeName = typeName;
    return this;
  }

  TypeName ___get___typeName() {
    return typeName;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy