Package org.xlsx4j.sml
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_newprotected java.lang.Booleanbackgroundprotected STCredMethodcredentialsprotected CTDbPrdbPrprotected java.lang.Booleandeletedprotected java.lang.Stringdescriptionprotected CTExtensionListextLstprotected longidprotected java.lang.Longintervalprotected java.lang.BooleankeepAliveprotected java.lang.ShortminRefreshableVersionprotected java.lang.Stringnameprotected java.lang.StringodcFileprotected CTOlapProlapPrprotected java.lang.BooleanonlyUseConnectionFileprotected CTParametersparametersprotected java.lang.LongreconnectionMethodprotected shortrefreshedVersionprotected java.lang.BooleanrefreshOnLoadprotected java.lang.BooleansaveDataprotected java.lang.BooleansavePasswordprotected java.lang.StringsingleSignOnIdprotected java.lang.StringsourceFileprotected CTTextPrtextPrprotected java.lang.Longtypeprotected CTWebPrwebPr -
Constructor Summary
Constructors Constructor Description CTConnection() -
Method Summary
Modifier and Type Method Description voidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.STCredMethodgetCredentials()Gets the value of the credentials property.CTDbPrgetDbPr()Gets the value of the dbPr property.java.lang.StringgetDescription()Gets the value of the description property.CTExtensionListgetExtLst()Gets the value of the extLst property.longgetId()Gets the value of the id property.longgetInterval()Gets the value of the interval property.shortgetMinRefreshableVersion()Gets the value of the minRefreshableVersion property.java.lang.StringgetName()Gets the value of the name property.java.lang.StringgetOdcFile()Gets the value of the odcFile property.CTOlapPrgetOlapPr()Gets the value of the olapPr property.CTParametersgetParameters()Gets the value of the parameters property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.longgetReconnectionMethod()Gets the value of the reconnectionMethod property.shortgetRefreshedVersion()Gets the value of the refreshedVersion property.java.lang.StringgetSingleSignOnId()Gets the value of the singleSignOnId property.java.lang.StringgetSourceFile()Gets the value of the sourceFile property.CTTextPrgetTextPr()Gets the value of the textPr property.java.lang.LonggetType()Gets the value of the type property.CTWebPrgetWebPr()Gets the value of the webPr property.booleanisBackground()Gets the value of the background property.booleanisDeleted()Gets the value of the deleted property.booleanisKeepAlive()Gets the value of the keepAlive property.booleanisNew()Gets the value of the new property.booleanisOnlyUseConnectionFile()Gets the value of the onlyUseConnectionFile property.booleanisRefreshOnLoad()Gets the value of the refreshOnLoad property.booleanisSaveData()Gets the value of the saveData property.booleanisSavePassword()Gets the value of the savePassword property.voidsetBackground(java.lang.Boolean value)Sets the value of the background property.voidsetCredentials(STCredMethod value)Sets the value of the credentials property.voidsetDbPr(CTDbPr value)Sets the value of the dbPr property.voidsetDeleted(java.lang.Boolean value)Sets the value of the deleted property.voidsetDescription(java.lang.String value)Sets the value of the description property.voidsetExtLst(CTExtensionList value)Sets the value of the extLst property.voidsetId(long value)Sets the value of the id property.voidsetInterval(java.lang.Long value)Sets the value of the interval property.voidsetKeepAlive(java.lang.Boolean value)Sets the value of the keepAlive property.voidsetMinRefreshableVersion(java.lang.Short value)Sets the value of the minRefreshableVersion property.voidsetName(java.lang.String value)Sets the value of the name property.voidsetNew(java.lang.Boolean value)Sets the value of the new property.voidsetOdcFile(java.lang.String value)Sets the value of the odcFile property.voidsetOlapPr(CTOlapPr value)Sets the value of the olapPr property.voidsetOnlyUseConnectionFile(java.lang.Boolean value)Sets the value of the onlyUseConnectionFile property.voidsetParameters(CTParameters value)Sets the value of the parameters property.voidsetParent(java.lang.Object parent)voidsetReconnectionMethod(java.lang.Long value)Sets the value of the reconnectionMethod property.voidsetRefreshedVersion(short value)Sets the value of the refreshedVersion property.voidsetRefreshOnLoad(java.lang.Boolean value)Sets the value of the refreshOnLoad property.voidsetSaveData(java.lang.Boolean value)Sets the value of the saveData property.voidsetSavePassword(java.lang.Boolean value)Sets the value of the savePassword property.voidsetSingleSignOnId(java.lang.String value)Sets the value of the singleSignOnId property.voidsetSourceFile(java.lang.String value)Sets the value of the sourceFile property.voidsetTextPr(CTTextPr value)Sets the value of the textPr property.voidsetType(java.lang.Long value)Sets the value of the type property.voidsetWebPr(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
-
dbPr
-
olapPr
-
webPr
-
textPr
-
parameters
-
extLst
-
id
protected long id -
sourceFile
protected java.lang.String sourceFile -
odcFile
protected java.lang.String odcFile -
keepAlive
protected java.lang.Boolean keepAlive -
interval
protected java.lang.Long interval -
name
protected java.lang.String name -
description
protected java.lang.String description -
type
protected java.lang.Long type -
reconnectionMethod
protected java.lang.Long reconnectionMethod -
refreshedVersion
protected short refreshedVersion -
minRefreshableVersion
protected java.lang.Short minRefreshableVersion -
savePassword
protected java.lang.Boolean savePassword -
_new
protected java.lang.Boolean _new -
deleted
protected java.lang.Boolean deleted -
onlyUseConnectionFile
protected java.lang.Boolean onlyUseConnectionFile -
background
protected java.lang.Boolean background -
refreshOnLoad
protected java.lang.Boolean refreshOnLoad -
saveData
protected java.lang.Boolean saveData -
credentials
-
singleSignOnId
protected java.lang.String singleSignOnId
-
-
Constructor Details
-
CTConnection
public CTConnection()
-
-
Method Details
-
getDbPr
Gets the value of the dbPr property.- Returns:
- possible object is
CTDbPr
-
setDbPr
Sets the value of the dbPr property.- Parameters:
value- allowed object isCTDbPr
-
getOlapPr
Gets the value of the olapPr property.- Returns:
- possible object is
CTOlapPr
-
setOlapPr
Sets the value of the olapPr property.- Parameters:
value- allowed object isCTOlapPr
-
getWebPr
Gets the value of the webPr property.- Returns:
- possible object is
CTWebPr
-
setWebPr
Sets the value of the webPr property.- Parameters:
value- allowed object isCTWebPr
-
getTextPr
Gets the value of the textPr property.- Returns:
- possible object is
CTTextPr
-
setTextPr
Sets the value of the textPr property.- Parameters:
value- allowed object isCTTextPr
-
getParameters
Gets the value of the parameters property.- Returns:
- possible object is
CTParameters
-
setParameters
Sets the value of the parameters property.- Parameters:
value- allowed object isCTParameters
-
getExtLst
Gets the value of the extLst property.- Returns:
- possible object is
CTExtensionList
-
setExtLst
Sets the value of the extLst property.- Parameters:
value- allowed object isCTExtensionList
-
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 isString
-
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 isString
-
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 isBoolean
-
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 isLong
-
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 isString
-
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 isString
-
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 isLong
-
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 isLong
-
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 isShort
-
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 isBoolean
-
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 isBoolean
-
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 isBoolean
-
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 isBoolean
-
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 isBoolean
-
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 isBoolean
-
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 isBoolean
-
getCredentials
Gets the value of the credentials property.- Returns:
- possible object is
STCredMethod
-
setCredentials
Sets the value of the credentials property.- Parameters:
value- allowed object isSTCredMethod
-
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 isString
-
getParent
public java.lang.Object getParent()Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
public void setParent(java.lang.Object parent) -
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.
-