Class CTChartsheetProtection

java.lang.Object
org.xlsx4j.sml.CTChartsheetProtection
All Implemented Interfaces:
Child

public class CTChartsheetProtection
extends java.lang.Object
implements Child

Java class for CT_ChartsheetProtection complex type.

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

 <complexType name="CT_ChartsheetProtection">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="password" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_UnsignedShortHex" />
       <attribute name="algorithmName" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
       <attribute name="hashValue" type="{http://www.w3.org/2001/XMLSchema}base64Binary" />
       <attribute name="saltValue" type="{http://www.w3.org/2001/XMLSchema}base64Binary" />
       <attribute name="spinCount" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
       <attribute name="content" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="objects" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected java.lang.String algorithmName  
    protected java.lang.Boolean content  
    protected byte[] hashValue  
    protected java.lang.Boolean objects  
    protected byte[] password  
    protected byte[] saltValue  
    protected java.lang.Long spinCount  
  • Constructor Summary

    Constructors
    Constructor Description
    CTChartsheetProtection()  
  • Method Summary

    Modifier and Type Method Description
    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.
    java.lang.String getAlgorithmName()
    Gets the value of the algorithmName property.
    byte[] getHashValue()
    Gets the value of the hashValue property.
    java.lang.Object getParent()
    Gets the parent object in the object tree representing the unmarshalled xml document.
    byte[] getPassword()
    Gets the value of the password property.
    byte[] getSaltValue()
    Gets the value of the saltValue property.
    java.lang.Long getSpinCount()
    Gets the value of the spinCount property.
    boolean isContent()
    Gets the value of the content property.
    boolean isObjects()
    Gets the value of the objects property.
    void setAlgorithmName​(java.lang.String value)
    Sets the value of the algorithmName property.
    void setContent​(java.lang.Boolean value)
    Sets the value of the content property.
    void setHashValue​(byte[] value)
    Sets the value of the hashValue property.
    void setObjects​(java.lang.Boolean value)
    Sets the value of the objects property.
    void setParent​(java.lang.Object parent)  
    void setPassword​(byte[] value)
    Sets the value of the password property.
    void setSaltValue​(byte[] value)
    Sets the value of the saltValue property.
    void setSpinCount​(java.lang.Long value)
    Sets the value of the spinCount property.

    Methods inherited from class java.lang.Object

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

    • password

      protected byte[] password
    • algorithmName

      protected java.lang.String algorithmName
    • hashValue

      protected byte[] hashValue
    • saltValue

      protected byte[] saltValue
    • spinCount

      protected java.lang.Long spinCount
    • content

      protected java.lang.Boolean content
    • objects

      protected java.lang.Boolean objects
  • Constructor Details

    • CTChartsheetProtection

      public CTChartsheetProtection()
  • Method Details

    • getPassword

      public byte[] getPassword()
      Gets the value of the password property.
      Returns:
      possible object is String
    • setPassword

      public void setPassword​(byte[] value)
      Sets the value of the password property.
      Parameters:
      value - allowed object is String
    • getAlgorithmName

      public java.lang.String getAlgorithmName()
      Gets the value of the algorithmName property.
      Returns:
      possible object is String
    • setAlgorithmName

      public void setAlgorithmName​(java.lang.String value)
      Sets the value of the algorithmName property.
      Parameters:
      value - allowed object is String
    • getHashValue

      public byte[] getHashValue()
      Gets the value of the hashValue property.
      Returns:
      possible object is byte[]
    • setHashValue

      public void setHashValue​(byte[] value)
      Sets the value of the hashValue property.
      Parameters:
      value - allowed object is byte[]
    • getSaltValue

      public byte[] getSaltValue()
      Gets the value of the saltValue property.
      Returns:
      possible object is byte[]
    • setSaltValue

      public void setSaltValue​(byte[] value)
      Sets the value of the saltValue property.
      Parameters:
      value - allowed object is byte[]
    • getSpinCount

      public java.lang.Long getSpinCount()
      Gets the value of the spinCount property.
      Returns:
      possible object is Long
    • setSpinCount

      public void setSpinCount​(java.lang.Long value)
      Sets the value of the spinCount property.
      Parameters:
      value - allowed object is Long
    • isContent

      public boolean isContent()
      Gets the value of the content property.
      Returns:
      possible object is Boolean
    • setContent

      public void setContent​(java.lang.Boolean value)
      Sets the value of the content property.
      Parameters:
      value - allowed object is Boolean
    • isObjects

      public boolean isObjects()
      Gets the value of the objects property.
      Returns:
      possible object is Boolean
    • setObjects

      public void setObjects​(java.lang.Boolean value)
      Sets the value of the objects property.
      Parameters:
      value - allowed object is Boolean
    • 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.