Class CTConnection

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

public class CTConnection extends 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 Details

    • dbPr

      protected CTDbPr dbPr
    • olapPr

      protected CTOlapPr olapPr
    • webPr

      protected CTWebPr webPr
    • textPr

      protected CTTextPr textPr
    • parameters

      protected CTParameters parameters
    • extLst

      protected CTExtensionList extLst
    • id

      protected long id
    • sourceFile

      protected String sourceFile
    • odcFile

      protected String odcFile
    • keepAlive

      protected Boolean keepAlive
    • interval

      protected Long interval
    • name

      protected String name
    • description

      protected String description
    • type

      protected Long type
    • reconnectionMethod

      protected Long reconnectionMethod
    • refreshedVersion

      protected short refreshedVersion
    • minRefreshableVersion

      protected Short minRefreshableVersion
    • savePassword

      protected Boolean savePassword
    • _new

      protected Boolean _new
    • deleted

      protected Boolean deleted
    • onlyUseConnectionFile

      protected Boolean onlyUseConnectionFile
    • background

      protected Boolean background
    • refreshOnLoad

      protected Boolean refreshOnLoad
    • saveData

      protected Boolean saveData
    • credentials

      protected STCredMethod credentials
    • singleSignOnId

      protected String singleSignOnId
  • Constructor Details

    • CTConnection

      public CTConnection()
  • 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 String getSourceFile()
      Gets the value of the sourceFile property.
      Returns:
      possible object is String
    • setSourceFile

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

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

      public void setOdcFile(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(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(Long value)
      Sets the value of the interval property.
      Parameters:
      value - allowed object is Long
    • getName

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

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

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

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

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

      public void setType(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(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(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(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(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(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(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(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(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(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 String getSingleSignOnId()
      Gets the value of the singleSignOnId property.
      Returns:
      possible object is String
    • setSingleSignOnId

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