congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
ValidationRule.setRightSide
Code IndexAdd Tabnine to your IDE (free)

How to use
setRightSide
method
in
org.hisp.dhis.validation.ValidationRule

Best Java code snippets using org.hisp.dhis.validation.ValidationRule.setRightSide (Showing top 2 results out of 315)

origin: dhis2/dhis2-core

/**
 * @param uniqueCharacter    A unique character to identify the object.
 * @param operator           The operator.
 * @param leftSide           The left side expression.
 * @param rightSide          The right side expression.
 * @param periodType         The period-type.
 * @param skipFormValidation Skip when validating forms.
 */
public static ValidationRule createValidationRule( String uniqueCharacter, Operator operator, Expression leftSide,
  Expression rightSide, PeriodType periodType, boolean skipFormValidation )
{
  Assert.notNull( leftSide, "Left side expression must be specified" );
  Assert.notNull( rightSide, "Rigth side expression must be specified" );
  ValidationRule validationRule = new ValidationRule();
  validationRule.setAutoFields();
  validationRule.setName( "ValidationRule" + uniqueCharacter );
  validationRule.setDescription( "Description" + uniqueCharacter );
  validationRule.setOperator( operator );
  validationRule.setLeftSide( leftSide );
  validationRule.setRightSide( rightSide );
  validationRule.setPeriodType( periodType );
  validationRule.setSkipFormValidation( skipFormValidation );
  return validationRule;
}
origin: dhis2/dhis2-core

object.setRightSide( rightSide );
object.setAutoFields();
org.hisp.dhis.validationValidationRulesetRightSide

Popular methods of ValidationRule

  • getGroups
  • getLeftSide
  • getRightSide
  • setPeriodType
  • <init>
  • equals
  • getId
  • getNotificationTemplates
  • getPeriodType
  • setAutoFields
  • setDescription
  • setLeftSide
  • setDescription,
  • setLeftSide,
  • setOperator,
  • getDisplayName,
  • getImportance,
  • getOperator,
  • getOrganisationUnitLevels,
  • getUid,
  • hashCode

Popular in Java

  • Making http requests using okhttp
  • getExternalFilesDir (Context)
  • setScale (BigDecimal)
  • runOnUiThread (Activity)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • Permission (java.security)
    Legacy security code; do not use.
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • Best plugins for Eclipse
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