Enum ContractManagerSQLStatements.SqlStatements
- java.lang.Object
-
- java.lang.Enum<ContractManagerSQLStatements.SqlStatements>
-
- es.bsc.dataclay.logic.contractmgr.ContractManagerSQLStatements.SqlStatements
-
- All Implemented Interfaces:
Serializable
,Comparable<ContractManagerSQLStatements.SqlStatements>
- Enclosing class:
- ContractManagerSQLStatements
public static enum ContractManagerSQLStatements.SqlStatements extends Enum<ContractManagerSQLStatements.SqlStatements>
This enumeration represent all possible SQL statements.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CREATE_TABLE_CONTRACT
Create.CREATE_TABLE_IFACEINCONTRACT
Create.CREATE_TABLE_OPIMPLEMENTATIONS
Create.DELETE_CONTRACT
Delete.DELETE_IFACEINCONTRACT
Delete.DELETE_OPIMPLEMENTATIONS
Delete.DROP_TABLE_CONTRACT
Drop.DROP_TABLE_IFACEINCONTRACT
Drop.DROP_TABLE_OPIMPLEMENTATIONS
Drop.INSERT_CONTRACT
Insert.INSERT_IFACEINCONTRACT
Insert.INSERT_OPIMPLEMENTATIONS
Insert.SELECT_ALL_CONTRACTS_OF_NAMESPACE
Select.SELECT_ALL_CONTRACTS_WITH_APPLICANT
Select.SELECT_ALL_CONTRACTS_WITH_APPLICANT_AND_NAMESPACE
Select.SELECT_ALL_CONTRACTS_WITH_INTERFACE
Select.SELECT_ALL_CONTRACTS_WITH_PROVIDER
Select.SELECT_ALL_OPIMPLS_WITH_IMPL
Select.SELECT_CONTRACT
Select account.SELECT_IFACEINCONTRACT
Select.SELECT_OPIMPLEMENTATIONS
Select.UPDATE_CONTRACT_ADD_APPLICANT
Update.
-
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 ContractManagerSQLStatements.SqlStatements
valueOf(String name)
Returns the enum constant of this type with the specified name.static ContractManagerSQLStatements.SqlStatements[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATE_TABLE_CONTRACT
public static final ContractManagerSQLStatements.SqlStatements CREATE_TABLE_CONTRACT
Create.
-
CREATE_TABLE_IFACEINCONTRACT
public static final ContractManagerSQLStatements.SqlStatements CREATE_TABLE_IFACEINCONTRACT
Create.
-
CREATE_TABLE_OPIMPLEMENTATIONS
public static final ContractManagerSQLStatements.SqlStatements CREATE_TABLE_OPIMPLEMENTATIONS
Create.
-
DROP_TABLE_CONTRACT
public static final ContractManagerSQLStatements.SqlStatements DROP_TABLE_CONTRACT
Drop.
-
DROP_TABLE_IFACEINCONTRACT
public static final ContractManagerSQLStatements.SqlStatements DROP_TABLE_IFACEINCONTRACT
Drop.
-
DROP_TABLE_OPIMPLEMENTATIONS
public static final ContractManagerSQLStatements.SqlStatements DROP_TABLE_OPIMPLEMENTATIONS
Drop.
-
INSERT_CONTRACT
public static final ContractManagerSQLStatements.SqlStatements INSERT_CONTRACT
Insert.
-
INSERT_IFACEINCONTRACT
public static final ContractManagerSQLStatements.SqlStatements INSERT_IFACEINCONTRACT
Insert.
-
INSERT_OPIMPLEMENTATIONS
public static final ContractManagerSQLStatements.SqlStatements INSERT_OPIMPLEMENTATIONS
Insert.
-
SELECT_CONTRACT
public static final ContractManagerSQLStatements.SqlStatements SELECT_CONTRACT
Select account.
-
SELECT_IFACEINCONTRACT
public static final ContractManagerSQLStatements.SqlStatements SELECT_IFACEINCONTRACT
Select.
-
SELECT_OPIMPLEMENTATIONS
public static final ContractManagerSQLStatements.SqlStatements SELECT_OPIMPLEMENTATIONS
Select.
-
DELETE_CONTRACT
public static final ContractManagerSQLStatements.SqlStatements DELETE_CONTRACT
Delete.
-
DELETE_IFACEINCONTRACT
public static final ContractManagerSQLStatements.SqlStatements DELETE_IFACEINCONTRACT
Delete.
-
DELETE_OPIMPLEMENTATIONS
public static final ContractManagerSQLStatements.SqlStatements DELETE_OPIMPLEMENTATIONS
Delete.
-
UPDATE_CONTRACT_ADD_APPLICANT
public static final ContractManagerSQLStatements.SqlStatements UPDATE_CONTRACT_ADD_APPLICANT
Update.
-
SELECT_ALL_CONTRACTS_OF_NAMESPACE
public static final ContractManagerSQLStatements.SqlStatements SELECT_ALL_CONTRACTS_OF_NAMESPACE
Select.
-
SELECT_ALL_CONTRACTS_WITH_INTERFACE
public static final ContractManagerSQLStatements.SqlStatements SELECT_ALL_CONTRACTS_WITH_INTERFACE
Select.
-
SELECT_ALL_OPIMPLS_WITH_IMPL
public static final ContractManagerSQLStatements.SqlStatements SELECT_ALL_OPIMPLS_WITH_IMPL
Select.
-
SELECT_ALL_CONTRACTS_WITH_APPLICANT
public static final ContractManagerSQLStatements.SqlStatements SELECT_ALL_CONTRACTS_WITH_APPLICANT
Select.
-
SELECT_ALL_CONTRACTS_WITH_PROVIDER
public static final ContractManagerSQLStatements.SqlStatements SELECT_ALL_CONTRACTS_WITH_PROVIDER
Select.
-
SELECT_ALL_CONTRACTS_WITH_APPLICANT_AND_NAMESPACE
public static final ContractManagerSQLStatements.SqlStatements SELECT_ALL_CONTRACTS_WITH_APPLICANT_AND_NAMESPACE
Select.
-
-
Method Detail
-
values
public static ContractManagerSQLStatements.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 (ContractManagerSQLStatements.SqlStatements c : ContractManagerSQLStatements.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 ContractManagerSQLStatements.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
-
-