Class CTNumericRule

java.lang.Object
org.docx4j.dml.diagram.CTNumericRule
All Implemented Interfaces:
Child

public class CTNumericRule extends Object implements Child

Java class for CT_NumericRule complex type.

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

 <complexType name="CT_NumericRule">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="extLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_OfficeArtExtensionList" minOccurs="0"/>
       </sequence>
       <attGroup ref="{http://schemas.openxmlformats.org/drawingml/2006/diagram}AG_ConstraintAttributes"/>
       <attribute name="val" type="{http://www.w3.org/2001/XMLSchema}double" default="NaN" />
       <attribute name="fact" type="{http://www.w3.org/2001/XMLSchema}double" default="NaN" />
       <attribute name="max" type="{http://www.w3.org/2001/XMLSchema}double" default="NaN" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • CTNumericRule

      public CTNumericRule()
  • Method Details

    • getExtLst

      public CTOfficeArtExtensionList getExtLst()
      Gets the value of the extLst property.
      Returns:
      possible object is CTOfficeArtExtensionList
    • setExtLst

      public void setExtLst(CTOfficeArtExtensionList value)
      Sets the value of the extLst property.
      Parameters:
      value - allowed object is CTOfficeArtExtensionList
    • getVal

      public double getVal()
      Gets the value of the val property.
      Returns:
      possible object is Double
    • setVal

      public void setVal(Double value)
      Sets the value of the val property.
      Parameters:
      value - allowed object is Double
    • getFact

      public double getFact()
      Gets the value of the fact property.
      Returns:
      possible object is Double
    • setFact

      public void setFact(Double value)
      Sets the value of the fact property.
      Parameters:
      value - allowed object is Double
    • getMax

      public double getMax()
      Gets the value of the max property.
      Returns:
      possible object is Double
    • setMax

      public void setMax(Double value)
      Sets the value of the max property.
      Parameters:
      value - allowed object is Double
    • getType

      public STConstraintType getType()
      Gets the value of the type property.
      Returns:
      possible object is STConstraintType
    • setType

      public void setType(STConstraintType value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is STConstraintType
    • getFor

      public STConstraintRelationship getFor()
      Gets the value of the for property.
      Returns:
      possible object is STConstraintRelationship
    • setFor

      public void setFor(STConstraintRelationship value)
      Sets the value of the for property.
      Parameters:
      value - allowed object is STConstraintRelationship
    • getForName

      public String getForName()
      Gets the value of the forName property.
      Returns:
      possible object is String
    • setForName

      public void setForName(String value)
      Sets the value of the forName property.
      Parameters:
      value - allowed object is String
    • getPtType

      public STElementType getPtType()
      Gets the value of the ptType property.
      Returns:
      possible object is STElementType
    • setPtType

      public void setPtType(STElementType value)
      Sets the value of the ptType property.
      Parameters:
      value - allowed object is STElementType
    • getParent

      public Object getParent()
      Gets the parent object in the object tree representing the unmarshalled xml document.
      Specified by:
      getParent in interface Child
      Returns:
      The parent object.
    • setParent

      public void setParent(Object parent)
      Specified by:
      setParent in interface Child
    • afterUnmarshal

      public void afterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, Object parent)
      This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
      Parameters:
      parent - The parent object in the object tree.
      unmarshaller - The unmarshaller that generated the instance.