Package org.xlsx4j.sml
Class CTCacheField
java.lang.Object
org.xlsx4j.sml.CTCacheField
- All Implemented Interfaces:
Child
Java class for CT_CacheField complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_CacheField">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="sharedItems" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_SharedItems" minOccurs="0"/>
<element name="fieldGroup" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_FieldGroup" minOccurs="0"/>
<element name="mpMap" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_X" maxOccurs="unbounded" minOccurs="0"/>
<element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
</sequence>
<attribute name="name" use="required" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
<attribute name="caption" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
<attribute name="propertyName" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
<attribute name="serverField" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="uniqueList" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="numFmtId" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_NumFmtId" />
<attribute name="formula" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
<attribute name="sqlType" type="{http://www.w3.org/2001/XMLSchema}int" default="0" />
<attribute name="hierarchy" type="{http://www.w3.org/2001/XMLSchema}int" default="0" />
<attribute name="level" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="0" />
<attribute name="databaseField" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="mappingCount" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
<attribute name="memberPropertyField" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Booleanprotected CTExtensionListprotected CTFieldGroupprotected Stringprotected Integerprotected Longprotected Longprotected Booleanprotected Stringprotected Longprotected Stringprotected Booleanprotected CTSharedItemsprotected Integerprotected Boolean -
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 caption property.Gets the value of the extLst property.Gets the value of the fieldGroup property.Gets the value of the formula property.intGets the value of the hierarchy property.longgetLevel()Gets the value of the level property.Gets the value of the mappingCount property.getMpMap()Gets the value of the mpMap property.getName()Gets the value of the name property.Gets the value of the numFmtId property.Gets the parent object in the object tree representing the unmarshalled xml document.Gets the value of the propertyName property.Gets the value of the sharedItems property.intGets the value of the sqlType property.booleanGets the value of the databaseField property.booleanGets the value of the memberPropertyField property.booleanGets the value of the serverField property.booleanGets the value of the uniqueList property.voidsetCaption(String value) Sets the value of the caption property.voidsetDatabaseField(Boolean value) Sets the value of the databaseField property.voidsetExtLst(CTExtensionList value) Sets the value of the extLst property.voidsetFieldGroup(CTFieldGroup value) Sets the value of the fieldGroup property.voidsetFormula(String value) Sets the value of the formula property.voidsetHierarchy(Integer value) Sets the value of the hierarchy property.voidSets the value of the level property.voidsetMappingCount(Long value) Sets the value of the mappingCount property.voidsetMemberPropertyField(Boolean value) Sets the value of the memberPropertyField property.voidSets the value of the name property.voidsetNumFmtId(Long value) Sets the value of the numFmtId property.voidvoidsetPropertyName(String value) Sets the value of the propertyName property.voidsetServerField(Boolean value) Sets the value of the serverField property.voidsetSharedItems(CTSharedItems value) Sets the value of the sharedItems property.voidsetSqlType(Integer value) Sets the value of the sqlType property.voidsetUniqueList(Boolean value) Sets the value of the uniqueList property.
-
Field Details
-
fieldGroup
-
mpMap
-
extLst
-
name
-
caption
-
propertyName
-
serverField
-
uniqueList
-
numFmtId
-
formula
-
sqlType
-
hierarchy
-
level
-
databaseField
-
mappingCount
-
memberPropertyField
-
Constructor Details
-
CTCacheField
public CTCacheField()
-
-
Method Details
-
getFieldGroup
Gets the value of the fieldGroup property.- Returns:
- possible object is
CTFieldGroup
-
setFieldGroup
Sets the value of the fieldGroup property.- Parameters:
value- allowed object isCTFieldGroup
-
getMpMap
Gets the value of the mpMap 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
setmethod for the mpMap property.For example, to add a new item, do as follows:
getMpMap().add(newItem);Objects of the following type(s) are allowed in the list
CTX -
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
-
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
-
getCaption
Gets the value of the caption property.- Returns:
- possible object is
String
-
setCaption
Sets the value of the caption property.- Parameters:
value- allowed object isString
-
getPropertyName
Gets the value of the propertyName property.- Returns:
- possible object is
String
-
setPropertyName
Sets the value of the propertyName property.- Parameters:
value- allowed object isString
-
isServerField
public boolean isServerField()Gets the value of the serverField property.- Returns:
- possible object is
Boolean
-
setServerField
Sets the value of the serverField property.- Parameters:
value- allowed object isBoolean
-
isUniqueList
public boolean isUniqueList()Gets the value of the uniqueList property.- Returns:
- possible object is
Boolean
-
setUniqueList
Sets the value of the uniqueList property.- Parameters:
value- allowed object isBoolean
-
getNumFmtId
Gets the value of the numFmtId property.- Returns:
- possible object is
Long
-
setNumFmtId
Sets the value of the numFmtId property.- Parameters:
value- allowed object isLong
-
getFormula
Gets the value of the formula property.- Returns:
- possible object is
String
-
setFormula
Sets the value of the formula property.- Parameters:
value- allowed object isString
-
getSqlType
public int getSqlType()Gets the value of the sqlType property.- Returns:
- possible object is
Integer
-
setSqlType
Sets the value of the sqlType property.- Parameters:
value- allowed object isInteger
-
getHierarchy
public int getHierarchy()Gets the value of the hierarchy property.- Returns:
- possible object is
Integer
-
setHierarchy
Sets the value of the hierarchy property.- Parameters:
value- allowed object isInteger
-
getLevel
public long getLevel()Gets the value of the level property.- Returns:
- possible object is
Long
-
setLevel
Sets the value of the level property.- Parameters:
value- allowed object isLong
-
isDatabaseField
public boolean isDatabaseField()Gets the value of the databaseField property.- Returns:
- possible object is
Boolean
-
setDatabaseField
Sets the value of the databaseField property.- Parameters:
value- allowed object isBoolean
-
getMappingCount
Gets the value of the mappingCount property.- Returns:
- possible object is
Long
-
setMappingCount
Sets the value of the mappingCount property.- Parameters:
value- allowed object isLong
-
isMemberPropertyField
public boolean isMemberPropertyField()Gets the value of the memberPropertyField property.- Returns:
- possible object is
Boolean
-
setMemberPropertyField
Sets the value of the memberPropertyField property.- Parameters:
value- allowed object isBoolean
-
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.