Package org.hisp.dhis.model
Class Program
java.lang.Object
org.hisp.dhis.model.IdentifiableObject
org.hisp.dhis.model.NameableObject
org.hisp.dhis.model.Program
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields inherited from class org.hisp.dhis.model.NameableObject
description, shortNameFields inherited from class org.hisp.dhis.model.IdentifiableObject
attributeValues, code, created, id, lastUpdated, name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns data elements enabled for analytics which are part of the stages of this program.Returns data elements enabled for analytics which are part of the stages of this program which have a legend set and is of numeric value type.Returns all data elements which are part of the stages of this program.Returns tracked entity attributes which are not confidential and part of the program.Returns tracked entity attributes which are not confidential and part of the tracked entity type of the program.Returns tracked entity attributes which are part of the program.Returns tracked entity attributes which are part of the tracked entity type of the program.booleanIndicates whether this program has a category combination.booleanIndicates whether this program has a tracked entity type.booleanIndicates whether this program is without registration, i.e.booleanIndicates whether this program is with registration, i.e.Methods inherited from class org.hisp.dhis.model.IdentifiableObject
addAttributeValue, clearAttributeValues, equals, getAttributeValue, getAttributeValueAsString, hasAttributeValue, hashCode, removeAttributeValue, updateAttributeValue
-
Constructor Details
-
Program
-
-
Method Details
-
getTrackedEntityTypeAttributes
Returns tracked entity attributes which are part of the tracked entity type of the program.- Returns:
- an immutable list of
TrackedEntityAttribute.
-
getNonConfidentialTrackedEntityTypeAttributes
Returns tracked entity attributes which are not confidential and part of the tracked entity type of the program.- Returns:
- an immutable list of
TrackedEntityAttribute.
-
getTrackedEntityAttributes
Returns tracked entity attributes which are part of the program.- Returns:
- an immutable list of
TrackedEntityAttribute.
-
getNonConfidentialTrackedEntityAttributes
Returns tracked entity attributes which are not confidential and part of the program.- Returns:
- an immutable list of
TrackedEntityAttribute.
-
getDataElements
Returns all data elements which are part of the stages of this program.- Returns:
- an immutable set of
DataElement.
-
getAnalyticsDataElements
Returns data elements enabled for analytics which are part of the stages of this program.- Returns:
- an immutable set of
DataElement.
-
getAnalyticsDataElementsWithLegendSet
Returns data elements enabled for analytics which are part of the stages of this program which have a legend set and is of numeric value type.- Returns:
- an immutable set of
DataElement.
-
hasCategoryCombo
public boolean hasCategoryCombo()Indicates whether this program has a category combination.- Returns:
- true if this program has a category combination.
-
hasTrackedEntityType
public boolean hasTrackedEntityType()Indicates whether this program has a tracked entity type.- Returns:
- true if this program has a tracked entity type.
-
isTrackerProgram
public boolean isTrackerProgram()Indicates whether this program is with registration, i.e. a tracker program.- Returns:
- true if this program is with registration.
-
isEventProgram
public boolean isEventProgram()Indicates whether this program is without registration, i.e. an event program.- Returns:
- true if this program is without registration.
-