Enum NamespaceManagerSQLStatements.SqlStatements
- java.lang.Object
-
- java.lang.Enum<NamespaceManagerSQLStatements.SqlStatements>
-
- es.bsc.dataclay.logic.namespacemgr.NamespaceManagerSQLStatements.SqlStatements
-
- All Implemented Interfaces:
Serializable
,Comparable<NamespaceManagerSQLStatements.SqlStatements>
- Enclosing class:
- NamespaceManagerSQLStatements
public static enum NamespaceManagerSQLStatements.SqlStatements extends Enum<NamespaceManagerSQLStatements.SqlStatements>
This enumeration represent all possible SQL statements.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CREATE_TABLE_IMPORTEDIFACE
Create.CREATE_TABLE_NAMESPACE
Create.DELETE_IMPORTEDIFACE
Delete.DELETE_NAMESPACE
Delete.DROP_TABLE_IMPORTEDIFACE
Drop.DROP_TABLE_NAMESPACE
Drop.INSERT_IMPORTEDIFACE
Insert.INSERT_NAMESPACE
Insert.SELECT_ALL_NAMESPACES_IMPORT_IFACE
Select.SELECT_ALL_NAMESPACES_OF_ACCOUNT
Select.SELECT_ALL_NAMESPACES_OF_ACCOUNT_AND_ID
Select.SELECT_IMPORTEDIFACE
Select.SELECT_NAMESPACE
Select.SELECT_NAMESPACE_BY_NAME
Select.SELECT_NAMESPACES_NAMES
Select.UPDATE_IMPORTEDIFACE_ADD_IMPLEMENTATION
Update.UPDATE_IMPORTEDIFACE_ADD_OPERATION
Update.UPDATE_IMPORTEDIFACE_ADD_PROPERTY
Update.UPDATE_IMPORTEDIFACE_ADD_SUBCLASS
Update.UPDATE_IMPORTEDIFACE_REMOVE_IMPLEMENTATION
Update.UPDATE_IMPORTEDIFACE_REMOVE_OPERATION
Update.UPDATE_IMPORTEDIFACE_REMOVE_PROPERTY
Update.UPDATE_IMPORTEDIFACE_REMOVE_SUBCLASS
Update.UPDATE_NAMESPACE_ADD_IMPORTEDIFACE
Select.UPDATE_NAMESPACE_REMOVE_IMPORTEDIFACE
Select.
-
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 NamespaceManagerSQLStatements.SqlStatements
valueOf(String name)
Returns the enum constant of this type with the specified name.static NamespaceManagerSQLStatements.SqlStatements[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATE_TABLE_IMPORTEDIFACE
public static final NamespaceManagerSQLStatements.SqlStatements CREATE_TABLE_IMPORTEDIFACE
Create.
-
CREATE_TABLE_NAMESPACE
public static final NamespaceManagerSQLStatements.SqlStatements CREATE_TABLE_NAMESPACE
Create.
-
DROP_TABLE_IMPORTEDIFACE
public static final NamespaceManagerSQLStatements.SqlStatements DROP_TABLE_IMPORTEDIFACE
Drop.
-
DROP_TABLE_NAMESPACE
public static final NamespaceManagerSQLStatements.SqlStatements DROP_TABLE_NAMESPACE
Drop.
-
INSERT_IMPORTEDIFACE
public static final NamespaceManagerSQLStatements.SqlStatements INSERT_IMPORTEDIFACE
Insert.
-
INSERT_NAMESPACE
public static final NamespaceManagerSQLStatements.SqlStatements INSERT_NAMESPACE
Insert.
-
SELECT_IMPORTEDIFACE
public static final NamespaceManagerSQLStatements.SqlStatements SELECT_IMPORTEDIFACE
Select.
-
SELECT_NAMESPACE
public static final NamespaceManagerSQLStatements.SqlStatements SELECT_NAMESPACE
Select.
-
SELECT_NAMESPACES_NAMES
public static final NamespaceManagerSQLStatements.SqlStatements SELECT_NAMESPACES_NAMES
Select.
-
DELETE_IMPORTEDIFACE
public static final NamespaceManagerSQLStatements.SqlStatements DELETE_IMPORTEDIFACE
Delete.
-
DELETE_NAMESPACE
public static final NamespaceManagerSQLStatements.SqlStatements DELETE_NAMESPACE
Delete.
-
SELECT_NAMESPACE_BY_NAME
public static final NamespaceManagerSQLStatements.SqlStatements SELECT_NAMESPACE_BY_NAME
Select.
-
UPDATE_NAMESPACE_ADD_IMPORTEDIFACE
public static final NamespaceManagerSQLStatements.SqlStatements UPDATE_NAMESPACE_ADD_IMPORTEDIFACE
Select.
-
UPDATE_NAMESPACE_REMOVE_IMPORTEDIFACE
public static final NamespaceManagerSQLStatements.SqlStatements UPDATE_NAMESPACE_REMOVE_IMPORTEDIFACE
Select.
-
SELECT_ALL_NAMESPACES_OF_ACCOUNT
public static final NamespaceManagerSQLStatements.SqlStatements SELECT_ALL_NAMESPACES_OF_ACCOUNT
Select.
-
SELECT_ALL_NAMESPACES_IMPORT_IFACE
public static final NamespaceManagerSQLStatements.SqlStatements SELECT_ALL_NAMESPACES_IMPORT_IFACE
Select.
-
SELECT_ALL_NAMESPACES_OF_ACCOUNT_AND_ID
public static final NamespaceManagerSQLStatements.SqlStatements SELECT_ALL_NAMESPACES_OF_ACCOUNT_AND_ID
Select.
-
UPDATE_IMPORTEDIFACE_ADD_PROPERTY
public static final NamespaceManagerSQLStatements.SqlStatements UPDATE_IMPORTEDIFACE_ADD_PROPERTY
Update.
-
UPDATE_IMPORTEDIFACE_ADD_OPERATION
public static final NamespaceManagerSQLStatements.SqlStatements UPDATE_IMPORTEDIFACE_ADD_OPERATION
Update.
-
UPDATE_IMPORTEDIFACE_ADD_IMPLEMENTATION
public static final NamespaceManagerSQLStatements.SqlStatements UPDATE_IMPORTEDIFACE_ADD_IMPLEMENTATION
Update.
-
UPDATE_IMPORTEDIFACE_ADD_SUBCLASS
public static final NamespaceManagerSQLStatements.SqlStatements UPDATE_IMPORTEDIFACE_ADD_SUBCLASS
Update.
-
UPDATE_IMPORTEDIFACE_REMOVE_PROPERTY
public static final NamespaceManagerSQLStatements.SqlStatements UPDATE_IMPORTEDIFACE_REMOVE_PROPERTY
Update.
-
UPDATE_IMPORTEDIFACE_REMOVE_OPERATION
public static final NamespaceManagerSQLStatements.SqlStatements UPDATE_IMPORTEDIFACE_REMOVE_OPERATION
Update.
-
UPDATE_IMPORTEDIFACE_REMOVE_IMPLEMENTATION
public static final NamespaceManagerSQLStatements.SqlStatements UPDATE_IMPORTEDIFACE_REMOVE_IMPLEMENTATION
Update.
-
UPDATE_IMPORTEDIFACE_REMOVE_SUBCLASS
public static final NamespaceManagerSQLStatements.SqlStatements UPDATE_IMPORTEDIFACE_REMOVE_SUBCLASS
Update.
-
-
Method Detail
-
values
public static NamespaceManagerSQLStatements.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 (NamespaceManagerSQLStatements.SqlStatements c : NamespaceManagerSQLStatements.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 NamespaceManagerSQLStatements.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
-
-