Class CTProtection

java.lang.Object
org.docx4j.dml.chart.CTProtection
All Implemented Interfaces:
Child

public class CTProtection
extends java.lang.Object
implements Child

Java class for CT_Protection complex type.

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

 <complexType name="CT_Protection">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="chartObject" type="{http://schemas.openxmlformats.org/drawingml/2006/chart}CT_Boolean" minOccurs="0"/>
         <element name="data" type="{http://schemas.openxmlformats.org/drawingml/2006/chart}CT_Boolean" minOccurs="0"/>
         <element name="formatting" type="{http://schemas.openxmlformats.org/drawingml/2006/chart}CT_Boolean" minOccurs="0"/>
         <element name="selection" type="{http://schemas.openxmlformats.org/drawingml/2006/chart}CT_Boolean" minOccurs="0"/>
         <element name="userInterface" type="{http://schemas.openxmlformats.org/drawingml/2006/chart}CT_Boolean" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • CTProtection

      public CTProtection()
  • Method Details

    • getChartObject

      public CTBoolean getChartObject()
      Gets the value of the chartObject property.
      Returns:
      possible object is CTBoolean
    • setChartObject

      public void setChartObject​(CTBoolean value)
      Sets the value of the chartObject property.
      Parameters:
      value - allowed object is CTBoolean
    • getData

      public CTBoolean getData()
      Gets the value of the data property.
      Returns:
      possible object is CTBoolean
    • setData

      public void setData​(CTBoolean value)
      Sets the value of the data property.
      Parameters:
      value - allowed object is CTBoolean
    • getFormatting

      public CTBoolean getFormatting()
      Gets the value of the formatting property.
      Returns:
      possible object is CTBoolean
    • setFormatting

      public void setFormatting​(CTBoolean value)
      Sets the value of the formatting property.
      Parameters:
      value - allowed object is CTBoolean
    • getSelection

      public CTBoolean getSelection()
      Gets the value of the selection property.
      Returns:
      possible object is CTBoolean
    • setSelection

      public void setSelection​(CTBoolean value)
      Sets the value of the selection property.
      Parameters:
      value - allowed object is CTBoolean
    • getUserInterface

      public CTBoolean getUserInterface()
      Gets the value of the userInterface property.
      Returns:
      possible object is CTBoolean
    • setUserInterface

      public void setUserInterface​(CTBoolean value)
      Sets the value of the userInterface property.
      Parameters:
      value - allowed object is CTBoolean
    • getParent

      public java.lang.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​(java.lang.Object parent)
      Specified by:
      setParent in interface Child
    • afterUnmarshal

      public void afterUnmarshal​(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.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.