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

org.hisp.dhis.model.datavalueset.DataValueSet Maven / Gradle / Ivy

There is a newer version: 2.0.4
Show newest version
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