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

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

The newest version!
package br.com.objectos.ui.html;

import br.com.objectos.core.testing.Testables;
import com.squareup.javapoet.TypeName;
import javax.annotation.Generated;

@Generated("br.com.objectos.auto.pojo.AutoPojoProcessor")
final class AttributeAnnotationPojo extends AttributeAnnotation {
  private final String name;

  private final String identifier;

  private final TypeName typeName;

  public AttributeAnnotationPojo(AttributeAnnotationBuilderPojo builder) {
    super();
    name = builder.___get___name();
    identifier = builder.___get___identifier();
    typeName = builder.___get___typeName();
  }

  @Override
  public boolean isEqual(AttributeAnnotation that) {
    return Testables.isEqualHelper()
        .equal(name, that.name())
        .equal(identifier, that.identifier())
        .equal(typeName, that.typeName())
        .result();
  }

  @Override
  String name() {
    return name;
  }

  @Override
  String identifier() {
    return identifier;
  }

  @Override
  TypeName typeName() {
    return typeName;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy