Package org.xlsx4j.sml
Class CTConnection
java.lang.Object
org.xlsx4j.sml.CTConnection
- All Implemented Interfaces:
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
FieldsModifier and TypeFieldDescriptionprotected Booleanprotected Booleanprotected STCredMethodprotected CTDbPrprotected Booleanprotected Stringprotected CTExtensionListprotected longprotected Longprotected Booleanprotected Shortprotected Stringprotected Stringprotected CTOlapPrprotected Booleanprotected CTParametersprotected Longprotected shortprotected Booleanprotected Booleanprotected Booleanprotected Stringprotected Stringprotected CTTextPrprotected Longprotected CTWebPr -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, Object parent) This method is invoked by the JAXB implementation on each instance when unmarshalling completes.Gets the value of the credentials property.getDbPr()Gets the value of the dbPr property.Gets the value of the description property.Gets the value of the extLst property.longgetId()Gets the value of the id property.longGets the value of the interval property.shortGets the value of the minRefreshableVersion property.getName()Gets the value of the name property.Gets the value of the odcFile property.Gets the value of the olapPr property.Gets the value of the parameters property.Gets the parent object in the object tree representing the unmarshalled xml document.longGets the value of the reconnectionMethod property.shortGets the value of the refreshedVersion property.Gets the value of the singleSignOnId property.Gets the value of the sourceFile property.Gets the value of the textPr property.getType()Gets the value of the type property.getWebPr()Gets the value of the webPr property.booleanGets the value of the background property.booleanGets the value of the deleted property.booleanGets the value of the keepAlive property.booleanisNew()Gets the value of the new property.booleanGets the value of the onlyUseConnectionFile property.booleanGets the value of the refreshOnLoad property.booleanGets the value of the saveData property.booleanGets the value of the savePassword property.voidsetBackground(Boolean value) Sets the value of the background property.voidsetCredentials(STCredMethod value) Sets the value of the credentials property.voidSets the value of the dbPr property.voidsetDeleted(Boolean value) Sets the value of the deleted property.voidsetDescription(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(Long value) Sets the value of the interval property.voidsetKeepAlive(Boolean value) Sets the value of the keepAlive property.voidsetMinRefreshableVersion(Short value) Sets the value of the minRefreshableVersion property.voidSets the value of the name property.voidSets the value of the new property.voidsetOdcFile(String value) Sets the value of the odcFile property.voidSets the value of the olapPr property.voidsetOnlyUseConnectionFile(Boolean value) Sets the value of the onlyUseConnectionFile property.voidsetParameters(CTParameters value) Sets the value of the parameters property.voidvoidsetReconnectionMethod(Long value) Sets the value of the reconnectionMethod property.voidsetRefreshedVersion(short value) Sets the value of the refreshedVersion property.voidsetRefreshOnLoad(Boolean value) Sets the value of the refreshOnLoad property.voidsetSaveData(Boolean value) Sets the value of the saveData property.voidsetSavePassword(Boolean value) Sets the value of the savePassword property.voidsetSingleSignOnId(String value) Sets the value of the singleSignOnId property.voidsetSourceFile(String value) Sets the value of the sourceFile property.voidSets the value of the textPr property.voidSets the value of the type property.voidSets the value of the webPr property.
-
Field Details
-
dbPr
-
olapPr
-
webPr
-
textPr
-
parameters
-
extLst
-
id
protected long id -
sourceFile
-
odcFile
-
keepAlive
-
interval
-
name
-
description
-
type
-
reconnectionMethod
-
refreshedVersion
protected short refreshedVersion -
minRefreshableVersion
-
savePassword
-
_new
-
deleted
-
onlyUseConnectionFile
-
background
-
refreshOnLoad
-
saveData
-
credentials
-
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
Gets the value of the sourceFile property.- Returns:
- possible object is
String
-
setSourceFile
Sets the value of the sourceFile property.- Parameters:
value- allowed object isString
-
getOdcFile
Gets the value of the odcFile property.- Returns:
- possible object is
String
-
setOdcFile
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
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
Sets the value of the interval property.- Parameters:
value- allowed object isLong
-
getName
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getDescription
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
Sets the value of the description property.- Parameters:
value- allowed object isString
-
getType
Gets the value of the type property.- Returns:
- possible object is
Long
-
setType
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
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
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
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
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
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
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
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
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
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
Gets the value of the singleSignOnId property.- Returns:
- possible object is
String
-
setSingleSignOnId
Sets the value of the singleSignOnId property.- Parameters:
value- allowed object isString
-
getParent
Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
-
afterUnmarshal
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.
-