Package net.tirasa.connid.commons.db
Class SQLParam
java.lang.Object
net.tirasa.connid.commons.db.SQLParam
The SQL parameter / util class
- Since:
- 1.0
- Version:
- $Revision 1.0$
-
Constructor Summary
ConstructorDescriptionThe Sql param is a pair of value and its sqlTypeThe Sql param is a pair of value and its sqlTypeThe Sql param is a pair of value and its sqlType -
Method Summary
-
Constructor Details
-
SQLParam
The Sql param is a pair of value and its sqlType- Parameters:
name
- name of the attributevalue
- valuesqlType
- sql type
-
SQLParam
The Sql param is a pair of value and its sqlType- Parameters:
name
- name of the attributevalue
- valuesqlType
- sql typequotedName
- quoted name
-
SQLParam
The Sql param is a pair of value and its sqlType- Parameters:
name
- name of the attributevalue
- value
-
-
Method Details
-
getQuotedName
Accessor for the quoted name property- Returns:
- the _name
-
getName
Accessor for the name property- Returns:
- the _name
-
getValue
The param value- Returns:
- a value
-
getSqlType
public int getSqlType()Sql Type- Returns:
- a type
-
equals
-
hashCode
public int hashCode() -
toString
-