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

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

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

The Class SpreadSheetCondition.

See Also:
Serialized Form

Nested Class Summary
static class SpreadSheetCondition.ConditionType
          The Enum ConditionType.
static class SpreadSheetCondition.IsType
          The Enum IsType.
 
Constructor Summary
SpreadSheetCondition()
           
 
Method Summary
 SpreadSheetCondition clone()
           
 java.lang.Integer getBackgroundBlue()
          Gets the background blue.
 java.lang.Integer getBackgroundGreen()
          Gets the background green.
 java.lang.Integer getBackgroundRed()
          Gets the background red.
 SpreadSheetCondition.ConditionType getConditionType()
          Gets the condition type.
 java.lang.Boolean getFadeOut()
          Gets the fade out.
 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.String getFormula()
          Gets the formula.
 long getId()
          Gets the id.
 SpreadSheetCondition.IsType getIsType()
          Gets the checks if is type.
 java.lang.Double getValue1()
          Gets the value1.
 java.lang.Double getValue2()
          Gets the value2.
 boolean isSameFormat(SpreadSheetCondition spreadSheetCondition)
          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 setConditionType(SpreadSheetCondition.ConditionType conditionType)
          Sets the condition type.
 void setFadeOut(java.lang.Boolean fadeOut)
          Sets the fade out.
 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 setFormula(java.lang.String formula)
          Sets the formula.
 void setId(long id)
          Sets the id.
 void setIsType(SpreadSheetCondition.IsType isType)
          Sets the checks if is type.
 void setValue1(java.lang.Double value1)
          Sets the value1.
 void setValue2(java.lang.Double value2)
          Sets the value2.
 void update(SpreadSheetCondition spreadSheetCondition)
          Update.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpreadSheetCondition

public SpreadSheetCondition()
Method Detail

getConditionType

public SpreadSheetCondition.ConditionType getConditionType()
Gets the condition type.

Returns:
the condition type

setConditionType

public void setConditionType(SpreadSheetCondition.ConditionType conditionType)
Sets the condition type.

Parameters:
conditionType - the new condition type

getIsType

public SpreadSheetCondition.IsType getIsType()
Gets the checks if is type.

Returns:
the checks if is type

setIsType

public void setIsType(SpreadSheetCondition.IsType isType)
Sets the checks if is type.

Parameters:
isType - the new checks if is type

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

getFadeOut

public java.lang.Boolean getFadeOut()
Gets the fade out.

Returns:
the fade out

setFadeOut

public void setFadeOut(java.lang.Boolean fadeOut)
Sets the fade out.

Parameters:
fadeOut - the new fade out

getFormula

public java.lang.String getFormula()
Gets the formula.

Returns:
the formula

setFormula

public void setFormula(java.lang.String formula)
Sets the formula.

Parameters:
formula - the new formula

getValue1

public java.lang.Double getValue1()
Gets the value1.

Returns:
the value1

setValue1

public void setValue1(java.lang.Double value1)
Sets the value1.

Parameters:
value1 - the new value1

getValue2

public java.lang.Double getValue2()
Gets the value2.

Returns:
the value2

setValue2

public void setValue2(java.lang.Double value2)
Sets the value2.

Parameters:
value2 - the new value2

clone

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

update

public void update(SpreadSheetCondition spreadSheetCondition)
Update.

Parameters:
spreadSheetCondition - the spread sheet condition

isSameFormat

public boolean isSameFormat(SpreadSheetCondition spreadSheetCondition)
Checks if is same format.

Parameters:
spreadSheetCondition - the spread sheet condition
Returns:
true, if is same format