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

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

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

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

@Generated("br.com.objectos.auto.pojo.AutoPojoProcessor")
final class ProtoMethodPojo extends ProtoMethod {
  private final ProtoNaming naming;

  private final String tagName;

  private final String classSimpleName;

  private final ContentModel contentModel;

  private final List attributeAnnotationList;

  public ProtoMethodPojo(ProtoMethodBuilderPojo builder) {
    super();
    naming = builder.___get___naming();
    tagName = builder.___get___tagName();
    classSimpleName = builder.___get___classSimpleName();
    contentModel = builder.___get___contentModel();
    attributeAnnotationList = builder.___get___attributeAnnotationList();
  }

  @Override
  public boolean isEqual(ProtoMethod that) {
    return Testables.isEqualHelper()
        .equal(naming, that.naming())
        .equal(tagName, that.tagName())
        .equal(classSimpleName, that.classSimpleName())
        .equal(contentModel, that.contentModel())
        .equal(attributeAnnotationList, that.attributeAnnotationList())
        .result();
  }

  @Override
  ProtoNaming naming() {
    return naming;
  }

  @Override
  String tagName() {
    return tagName;
  }

  @Override
  String classSimpleName() {
    return classSimpleName;
  }

  @Override
  ContentModel contentModel() {
    return contentModel;
  }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy