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

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

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

import java.util.HashSet;
import java.util.Set;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import com.fasterxml.jackson.annotation.JsonProperty;

@Getter
@Setter
@NoArgsConstructor
public class OrgUnitGroupSet
    extends NameableObject
{
    @JsonProperty
    private Boolean dataDimension;

    @JsonProperty
    private Boolean compulsory;

    @JsonProperty
    private Set organisationUnitGroups = new HashSet<>();

    public OrgUnitGroupSet( String id, String name )
    {
        this.id = id;
        this.name = name;
    }

    public OrgUnitGroupSet( String id, String name, String shortName )
    {
        this( id, name );
        this.shortName = shortName;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy