Tabnine Logo
Expression.equals
Code IndexAdd Tabnine to your IDE (free)

How to use
equals
method
in
org.hisp.dhis.expression.Expression

Best Java code snippets using org.hisp.dhis.expression.Expression.equals (Showing top 2 results out of 315)

origin: dhis2/dhis2-core

@Override
public void deleteExpression( Expression expression )
{
  Iterator<ValidationRule> iterator = validationRuleService.getAllValidationRules().iterator();
  
  while ( iterator.hasNext() )
  {
    ValidationRule rule = iterator.next();
    
    Expression leftSide = rule.getLeftSide();
    Expression rightSide = rule.getRightSide();
    if ( (leftSide != null && leftSide.equals( expression )) ||
       (rightSide != null && rightSide.equals( expression )) )
    {
      iterator.remove();
      validationRuleService.deleteValidationRule( rule );
    }
  }
}
 
origin: dhis2/dhis2-core

@Override
public void deleteExpression( Expression expression )
{
  Iterator<Predictor> iterator = predictorService.getAllPredictors().iterator();
  
  while ( iterator.hasNext() )
  {
    Predictor predictor = iterator.next();
    
    Expression generator = predictor.getGenerator();
    Expression skipTest= predictor.getSampleSkipTest();
    if ( generator != null && generator.equals( expression ) ||
       skipTest != null && skipTest.equals( expression ) )
    {
      iterator.remove();
      predictorService.deletePredictor ( predictor );
    }
  }
}
org.hisp.dhis.expressionExpressionequals

Popular methods of Expression

  • getExpression
  • <init>
    Constructor with all the parameters.
  • setExpression
  • getMissingValueStrategy
  • setDescription
  • getDescription
  • getId
  • getSlidingWindow
  • matchExpression
  • setMissingValueStrategy

Popular in Java

  • Creating JSON documents from java classes using gson
  • setRequestProperty (URLConnection)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getSupportFragmentManager (FragmentActivity)
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • Reference (javax.naming)
  • JButton (javax.swing)
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Top 12 Jupyter Notebook extensions
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