Tabnine Logo
Program.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.hisp.dhis.program.Program
constructor

Best Java code snippets using org.hisp.dhis.program.Program.<init> (Showing top 2 results out of 315)

origin: dhis2/dhis2-core

protected ProgramDataElementDimensionItem createProgramDataElement( char name )
{
  Program pr = new Program();
  pr.setUid( "P123456789" + name );
  pr.setCode( "PCode" + name );
  DataElement de = new DataElement( "Name" + name );
  de.setUid( "D123456789" + name );
  de.setCode( "DCode" + name );
  return new ProgramDataElementDimensionItem( pr, de );
}
origin: dhis2/dhis2-core

public static Program createProgram( char uniqueCharacter, Set<ProgramStage> programStages,
  Set<TrackedEntityAttribute> attributes, Set<OrganisationUnit> organisationUnits, CategoryCombo categoryCombo )
  Program program = new Program();
  program.setAutoFields();
org.hisp.dhis.programProgram<init>

Popular methods of Program

  • getUid
  • equals
  • getProgramStages
  • getCategoryCombo
  • getDataElements
    Returns all data elements which are part of the stages of this program.
  • getId
  • getProgramAttributes
  • getProgramIndicators
  • getTrackedEntityAttributes
    Returns TrackedEntityAttributes from ProgramTrackedEntityAttributes. Use getAttributes() to access t
  • isRegistration
  • getName
  • getNotificationTemplates
  • getName,
  • getNotificationTemplates,
  • getOrganisationUnits,
  • getProgramType,
  • getTrackedEntityType,
  • hasOrganisationUnit,
  • hashCode,
  • isWithoutRegistration,
  • setCategoryCombo

Popular in Java

  • Updating database using SQL prepared statement
  • getSharedPreferences (Context)
  • findViewById (Activity)
  • scheduleAtFixedRate (Timer)
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Github Copilot alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now