Class PivotCacheField
java.lang.Object
com.independentsoft.office.spreadsheet.pivotTables.PivotCacheField
The Class PivotCacheField.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new pivot cache field.PivotCacheField(String name)Instantiates a new pivot cache field. -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the calculated field formula.Gets the caption.intGets the hierarchy.intGets the hierarchy level.intGets the mapping count.getName()Gets the name.intGets the number format id.Gets the property name.Gets the shared items.Gets the sql data type.booleanChecks for unique list.booleanChecks if is database field.booleanChecks if is member property field.booleanChecks if is server based field.voidsetCalculatedFieldFormula(String calculatedFieldFormula)Sets the calculated field formula.voidsetCaption(String caption)Sets the caption.voidsetDatabaseField(boolean isDatabaseField)Sets the database field.voidsetHierarchy(int hierarchy)Sets the hierarchy.voidsetHierarchyLevel(int hierarchyLevel)Sets the hierarchy level.voidsetMappingCount(int mappingCount)Sets the mapping count.voidsetMemberPropertyField(boolean isMemberPropertyField)Sets the member property field.voidSets the name.voidsetNumberFormatID(int numberFormatID)Sets the number format id.voidsetPropertyName(String propertyName)Sets the property name.voidsetServerBasedField(boolean isServerBasedField)Sets the server based field.voidsetSharedItems(SharedItems sharedItems)Sets the shared items.voidsetSqlDataType(SqlDataType sqlDataType)Sets the sql data type.voidsetUniqueList(boolean hasUniqueList)Sets the unique list.toString()
-
Constructor Details
-
PivotCacheField
public PivotCacheField()Instantiates a new pivot cache field. -
PivotCacheField
Instantiates a new pivot cache field.- Parameters:
name- the name
-
-
Method Details
-
clone
-
toString
-
getCaption
Gets the caption.- Returns:
- the caption
-
setCaption
Sets the caption.- Parameters:
caption- the new caption
-
isDatabaseField
public boolean isDatabaseField()Checks if is database field.- Returns:
- true, if is database field
-
setDatabaseField
public void setDatabaseField(boolean isDatabaseField)Sets the database field.- Parameters:
isDatabaseField- the new database field
-
getCalculatedFieldFormula
Gets the calculated field formula.- Returns:
- the calculated field formula
-
setCalculatedFieldFormula
Sets the calculated field formula.- Parameters:
calculatedFieldFormula- the new calculated field formula
-
getHierarchy
public int getHierarchy()Gets the hierarchy.- Returns:
- the hierarchy
-
setHierarchy
public void setHierarchy(int hierarchy)Sets the hierarchy.- Parameters:
hierarchy- the new hierarchy
-
getHierarchyLevel
public int getHierarchyLevel()Gets the hierarchy level.- Returns:
- the hierarchy level
-
setHierarchyLevel
public void setHierarchyLevel(int hierarchyLevel)Sets the hierarchy level.- Parameters:
hierarchyLevel- the new hierarchy level
-
getMappingCount
public int getMappingCount()Gets the mapping count.- Returns:
- the mapping count
-
setMappingCount
public void setMappingCount(int mappingCount)Sets the mapping count.- Parameters:
mappingCount- the new mapping count
-
isMemberPropertyField
public boolean isMemberPropertyField()Checks if is member property field.- Returns:
- true, if is member property field
-
setMemberPropertyField
public void setMemberPropertyField(boolean isMemberPropertyField)Sets the member property field.- Parameters:
isMemberPropertyField- the new member property field
-
getName
Gets the name.- Returns:
- the name
-
setName
Sets the name.- Parameters:
name- the new name
-
getNumberFormatID
public int getNumberFormatID()Gets the number format id.- Returns:
- the number format id
-
setNumberFormatID
public void setNumberFormatID(int numberFormatID)Sets the number format id.- Parameters:
numberFormatID- the new number format id
-
getPropertyName
Gets the property name.- Returns:
- the property name
-
setPropertyName
Sets the property name.- Parameters:
propertyName- the new property name
-
isServerBasedField
public boolean isServerBasedField()Checks if is server based field.- Returns:
- true, if is server based field
-
setServerBasedField
public void setServerBasedField(boolean isServerBasedField)Sets the server based field.- Parameters:
isServerBasedField- the new server based field
-
getSqlDataType
Gets the sql data type.- Returns:
- the sql data type
-
setSqlDataType
Sets the sql data type.- Parameters:
sqlDataType- the new sql data type
-
hasUniqueList
public boolean hasUniqueList()Checks for unique list.- Returns:
- true, if successful
-
setUniqueList
public void setUniqueList(boolean hasUniqueList)Sets the unique list.- Parameters:
hasUniqueList- the new unique list
-