fr.cnes.sitools.dataset.model
Class Predicat

java.lang.Object
  extended by fr.cnes.sitools.dataset.model.Predicat

public final class Predicat
extends java.lang.Object

Class to define a predicate = WHERE clause line A WHERE clause is a list of predicates

Author:
jp.boignard (AKKA Technologies)

Constructor Summary
Predicat()
          Default constructor
 
Method Summary
 java.lang.String getClosedParenthesis()
          Gets the closedParenthesis value
 Operator getCompareOperator()
          Gets the compareOperator value
 int getIndice()
          Gets the index value
 Column getLeftAttribute()
          Gets the leftAttribute value
 java.lang.String getLeftAttributeString()
          Deprecated. use column instead.
 java.lang.String getLeftString()
          Gets the leftString value
 java.lang.String getLogicOperator()
          Gets the logicOperator value
 int getNbClosedParanthesis()
          Gets the nbClosedParanthesis value
 int getNbOpenedParanthesis()
          Gets the nbOpenedParanthesis value
 java.lang.String getOpenParenthesis()
          Gets the openParenthesis value
 Column getRightAttribute()
          Gets the rightAttribute value
 java.lang.Object getRightValue()
          Gets the rightValue value
 java.lang.String getStringDefinition()
          Gets the stringDefinition value
 Wildcard getWildcard()
          Gets the wildcard value
 void setClosedParenthesis(java.lang.String closedParenthesis)
          Sets the value of closedParenthesis
 void setCompareOperator(Operator compareOperator)
          Sets the value of compareOperator
 void setIndice(int indice)
          Sets the value of index
 void setLeftAttribute(Column leftAttribute)
          Sets the value of leftAttribute
 void setLeftAttributeString(java.lang.String leftAttribute)
          Deprecated. use column instead.
 void setLeftString(java.lang.String leftString)
          Sets the value of leftString
 void setLogicOperator(java.lang.String logicOperator)
          Sets the value of logicOperator
 void setNbClosedParanthesis(int nbClosedParanthesis)
          Sets the value of nbClosedParanthesis
 void setNbOpenedParanthesis(int nbOpenedParanthesis)
          Sets the value of nbOpenedParanthesis
 void setOpenParenthesis(java.lang.String openParenthesis)
          Sets the value of openParenthesis
 void setRightAttribute(Column rightAttribute)
          Sets the value of rightAttribute
 void setRightValue(java.lang.Object rightValue)
          Sets the value of rightValue
 void setStringDefinition(java.lang.String stringDefinition)
          Sets the value of stringDefinition
 void setWildcard(Wildcard wildcard)
          Sets the value of wildcard
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Predicat

public Predicat()
Default constructor

Method Detail

getIndice

public int getIndice()
Gets the index value

Returns:
the index

setIndice

public void setIndice(int indice)
Sets the value of index

Parameters:
indice - the index to set

getNbClosedParanthesis

public int getNbClosedParanthesis()
Gets the nbClosedParanthesis value

Returns:
the nbClosedParanthesis

setNbClosedParanthesis

public void setNbClosedParanthesis(int nbClosedParanthesis)
Sets the value of nbClosedParanthesis

Parameters:
nbClosedParanthesis - the nbClosedParanthesis to set

getRightValue

public java.lang.Object getRightValue()
Gets the rightValue value

Returns:
the rightValue

setRightValue

public void setRightValue(java.lang.Object rightValue)
Sets the value of rightValue

Parameters:
rightValue - the rightValue to set

getNbOpenedParanthesis

public int getNbOpenedParanthesis()
Gets the nbOpenedParanthesis value

Returns:
the nbOpenedParanthesis

setNbOpenedParanthesis

public void setNbOpenedParanthesis(int nbOpenedParanthesis)
Sets the value of nbOpenedParanthesis

Parameters:
nbOpenedParanthesis - the nbOpenedParanthesis to set

getLogicOperator

public java.lang.String getLogicOperator()
Gets the logicOperator value

Returns:
the logicOperator

setLogicOperator

public void setLogicOperator(java.lang.String logicOperator)
Sets the value of logicOperator

Parameters:
logicOperator - the logicOperator to set

getCompareOperator

public Operator getCompareOperator()
Gets the compareOperator value

Returns:
the compareOperator

setCompareOperator

public void setCompareOperator(Operator compareOperator)
Sets the value of compareOperator

Parameters:
compareOperator - the compareOperator to set

getRightAttribute

public Column getRightAttribute()
Gets the rightAttribute value

Returns:
the rightAttribute

setRightAttribute

public void setRightAttribute(Column rightAttribute)
Sets the value of rightAttribute

Parameters:
rightAttribute - the rightAttribute to set

getLeftAttribute

public Column getLeftAttribute()
Gets the leftAttribute value

Returns:
the leftAttribute

setLeftAttributeString

public void setLeftAttributeString(java.lang.String leftAttribute)
Deprecated. use column instead.

Sets the value of leftAttribute

Parameters:
leftAttribute - the leftAttribute to set

getLeftAttributeString

public java.lang.String getLeftAttributeString()
Deprecated. use column instead.

Gets the leftAttribute value

Returns:
the leftAttribute

setLeftAttribute

public void setLeftAttribute(Column leftAttribute)
Sets the value of leftAttribute

Parameters:
leftAttribute - the leftAttribute to set

getClosedParenthesis

public java.lang.String getClosedParenthesis()
Gets the closedParenthesis value

Returns:
the closedParenthesis

setClosedParenthesis

public void setClosedParenthesis(java.lang.String closedParenthesis)
Sets the value of closedParenthesis

Parameters:
closedParenthesis - the closedParenthesis to set

getOpenParenthesis

public java.lang.String getOpenParenthesis()
Gets the openParenthesis value

Returns:
the openParenthesis

setOpenParenthesis

public void setOpenParenthesis(java.lang.String openParenthesis)
Sets the value of openParenthesis

Parameters:
openParenthesis - the openParenthesis to set

getLeftString

public java.lang.String getLeftString()
Gets the leftString value

Returns:
the leftString

setLeftString

public void setLeftString(java.lang.String leftString)
Sets the value of leftString

Parameters:
leftString - the leftString to set

getStringDefinition

public java.lang.String getStringDefinition()
Gets the stringDefinition value

Returns:
the stringDefinition

setStringDefinition

public void setStringDefinition(java.lang.String stringDefinition)
Sets the value of stringDefinition

Parameters:
stringDefinition - the stringDefinition to set

getWildcard

public Wildcard getWildcard()
Gets the wildcard value

Returns:
the wildcard

setWildcard

public void setWildcard(Wildcard wildcard)
Sets the value of wildcard

Parameters:
wildcard - the wildcard to set


Copyright © 2010-2013 CNES. All Rights Reserved.