Class CTConnection

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

public class CTConnection
extends java.lang.Object
implements Child

Java class for CT_Connection complex type.

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

 <complexType name="CT_Connection">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="dbPr" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_DbPr" minOccurs="0"/>
         <element name="olapPr" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_OlapPr" minOccurs="0"/>
         <element name="webPr" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_WebPr" minOccurs="0"/>
         <element name="textPr" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_TextPr" minOccurs="0"/>
         <element name="parameters" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Parameters" minOccurs="0"/>
         <element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
       </sequence>
       <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
       <attribute name="sourceFile" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
       <attribute name="odcFile" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
       <attribute name="keepAlive" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="interval" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="0" />
       <attribute name="name" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
       <attribute name="description" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
       <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
       <attribute name="reconnectionMethod" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="1" />
       <attribute name="refreshedVersion" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedByte" />
       <attribute name="minRefreshableVersion" type="{http://www.w3.org/2001/XMLSchema}unsignedByte" default="0" />
       <attribute name="savePassword" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="new" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="deleted" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="onlyUseConnectionFile" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="background" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="refreshOnLoad" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="saveData" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="credentials" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_CredMethod" default="integrated" />
       <attribute name="singleSignOnId" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected java.lang.Boolean _new  
    protected java.lang.Boolean background  
    protected STCredMethod credentials  
    protected CTDbPr dbPr  
    protected java.lang.Boolean deleted  
    protected java.lang.String description  
    protected CTExtensionList extLst  
    protected long id  
    protected java.lang.Long interval  
    protected java.lang.Boolean keepAlive  
    protected java.lang.Short minRefreshableVersion  
    protected java.lang.String name  
    protected java.lang.String odcFile  
    protected CTOlapPr olapPr  
    protected java.lang.Boolean onlyUseConnectionFile  
    protected CTParameters parameters  
    protected java.lang.Long reconnectionMethod  
    protected short refreshedVersion  
    protected java.lang.Boolean refreshOnLoad  
    protected java.lang.Boolean saveData  
    protected java.lang.Boolean savePassword  
    protected java.lang.String singleSignOnId  
    protected java.lang.String sourceFile  
    protected CTTextPr textPr  
    protected java.lang.Long type  
    protected CTWebPr webPr  
  • Constructor Summary

    Constructors 
    Constructor Description
    CTConnection()  
  • 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.
    STCredMethod getCredentials()
    Gets the value of the credentials property.
    CTDbPr getDbPr()
    Gets the value of the dbPr property.
    java.lang.String getDescription()
    Gets the value of the description property.
    CTExtensionList getExtLst()
    Gets the value of the extLst property.
    long getId()
    Gets the value of the id property.
    long getInterval()
    Gets the value of the interval property.
    short getMinRefreshableVersion()
    Gets the value of the minRefreshableVersion property.
    java.lang.String getName()
    Gets the value of the name property.
    java.lang.String getOdcFile()
    Gets the value of the odcFile property.
    CTOlapPr getOlapPr()
    Gets the value of the olapPr property.
    CTParameters getParameters()
    Gets the value of the parameters property.
    java.lang.Object getParent()
    Gets the parent object in the object tree representing the unmarshalled xml document.
    long getReconnectionMethod()
    Gets the value of the reconnectionMethod property.
    short getRefreshedVersion()
    Gets the value of the refreshedVersion property.
    java.lang.String getSingleSignOnId()
    Gets the value of the singleSignOnId property.
    java.lang.String getSourceFile()
    Gets the value of the sourceFile property.
    CTTextPr getTextPr()
    Gets the value of the textPr property.
    java.lang.Long getType()
    Gets the value of the type property.
    CTWebPr getWebPr()
    Gets the value of the webPr property.
    boolean isBackground()
    Gets the value of the background property.
    boolean isDeleted()
    Gets the value of the deleted property.
    boolean isKeepAlive()
    Gets the value of the keepAlive property.
    boolean isNew()
    Gets the value of the new property.
    boolean isOnlyUseConnectionFile()
    Gets the value of the onlyUseConnectionFile property.
    boolean isRefreshOnLoad()
    Gets the value of the refreshOnLoad property.
    boolean isSaveData()
    Gets the value of the saveData property.
    boolean isSavePassword()
    Gets the value of the savePassword property.
    void setBackground​(java.lang.Boolean value)
    Sets the value of the background property.
    void setCredentials​(STCredMethod value)
    Sets the value of the credentials property.
    void setDbPr​(CTDbPr value)
    Sets the value of the dbPr property.
    void setDeleted​(java.lang.Boolean value)
    Sets the value of the deleted property.
    void setDescription​(java.lang.String value)
    Sets the value of the description property.
    void setExtLst​(CTExtensionList value)
    Sets the value of the extLst property.
    void setId​(long value)
    Sets the value of the id property.
    void setInterval​(java.lang.Long value)
    Sets the value of the interval property.
    void setKeepAlive​(java.lang.Boolean value)
    Sets the value of the keepAlive property.
    void setMinRefreshableVersion​(java.lang.Short value)
    Sets the value of the minRefreshableVersion property.
    void setName​(java.lang.String value)
    Sets the value of the name property.
    void setNew​(java.lang.Boolean value)
    Sets the value of the new property.
    void setOdcFile​(java.lang.String value)
    Sets the value of the odcFile property.
    void setOlapPr​(CTOlapPr value)
    Sets the value of the olapPr property.
    void setOnlyUseConnectionFile​(java.lang.Boolean value)
    Sets the value of the onlyUseConnectionFile property.
    void setParameters​(CTParameters value)
    Sets the value of the parameters property.
    void setParent​(java.lang.Object parent)  
    void setReconnectionMethod​(java.lang.Long value)
    Sets the value of the reconnectionMethod property.
    void setRefreshedVersion​(short value)
    Sets the value of the refreshedVersion property.
    void setRefreshOnLoad​(java.lang.Boolean value)
    Sets the value of the refreshOnLoad property.
    void setSaveData​(java.lang.Boolean value)
    Sets the value of the saveData property.
    void setSavePassword​(java.lang.Boolean value)
    Sets the value of the savePassword property.
    void setSingleSignOnId​(java.lang.String value)
    Sets the value of the singleSignOnId property.
    void setSourceFile​(java.lang.String value)
    Sets the value of the sourceFile property.
    void setTextPr​(CTTextPr value)
    Sets the value of the textPr property.
    void setType​(java.lang.Long value)
    Sets the value of the type property.
    void setWebPr​(CTWebPr value)
    Sets the value of the webPr 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

    • getDbPr

      public CTDbPr getDbPr()
      Gets the value of the dbPr property.
      Returns:
      possible object is CTDbPr
    • setDbPr

      public void setDbPr​(CTDbPr value)
      Sets the value of the dbPr property.
      Parameters:
      value - allowed object is CTDbPr
    • getOlapPr

      public CTOlapPr getOlapPr()
      Gets the value of the olapPr property.
      Returns:
      possible object is CTOlapPr
    • setOlapPr

      public void setOlapPr​(CTOlapPr value)
      Sets the value of the olapPr property.
      Parameters:
      value - allowed object is CTOlapPr
    • getWebPr

      public CTWebPr getWebPr()
      Gets the value of the webPr property.
      Returns:
      possible object is CTWebPr
    • setWebPr

      public void setWebPr​(CTWebPr value)
      Sets the value of the webPr property.
      Parameters:
      value - allowed object is CTWebPr
    • getTextPr

      public CTTextPr getTextPr()
      Gets the value of the textPr property.
      Returns:
      possible object is CTTextPr
    • setTextPr

      public void setTextPr​(CTTextPr value)
      Sets the value of the textPr property.
      Parameters:
      value - allowed object is CTTextPr
    • getParameters

      public CTParameters getParameters()
      Gets the value of the parameters property.
      Returns:
      possible object is CTParameters
    • setParameters

      public void setParameters​(CTParameters value)
      Sets the value of the parameters property.
      Parameters:
      value - allowed object is CTParameters
    • getExtLst

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

      public void setExtLst​(CTExtensionList value)
      Sets the value of the extLst property.
      Parameters:
      value - allowed object is CTExtensionList
    • getId

      public long getId()
      Gets the value of the id property.
    • setId

      public void setId​(long value)
      Sets the value of the id property.
    • getSourceFile

      public java.lang.String getSourceFile()
      Gets the value of the sourceFile property.
      Returns:
      possible object is String
    • setSourceFile

      public void setSourceFile​(java.lang.String value)
      Sets the value of the sourceFile property.
      Parameters:
      value - allowed object is String
    • getOdcFile

      public java.lang.String getOdcFile()
      Gets the value of the odcFile property.
      Returns:
      possible object is String
    • setOdcFile

      public void setOdcFile​(java.lang.String value)
      Sets the value of the odcFile property.
      Parameters:
      value - allowed object is String
    • isKeepAlive

      public boolean isKeepAlive()
      Gets the value of the keepAlive property.
      Returns:
      possible object is Boolean
    • setKeepAlive

      public void setKeepAlive​(java.lang.Boolean value)
      Sets the value of the keepAlive property.
      Parameters:
      value - allowed object is Boolean
    • getInterval

      public long getInterval()
      Gets the value of the interval property.
      Returns:
      possible object is Long
    • setInterval

      public void setInterval​(java.lang.Long value)
      Sets the value of the interval property.
      Parameters:
      value - allowed object is Long
    • 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
    • getDescription

      public java.lang.String getDescription()
      Gets the value of the description property.
      Returns:
      possible object is String
    • setDescription

      public void setDescription​(java.lang.String value)
      Sets the value of the description property.
      Parameters:
      value - allowed object is String
    • getType

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

      public void setType​(java.lang.Long value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is Long
    • getReconnectionMethod

      public long getReconnectionMethod()
      Gets the value of the reconnectionMethod property.
      Returns:
      possible object is Long
    • setReconnectionMethod

      public void setReconnectionMethod​(java.lang.Long value)
      Sets the value of the reconnectionMethod property.
      Parameters:
      value - allowed object is Long
    • getRefreshedVersion

      public short getRefreshedVersion()
      Gets the value of the refreshedVersion property.
    • setRefreshedVersion

      public void setRefreshedVersion​(short value)
      Sets the value of the refreshedVersion property.
    • getMinRefreshableVersion

      public short getMinRefreshableVersion()
      Gets the value of the minRefreshableVersion property.
      Returns:
      possible object is Short
    • setMinRefreshableVersion

      public void setMinRefreshableVersion​(java.lang.Short value)
      Sets the value of the minRefreshableVersion property.
      Parameters:
      value - allowed object is Short
    • isSavePassword

      public boolean isSavePassword()
      Gets the value of the savePassword property.
      Returns:
      possible object is Boolean
    • setSavePassword

      public void setSavePassword​(java.lang.Boolean value)
      Sets the value of the savePassword property.
      Parameters:
      value - allowed object is Boolean
    • isNew

      public boolean isNew()
      Gets the value of the new property.
      Returns:
      possible object is Boolean
    • setNew

      public void setNew​(java.lang.Boolean value)
      Sets the value of the new property.
      Parameters:
      value - allowed object is Boolean
    • isDeleted

      public boolean isDeleted()
      Gets the value of the deleted property.
      Returns:
      possible object is Boolean
    • setDeleted

      public void setDeleted​(java.lang.Boolean value)
      Sets the value of the deleted property.
      Parameters:
      value - allowed object is Boolean
    • isOnlyUseConnectionFile

      public boolean isOnlyUseConnectionFile()
      Gets the value of the onlyUseConnectionFile property.
      Returns:
      possible object is Boolean
    • setOnlyUseConnectionFile

      public void setOnlyUseConnectionFile​(java.lang.Boolean value)
      Sets the value of the onlyUseConnectionFile property.
      Parameters:
      value - allowed object is Boolean
    • isBackground

      public boolean isBackground()
      Gets the value of the background property.
      Returns:
      possible object is Boolean
    • setBackground

      public void setBackground​(java.lang.Boolean value)
      Sets the value of the background property.
      Parameters:
      value - allowed object is Boolean
    • isRefreshOnLoad

      public boolean isRefreshOnLoad()
      Gets the value of the refreshOnLoad property.
      Returns:
      possible object is Boolean
    • setRefreshOnLoad

      public void setRefreshOnLoad​(java.lang.Boolean value)
      Sets the value of the refreshOnLoad property.
      Parameters:
      value - allowed object is Boolean
    • isSaveData

      public boolean isSaveData()
      Gets the value of the saveData property.
      Returns:
      possible object is Boolean
    • setSaveData

      public void setSaveData​(java.lang.Boolean value)
      Sets the value of the saveData property.
      Parameters:
      value - allowed object is Boolean
    • getCredentials

      public STCredMethod getCredentials()
      Gets the value of the credentials property.
      Returns:
      possible object is STCredMethod
    • setCredentials

      public void setCredentials​(STCredMethod value)
      Sets the value of the credentials property.
      Parameters:
      value - allowed object is STCredMethod
    • getSingleSignOnId

      public java.lang.String getSingleSignOnId()
      Gets the value of the singleSignOnId property.
      Returns:
      possible object is String
    • setSingleSignOnId

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