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

test.java.pro.verron.officestamper.test.SubContext Maven / Gradle / Ivy

Go to download

Office-stamper is a Java template engine for docx documents, forked from org.wickedsource.docx-stamper

There is a newer version: 2.6.0
Show newest version
package pro.verron.officestamper.test;

import java.util.List;
import java.util.Objects;

/**
 * 

SubContext class.

* * @author Joseph Verron * @version ${version} * @since 1.6.6 */ public final class SubContext { private String value; private List li; /** *

Constructor for SubContext.

*/ public SubContext() { } /** *

Constructor for SubContext.

* * @param value a {@link java.lang.String} object * @param li a {@link java.util.List} object */ public SubContext( String value, List li ) { this.value = value; this.li = li; } /** *

Getter for the field value.

* * @return a {@link java.lang.String} object */ public String getValue() { return value; } /** *

Setter for the field value.

* * @param value a {@link java.lang.String} object */ public void setValue(String value) { this.value = value; } /** *

Getter for the field li.

* * @return a {@link java.util.List} object */ public List getLi() { return li; } /** *

Setter for the field li.

* * @param li a {@link java.util.List} object */ public void setLi(List li) { this.li = li; } /** {@inheritDoc} */ @Override public boolean equals(Object obj) { if (obj == this) return true; if (obj == null || obj.getClass() != this.getClass()) return false; var that = (SubContext) obj; return Objects.equals(this.value, that.value) && Objects.equals(this.li, that.li); } /** {@inheritDoc} */ @Override public int hashCode() { return Objects.hash(value, li); } /** {@inheritDoc} */ @Override public String toString() { return "SubContext[" + "value=" + value + ", " + "li=" + li + ']'; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy