org.hisp.dhis.model.datavalueset.DataValueSet Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dhis2-java-client Show documentation
Show all versions of dhis2-java-client Show documentation
DHIS 2 API client for Java.
package org.hisp.dhis.model.datavalueset;
import java.util.ArrayList;
import java.util.List;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonProperty;
@Getter
@Setter
@ToString
@NoArgsConstructor
@Accessors( chain = true )
public class DataValueSet
{
@JsonProperty
private String dataSet;
@JsonProperty
private String completeDate;
@JsonProperty
private String period;
@JsonProperty
private String orgUnit;
@JsonProperty
private String attributeOptionCombo;
@ToString.Exclude
@JsonProperty
private List dataValues = new ArrayList<>();
public boolean addDataValue( DataValue dataValue )
{
return this.dataValues.add( dataValue );
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy