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

org.hisp.dhis.model.DataElement Maven / Gradle / Ivy

There is a newer version: 2.0.4
Show newest version
package org.hisp.dhis.model;

import java.util.ArrayList;
import java.util.List;

import lombok.Getter;
import lombok.Setter;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;

@Getter
@Setter
public class DataElement
    extends NameableObject
{
    @JsonProperty
    private AggregationType aggregationType;

    @JsonProperty
    private ValueType valueType;

    @JsonProperty
    private DataDomain domainType;

    @JsonProperty
    private String url;

    @JsonProperty
    private List legendSets = new ArrayList<>();

    @JsonProperty
    private OptionSet optionSet;

    @JsonProperty
    private List dataElementGroups = new ArrayList<>();

    @JsonProperty
    private List dataSetElements = new ArrayList<>();

    @JsonIgnore
    public boolean hasOptionSet()
    {
        return optionSet != null;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy