Class Not

java.lang.Object
org.opendope.conditions.Not
All Implemented Interfaces:
Evaluable

public class Not
extends java.lang.Object
implements Evaluable

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice>
         <element ref="{http://opendope.org/conditions}xpathref"/>
         <element ref="{http://opendope.org/conditions}and"/>
         <element ref="{http://opendope.org/conditions}or"/>
         <element ref="{http://opendope.org/conditions}not"/>
         <element ref="{http://opendope.org/conditions}conditionref"/>
       </choice>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected Evaluable particle  
  • Constructor Summary

    Constructors 
    Constructor Description
    Not()  
  • Method Summary

    Modifier and Type Method Description
    boolean evaluate​(WordprocessingMLPackage pkg, java.util.Map<java.lang.String,​CustomXmlPart> customXmlDataStorageParts, java.util.Map<java.lang.String,​Condition> conditionsMap, java.util.Map<java.lang.String,​Xpaths.Xpath> xpathsMap)  
    Evaluable getParticle()
    Gets the value of the particle property.
    void listXPaths​(java.util.List<Xpaths.Xpath> theList, java.util.Map<java.lang.String,​Condition> conditionsMap, java.util.Map<java.lang.String,​Xpaths.Xpath> xpathsMap)
    List the XPaths used in this condition.
    void mapIds​(java.util.Map<java.lang.String,​java.lang.String> xpathIdMap, java.util.Map<java.lang.String,​java.lang.String> conditionIdMap)
    Map the IDs used in this condition to new values; useful for merging ConditionParts.
    Condition repeat​(java.lang.String xpathBase, int index, java.util.Map<java.lang.String,​Condition> conditionsMap, java.util.Map<java.lang.String,​Xpaths.Xpath> xpathsMap)
    Create a condition for this instance of a repeat.
    void setParticle​(Evaluable value)
    Sets the value of the particle property.
    java.lang.String toString​(java.util.Map<java.lang.String,​Condition> conditionsMap, java.util.Map<java.lang.String,​Xpaths.Xpath> xpathsMap)
    Build the XPath expression

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • Not

      public Not()
  • Method Details

    • getParticle

      public Evaluable getParticle()
      Gets the value of the particle property.
      Returns:
      possible object is Xpathref And Or Not Conditionref
    • evaluate

      public boolean evaluate​(WordprocessingMLPackage pkg, java.util.Map<java.lang.String,​CustomXmlPart> customXmlDataStorageParts, java.util.Map<java.lang.String,​Condition> conditionsMap, java.util.Map<java.lang.String,​Xpaths.Xpath> xpathsMap)
      Specified by:
      evaluate in interface Evaluable
    • listXPaths

      public void listXPaths​(java.util.List<Xpaths.Xpath> theList, java.util.Map<java.lang.String,​Condition> conditionsMap, java.util.Map<java.lang.String,​Xpaths.Xpath> xpathsMap)
      Description copied from interface: Evaluable
      List the XPaths used in this condition.
      Specified by:
      listXPaths in interface Evaluable
    • mapIds

      public void mapIds​(java.util.Map<java.lang.String,​java.lang.String> xpathIdMap, java.util.Map<java.lang.String,​java.lang.String> conditionIdMap)
      Map the IDs used in this condition to new values; useful for merging ConditionParts.
      Specified by:
      mapIds in interface Evaluable
      Parameters:
      xpathIdMap -
      conditionIdMap -
      Since:
      3.0.0
    • toString

      public java.lang.String toString​(java.util.Map<java.lang.String,​Condition> conditionsMap, java.util.Map<java.lang.String,​Xpaths.Xpath> xpathsMap)
      Description copied from interface: Evaluable
      Build the XPath expression
      Specified by:
      toString in interface Evaluable
      Returns:
    • setParticle

      public void setParticle​(Evaluable value)
      Sets the value of the particle property.
      Parameters:
      value - allowed object is Xpathref And Or Not Conditionref
    • repeat

      public Condition repeat​(java.lang.String xpathBase, int index, java.util.Map<java.lang.String,​Condition> conditionsMap, java.util.Map<java.lang.String,​Xpaths.Xpath> xpathsMap)
      Description copied from interface: Evaluable
      Create a condition for this instance of a repeat.
      Specified by:
      repeat in interface Evaluable
      Returns: