Class CTProtectedRange

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

public class CTProtectedRange
extends java.lang.Object
implements Child

Java class for CT_ProtectedRange complex type.

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

 <complexType name="CT_ProtectedRange">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="securityDescriptor" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="password" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_UnsignedShortHex" />
       <attribute name="sqref" use="required" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Sqref" />
       <attribute name="name" use="required" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
       <attribute name="securityDescriptor" type="{http://www.w3.org/2001/XMLSchema}string" />
       <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" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected java.lang.String algorithmName  
    protected byte[] hashValue  
    protected java.lang.String name  
    protected byte[] password  
    protected byte[] saltValue  
    protected java.util.List<java.lang.String> securityDescriptor  
    protected java.lang.String securityDescriptorAttr  
    protected java.lang.Long spinCount  
    protected java.util.List<java.lang.String> sqref  
  • Constructor Summary

    Constructors 
    Constructor Description
    CTProtectedRange()  
  • Method Summary

    Modifier and Type Method Description
    void afterUnmarshal​(javax.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.String getName()
    Gets the value of the name 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.util.List<java.lang.String> getSecurityDescriptor()
    Gets the value of the securityDescriptor property.
    java.lang.String getSecurityDescriptorAttr()
    Gets the value of the securityDescriptorAttr property.
    java.lang.Long getSpinCount()
    Gets the value of the spinCount property.
    java.util.List<java.lang.String> getSqref()
    Gets the value of the sqref property.
    void setAlgorithmName​(java.lang.String value)
    Sets the value of the algorithmName property.
    void setHashValue​(byte[] value)
    Sets the value of the hashValue property.
    void setName​(java.lang.String value)
    Sets the value of the name 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 setSecurityDescriptorAttr​(java.lang.String value)
    Sets the value of the securityDescriptorAttr 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

  • Constructor Details

  • Method Details

    • getSecurityDescriptor

      public java.util.List<java.lang.String> getSecurityDescriptor()
      Gets the value of the securityDescriptor property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the securityDescriptor property.

      For example, to add a new item, do as follows:

          getSecurityDescriptor().add(newItem);
       

      Objects of the following type(s) are allowed in the list String

    • 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
    • getSqref

      public java.util.List<java.lang.String> getSqref()
      Gets the value of the sqref property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the sqref property.

      For example, to add a new item, do as follows:

          getSqref().add(newItem);
       

      Objects of the following type(s) are allowed in the list String

    • getName

      public java.lang.String getName()
      Gets the value of the name property.
      Returns:
      possible object is String
    • setName

      public void setName​(java.lang.String value)
      Sets the value of the name property.
      Parameters:
      value - allowed object is String
    • getSecurityDescriptorAttr

      public java.lang.String getSecurityDescriptorAttr()
      Gets the value of the securityDescriptorAttr property.
      Returns:
      possible object is String
    • setSecurityDescriptorAttr

      public void setSecurityDescriptorAttr​(java.lang.String value)
      Sets the value of the securityDescriptorAttr 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
    • 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​(javax.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.