Package es.bsc.dataclay.logic.sessionmgr
Enum SessionManagerSQLStatements.SqlStatements
- java.lang.Object
-
- java.lang.Enum<SessionManagerSQLStatements.SqlStatements>
-
- es.bsc.dataclay.logic.sessionmgr.SessionManagerSQLStatements.SqlStatements
-
- All Implemented Interfaces:
Serializable
,Comparable<SessionManagerSQLStatements.SqlStatements>
- Enclosing class:
- SessionManagerSQLStatements
public static enum SessionManagerSQLStatements.SqlStatements extends Enum<SessionManagerSQLStatements.SqlStatements>
This enumeration represent all possible SQL statements.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getSqlStatement()
Get the sqlStatementstatic void
loadStatements()
Init properties of the properties filevoid
setSqlStatement(String newsqlStatement)
Set the sqlStatementstatic void
unloadStatements()
Unload statements.static SessionManagerSQLStatements.SqlStatements
valueOf(String name)
Returns the enum constant of this type with the specified name.static SessionManagerSQLStatements.SqlStatements[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATE_TABLE_SESSIONCONTRACT
public static final SessionManagerSQLStatements.SqlStatements CREATE_TABLE_SESSIONCONTRACT
Create.
-
CREATE_TABLE_SESSIONINTERFACE
public static final SessionManagerSQLStatements.SqlStatements CREATE_TABLE_SESSIONINTERFACE
Create.
-
CREATE_TABLE_SESSIONPROPERTY
public static final SessionManagerSQLStatements.SqlStatements CREATE_TABLE_SESSIONPROPERTY
Create.
-
CREATE_TABLE_SESSIONOPERATION
public static final SessionManagerSQLStatements.SqlStatements CREATE_TABLE_SESSIONOPERATION
Create.
-
CREATE_TABLE_SESSIONIMPLEMENTATION
public static final SessionManagerSQLStatements.SqlStatements CREATE_TABLE_SESSIONIMPLEMENTATION
Create.
-
CREATE_TABLE_SESSIONDATACONTRACT
public static final SessionManagerSQLStatements.SqlStatements CREATE_TABLE_SESSIONDATACONTRACT
Create.
-
CREATE_TABLE_SESSIONINFO
public static final SessionManagerSQLStatements.SqlStatements CREATE_TABLE_SESSIONINFO
Create.
-
DROP_TABLE_SESSIONCONTRACT
public static final SessionManagerSQLStatements.SqlStatements DROP_TABLE_SESSIONCONTRACT
Drop table.
-
DROP_TABLE_SESSIONINTERFACE
public static final SessionManagerSQLStatements.SqlStatements DROP_TABLE_SESSIONINTERFACE
Drop table.
-
DROP_TABLE_SESSIONPROPERTY
public static final SessionManagerSQLStatements.SqlStatements DROP_TABLE_SESSIONPROPERTY
Drop table.
-
DROP_TABLE_SESSIONOPERATION
public static final SessionManagerSQLStatements.SqlStatements DROP_TABLE_SESSIONOPERATION
Drop table.
-
DROP_TABLE_SESSIONIMPLEMENTATION
public static final SessionManagerSQLStatements.SqlStatements DROP_TABLE_SESSIONIMPLEMENTATION
Drop table.
-
DROP_TABLE_SESSIONDATACONTRACT
public static final SessionManagerSQLStatements.SqlStatements DROP_TABLE_SESSIONDATACONTRACT
Drop table.
-
DROP_TABLE_SESSIONINFO
public static final SessionManagerSQLStatements.SqlStatements DROP_TABLE_SESSIONINFO
Drop table.
-
INSERT_SESSIONCONTRACT
public static final SessionManagerSQLStatements.SqlStatements INSERT_SESSIONCONTRACT
Insert.
-
INSERT_SESSIONINTERFACE
public static final SessionManagerSQLStatements.SqlStatements INSERT_SESSIONINTERFACE
Insert.
-
INSERT_SESSIONPROPERTY
public static final SessionManagerSQLStatements.SqlStatements INSERT_SESSIONPROPERTY
Insert.
-
INSERT_SESSIONOPERATION
public static final SessionManagerSQLStatements.SqlStatements INSERT_SESSIONOPERATION
Insert.
-
INSERT_SESSIONIMPLEMENTATION
public static final SessionManagerSQLStatements.SqlStatements INSERT_SESSIONIMPLEMENTATION
Insert.
-
INSERT_SESSIONDATACONTRACT
public static final SessionManagerSQLStatements.SqlStatements INSERT_SESSIONDATACONTRACT
Insert.
-
INSERT_SESSIONINFO
public static final SessionManagerSQLStatements.SqlStatements INSERT_SESSIONINFO
Insert.
-
SELECT_SESSIONCONTRACT
public static final SessionManagerSQLStatements.SqlStatements SELECT_SESSIONCONTRACT
Select.
-
SELECT_SESSIONINTERFACE
public static final SessionManagerSQLStatements.SqlStatements SELECT_SESSIONINTERFACE
Select.
-
SELECT_SESSIONPROPERTY
public static final SessionManagerSQLStatements.SqlStatements SELECT_SESSIONPROPERTY
Select.
-
SELECT_SESSIONOPERATION
public static final SessionManagerSQLStatements.SqlStatements SELECT_SESSIONOPERATION
Select.
-
SELECT_SESSIONIMPLEMENTATION
public static final SessionManagerSQLStatements.SqlStatements SELECT_SESSIONIMPLEMENTATION
Select.
-
SELECT_SESSIONDATACONTRACT
public static final SessionManagerSQLStatements.SqlStatements SELECT_SESSIONDATACONTRACT
Select.
-
SELECT_SESSIONINFO
public static final SessionManagerSQLStatements.SqlStatements SELECT_SESSIONINFO
Select.
-
DELETE_SESSIONCONTRACT
public static final SessionManagerSQLStatements.SqlStatements DELETE_SESSIONCONTRACT
Delete.
-
DELETE_SESSIONINTERFACE
public static final SessionManagerSQLStatements.SqlStatements DELETE_SESSIONINTERFACE
Delete.
-
DELETE_SESSIONPROPERTY
public static final SessionManagerSQLStatements.SqlStatements DELETE_SESSIONPROPERTY
Delete.
-
DELETE_SESSIONOPERATION
public static final SessionManagerSQLStatements.SqlStatements DELETE_SESSIONOPERATION
Delete.
-
DELETE_SESSIONIMPLEMENTATION
public static final SessionManagerSQLStatements.SqlStatements DELETE_SESSIONIMPLEMENTATION
Delete.
-
DELETE_SESSIONDATACONTRACT
public static final SessionManagerSQLStatements.SqlStatements DELETE_SESSIONDATACONTRACT
Delete.
-
DELETE_SESSIONINFO
public static final SessionManagerSQLStatements.SqlStatements DELETE_SESSIONINFO
Delete.
-
SELECT_SESSIONS_OF_ACCOUNT
public static final SessionManagerSQLStatements.SqlStatements SELECT_SESSIONS_OF_ACCOUNT
Select.
-
CREATE_TABLE_EXT_SESSIONINFO
public static final SessionManagerSQLStatements.SqlStatements CREATE_TABLE_EXT_SESSIONINFO
Create external dataClay sessions.
-
INSERT_EXT_SESSION
public static final SessionManagerSQLStatements.SqlStatements INSERT_EXT_SESSION
Insert external dataClay session.
-
SELECT_EXT_SESSION
public static final SessionManagerSQLStatements.SqlStatements SELECT_EXT_SESSION
Select external dataClay session.
-
DELETE_EXT_SESSION
public static final SessionManagerSQLStatements.SqlStatements DELETE_EXT_SESSION
Delete external dataClay session.
-
-
Method Detail
-
values
public static SessionManagerSQLStatements.SqlStatements[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SessionManagerSQLStatements.SqlStatements c : SessionManagerSQLStatements.SqlStatements.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SessionManagerSQLStatements.SqlStatements valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
unloadStatements
public static void unloadStatements()
Unload statements.
-
loadStatements
public static void loadStatements()
Init properties of the properties file
-
getSqlStatement
public String getSqlStatement()
Get the sqlStatement- Returns:
- the sqlStatement
-
setSqlStatement
public void setSqlStatement(String newsqlStatement)
Set the sqlStatement- Parameters:
newsqlStatement
- the sqlStatement
-
-