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

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

Best Java code snippets using org.hisp.dhis.validation.ValidationRule.setLeftSide (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

  .safeValueOf( getSafe( values, 14, MissingValueStrategy.NEVER_SKIP.toString(), 50 ) ) );
object.setLeftSide( leftSide );
object.setRightSide( rightSide );
object.setAutoFields();
org.hisp.dhis.validationValidationRulesetLeftSide

Popular methods of ValidationRule

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

Popular in Java

  • Making http post requests using okhttp
  • getApplicationContext (Context)
  • setContentView (Activity)
  • getExternalFilesDir (Context)
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • ImageIO (javax.imageio)
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Top PhpStorm plugins
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