Class Program

All Implemented Interfaces:
Serializable

public class Program extends NameableObject
See Also:
  • Constructor Details

  • Method Details

    • getTrackedEntityTypeAttributes

      public List<TrackedEntityAttribute> getTrackedEntityTypeAttributes()
      Returns tracked entity attributes which are part of the tracked entity type of the program.
      Returns:
      an immutable list of TrackedEntityAttribute.
    • getNonConfidentialTrackedEntityTypeAttributes

      public List<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

      public List<TrackedEntityAttribute> getTrackedEntityAttributes()
      Returns tracked entity attributes which are part of the program.
      Returns:
      an immutable list of TrackedEntityAttribute.
    • getNonConfidentialTrackedEntityAttributes

      public List<TrackedEntityAttribute> getNonConfidentialTrackedEntityAttributes()
      Returns tracked entity attributes which are not confidential and part of the program.
      Returns:
      an immutable list of TrackedEntityAttribute.
    • getDataElements

      public List<DataElement> getDataElements()
      Returns all data elements which are part of the stages of this program.
      Returns:
      an immutable set of DataElement.
    • getAnalyticsDataElements

      public List<DataElement> getAnalyticsDataElements()
      Returns data elements enabled for analytics which are part of the stages of this program.
      Returns:
      an immutable set of DataElement.
    • getAnalyticsDataElementsWithLegendSet

      public List<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.