net.sourceforge.fixagora.basis.shared.model.persistence
Class SpreadSheetCellFormat

java.lang.Object
  extended by net.sourceforge.fixagora.basis.shared.model.persistence.SpreadSheetCellFormat
All Implemented Interfaces:
java.io.Serializable

@Entity
public class SpreadSheetCellFormat
extends java.lang.Object
implements java.io.Serializable

The Class SpreadSheetCellFormat.

See Also:
Serialized Form

Nested Class Summary
static class SpreadSheetCellFormat.PresentationRoundingMode
          The Enum PresentationRoundingMode.
static class SpreadSheetCellFormat.SpreadSheetFormatType
          The Enum SpreadSheetFormatType.
 
Constructor Summary
SpreadSheetCellFormat()
           
 
Method Summary
 SpreadSheetCellFormat clone()
           
 SpreadSheetCellFormat copy()
          Copy.
 boolean equals(java.lang.Object obj)
           
 java.lang.Integer getBackgroundBlue()
          Gets the background blue.
 java.lang.Integer getBackgroundGreen()
          Gets the background green.
 java.lang.Integer getBackgroundRed()
          Gets the background red.
 java.lang.Boolean getBoldFont()
          Gets the bold font.
 java.lang.Integer getCellColumn()
          Gets the cell column.
 java.lang.Integer getCellRow()
          Gets the cell row.
 java.lang.Integer getDateFormat()
          Gets the date format.
 java.lang.Integer getDecimalPlaces()
          Gets the decimal places.
 java.lang.String getFalseValue()
          Gets the false value.
 java.lang.Integer getForegroundBlue()
          Gets the foreground blue.
 java.lang.Integer getForegroundGreen()
          Gets the foreground green.
 java.lang.Integer getForegroundRed()
          Gets the foreground red.
 java.lang.Boolean getFractionalDisplay()
          Gets the fractional display.
 java.lang.Boolean getGradientPaint()
          Gets the gradient paint.
 long getId()
          Gets the id.
 java.lang.Double getIncrement()
          Gets the increment.
 java.lang.Integer getLeadingZeroes()
          Gets the leading zeroes.
 java.lang.Boolean getLocked()
          Gets the locked.
 java.lang.Double getMaximumValue()
          Gets the maximum value.
 java.lang.Double getMinimumValue()
          Gets the minimum value.
 java.lang.Boolean getNegativeNumbersRed()
          Gets the negative numbers red.
 java.util.List<java.lang.String> getPredefinedStrings()
          Gets the predefined strings.
 SpreadSheetCellFormat.PresentationRoundingMode getPresentationRoundingMode()
          Gets the presentation rounding mode.
 java.lang.String getSolverCell()
          Gets the solver cell.
 java.lang.Double getSolverTolerance()
          Gets the solver tolerance.
 java.lang.Integer getSpinnerStyle()
          Gets the spinner style.
 long getSpreadSheet()
          Gets the spread sheet.
 SpreadSheetCellFormat.SpreadSheetFormatType getSpreadSheetFormatType()
          Gets the spread sheet format type.
 java.lang.Boolean getThousandsSeparator()
          Gets the thousands separator.
 java.lang.Double getTickSize()
          Gets the tick size.
 java.lang.Integer getTimeFormat()
          Gets the time format.
 java.lang.String getTrueValue()
          Gets the true value.
 int hashCode()
           
 boolean isSameFormat(SpreadSheetCellFormat spreadSheetCellFormat)
          Checks if is same format.
 void setBackgroundBlue(java.lang.Integer backgroundBlue)
          Sets the background blue.
 void setBackgroundGreen(java.lang.Integer backgroundGreen)
          Sets the background green.
 void setBackgroundRed(java.lang.Integer backgroundRed)
          Sets the background red.
 void setBoldFont(java.lang.Boolean boldFont)
          Sets the bold font.
 void setCellColumn(java.lang.Integer cellColumn)
          Sets the cell column.
 void setCellRow(java.lang.Integer cellRow)
          Sets the cell row.
 void setDateFormat(java.lang.Integer dateFormat)
          Sets the date format.
 void setDecimalPlaces(java.lang.Integer decimalPlaces)
          Sets the decimal places.
 void setFalseValue(java.lang.String falseValue)
          Sets the false value.
 void setForegroundBlue(java.lang.Integer foregroundBlue)
          Sets the foreground blue.
 void setForegroundGreen(java.lang.Integer foregroundGreen)
          Sets the foreground green.
 void setForegroundRed(java.lang.Integer foregroundRed)
          Sets the foreground red.
 void setFractionalDisplay(java.lang.Boolean fractionalDisplay)
          Sets the fractional display.
 void setGradientPaint(java.lang.Boolean gradientPaint)
          Sets the gradient paint.
 void setId(long id)
          Sets the id.
 void setIncrement(java.lang.Double increment)
          Sets the increment.
 void setLeadingZeroes(java.lang.Integer leadingZeroes)
          Sets the leading zeroes.
 void setLocked(java.lang.Boolean locked)
          Sets the locked.
 void setMaximumValue(java.lang.Double maximumValue)
          Sets the maximum value.
 void setMinimumValue(java.lang.Double minimumValue)
          Sets the minimum value.
 void setNegativeNumbersRed(java.lang.Boolean negativeNumbersRed)
          Sets the negative numbers red.
 void setPredefinedStrings(java.util.List<java.lang.String> predefinedStrings)
          Sets the predefined strings.
 void setPresentationRoundingMode(SpreadSheetCellFormat.PresentationRoundingMode presentationRoundingMode)
          Sets the presentation rounding mode.
 void setSolverCell(java.lang.String solverCell)
          Sets the solver cell.
 void setSolverTolerance(java.lang.Double solverTolerance)
          Sets the solver tolerance.
 void setSpinnerStyle(java.lang.Integer spinnerStyle)
          Sets the spinner style.
 void setSpreadSheet(long spreadSheet)
          Sets the spread sheet.
 void setSpreadSheetFormatType(SpreadSheetCellFormat.SpreadSheetFormatType spreadSheetFormatType)
          Sets the spread sheet format type.
 void setThousandsSeparator(java.lang.Boolean thousandsSeparator)
          Sets the thousands separator.
 void setTickSize(java.lang.Double tickSize)
          Sets the tick size.
 void setTimeFormat(java.lang.Integer timeFormat)
          Sets the time format.
 void setTrueValue(java.lang.String trueValue)
          Sets the true value.
 void update(SpreadSheetCellFormat spreadSheetCellFormat)
          Update.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpreadSheetCellFormat

public SpreadSheetCellFormat()
Method Detail

getFractionalDisplay

public java.lang.Boolean getFractionalDisplay()
Gets the fractional display.

Returns:
the fractional display

setFractionalDisplay

public void setFractionalDisplay(java.lang.Boolean fractionalDisplay)
Sets the fractional display.

Parameters:
fractionalDisplay - the new fractional display

getBoldFont

public java.lang.Boolean getBoldFont()
Gets the bold font.

Returns:
the bold font

setBoldFont

public void setBoldFont(java.lang.Boolean boldFont)
Sets the bold font.

Parameters:
boldFont - the new bold font

getSolverTolerance

public java.lang.Double getSolverTolerance()
Gets the solver tolerance.

Returns:
the solver tolerance

setSolverTolerance

public void setSolverTolerance(java.lang.Double solverTolerance)
Sets the solver tolerance.

Parameters:
solverTolerance - the new solver tolerance

getSolverCell

public java.lang.String getSolverCell()
Gets the solver cell.

Returns:
the solver cell

setSolverCell

public void setSolverCell(java.lang.String solverCell)
Sets the solver cell.

Parameters:
solverCell - the new solver cell

getPresentationRoundingMode

public SpreadSheetCellFormat.PresentationRoundingMode getPresentationRoundingMode()
Gets the presentation rounding mode.

Returns:
the presentation rounding mode

setPresentationRoundingMode

public void setPresentationRoundingMode(SpreadSheetCellFormat.PresentationRoundingMode presentationRoundingMode)
Sets the presentation rounding mode.

Parameters:
presentationRoundingMode - the new presentation rounding mode

getCellRow

public java.lang.Integer getCellRow()
Gets the cell row.

Returns:
the cell row

setCellRow

public void setCellRow(java.lang.Integer cellRow)
Sets the cell row.

Parameters:
cellRow - the new cell row

getCellColumn

public java.lang.Integer getCellColumn()
Gets the cell column.

Returns:
the cell column

setCellColumn

public void setCellColumn(java.lang.Integer cellColumn)
Sets the cell column.

Parameters:
cellColumn - the new cell column

getSpreadSheet

public long getSpreadSheet()
Gets the spread sheet.

Returns:
the spread sheet

setSpreadSheet

public void setSpreadSheet(long spreadSheet)
Sets the spread sheet.

Parameters:
spreadSheet - the new spread sheet

getId

public long getId()
Gets the id.

Returns:
the id

setId

public void setId(long id)
Sets the id.

Parameters:
id - the new id

getForegroundRed

public java.lang.Integer getForegroundRed()
Gets the foreground red.

Returns:
the foreground red

setForegroundRed

public void setForegroundRed(java.lang.Integer foregroundRed)
Sets the foreground red.

Parameters:
foregroundRed - the new foreground red

getForegroundGreen

public java.lang.Integer getForegroundGreen()
Gets the foreground green.

Returns:
the foreground green

setForegroundGreen

public void setForegroundGreen(java.lang.Integer foregroundGreen)
Sets the foreground green.

Parameters:
foregroundGreen - the new foreground green

getForegroundBlue

public java.lang.Integer getForegroundBlue()
Gets the foreground blue.

Returns:
the foreground blue

setForegroundBlue

public void setForegroundBlue(java.lang.Integer foregroundBlue)
Sets the foreground blue.

Parameters:
foregroundBlue - the new foreground blue

getBackgroundRed

public java.lang.Integer getBackgroundRed()
Gets the background red.

Returns:
the background red

setBackgroundRed

public void setBackgroundRed(java.lang.Integer backgroundRed)
Sets the background red.

Parameters:
backgroundRed - the new background red

getBackgroundGreen

public java.lang.Integer getBackgroundGreen()
Gets the background green.

Returns:
the background green

setBackgroundGreen

public void setBackgroundGreen(java.lang.Integer backgroundGreen)
Sets the background green.

Parameters:
backgroundGreen - the new background green

getBackgroundBlue

public java.lang.Integer getBackgroundBlue()
Gets the background blue.

Returns:
the background blue

setBackgroundBlue

public void setBackgroundBlue(java.lang.Integer backgroundBlue)
Sets the background blue.

Parameters:
backgroundBlue - the new background blue

getGradientPaint

public java.lang.Boolean getGradientPaint()
Gets the gradient paint.

Returns:
the gradient paint

setGradientPaint

public void setGradientPaint(java.lang.Boolean gradientPaint)
Sets the gradient paint.

Parameters:
gradientPaint - the new gradient paint

getLocked

public java.lang.Boolean getLocked()
Gets the locked.

Returns:
the locked

setLocked

public void setLocked(java.lang.Boolean locked)
Sets the locked.

Parameters:
locked - the new locked

getDecimalPlaces

public java.lang.Integer getDecimalPlaces()
Gets the decimal places.

Returns:
the decimal places

setDecimalPlaces

public void setDecimalPlaces(java.lang.Integer decimalPlaces)
Sets the decimal places.

Parameters:
decimalPlaces - the new decimal places

getLeadingZeroes

public java.lang.Integer getLeadingZeroes()
Gets the leading zeroes.

Returns:
the leading zeroes

setLeadingZeroes

public void setLeadingZeroes(java.lang.Integer leadingZeroes)
Sets the leading zeroes.

Parameters:
leadingZeroes - the new leading zeroes

getNegativeNumbersRed

public java.lang.Boolean getNegativeNumbersRed()
Gets the negative numbers red.

Returns:
the negative numbers red

setNegativeNumbersRed

public void setNegativeNumbersRed(java.lang.Boolean negativeNumbersRed)
Sets the negative numbers red.

Parameters:
negativeNumbersRed - the new negative numbers red

getThousandsSeparator

public java.lang.Boolean getThousandsSeparator()
Gets the thousands separator.

Returns:
the thousands separator

setThousandsSeparator

public void setThousandsSeparator(java.lang.Boolean thousandsSeparator)
Sets the thousands separator.

Parameters:
thousandsSeparator - the new thousands separator

getSpreadSheetFormatType

public SpreadSheetCellFormat.SpreadSheetFormatType getSpreadSheetFormatType()
Gets the spread sheet format type.

Returns:
the spread sheet format type

setSpreadSheetFormatType

public void setSpreadSheetFormatType(SpreadSheetCellFormat.SpreadSheetFormatType spreadSheetFormatType)
Sets the spread sheet format type.

Parameters:
spreadSheetFormatType - the new spread sheet format type

getTickSize

public java.lang.Double getTickSize()
Gets the tick size.

Returns:
the tick size

setTickSize

public void setTickSize(java.lang.Double tickSize)
Sets the tick size.

Parameters:
tickSize - the new tick size

getIncrement

public java.lang.Double getIncrement()
Gets the increment.

Returns:
the increment

setIncrement

public void setIncrement(java.lang.Double increment)
Sets the increment.

Parameters:
increment - the new increment

getMinimumValue

public java.lang.Double getMinimumValue()
Gets the minimum value.

Returns:
the minimum value

setMinimumValue

public void setMinimumValue(java.lang.Double minimumValue)
Sets the minimum value.

Parameters:
minimumValue - the new minimum value

getMaximumValue

public java.lang.Double getMaximumValue()
Gets the maximum value.

Returns:
the maximum value

setMaximumValue

public void setMaximumValue(java.lang.Double maximumValue)
Sets the maximum value.

Parameters:
maximumValue - the new maximum value

getSpinnerStyle

public java.lang.Integer getSpinnerStyle()
Gets the spinner style.

Returns:
the spinner style

setSpinnerStyle

public void setSpinnerStyle(java.lang.Integer spinnerStyle)
Sets the spinner style.

Parameters:
spinnerStyle - the new spinner style

getDateFormat

public java.lang.Integer getDateFormat()
Gets the date format.

Returns:
the date format

setDateFormat

public void setDateFormat(java.lang.Integer dateFormat)
Sets the date format.

Parameters:
dateFormat - the new date format

getTimeFormat

public java.lang.Integer getTimeFormat()
Gets the time format.

Returns:
the time format

setTimeFormat

public void setTimeFormat(java.lang.Integer timeFormat)
Sets the time format.

Parameters:
timeFormat - the new time format

getTrueValue

public java.lang.String getTrueValue()
Gets the true value.

Returns:
the true value

setTrueValue

public void setTrueValue(java.lang.String trueValue)
Sets the true value.

Parameters:
trueValue - the new true value

getFalseValue

public java.lang.String getFalseValue()
Gets the false value.

Returns:
the false value

setFalseValue

public void setFalseValue(java.lang.String falseValue)
Sets the false value.

Parameters:
falseValue - the new false value

getPredefinedStrings

public java.util.List<java.lang.String> getPredefinedStrings()
Gets the predefined strings.

Returns:
the predefined strings

setPredefinedStrings

public void setPredefinedStrings(java.util.List<java.lang.String> predefinedStrings)
Sets the predefined strings.

Parameters:
predefinedStrings - the new predefined strings

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

copy

public SpreadSheetCellFormat copy()
Copy.

Returns:
the spread sheet cell format

clone

public SpreadSheetCellFormat clone()
Overrides:
clone in class java.lang.Object

update

public void update(SpreadSheetCellFormat spreadSheetCellFormat)
Update.

Parameters:
spreadSheetCellFormat - the spread sheet cell format

isSameFormat

public boolean isSameFormat(SpreadSheetCellFormat spreadSheetCellFormat)
Checks if is same format.

Parameters:
spreadSheetCellFormat - the spread sheet cell format
Returns:
true, if is same format

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object