|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<DataSourceCode> de.smartics.properties.spi.config.ds.DataSourceCode
public enum DataSourceCode
Codes dealing with property problems.
Enum Constant Summary | |
---|---|
CANNOT_ACCESS_CONFIGURATION_KEYS The table containing the properties cannot be accessed to fetch the configuration keys found therein. |
|
CANNOT_ACCESS_PROPERTIES Problems accessing a set of properties in the database. |
|
CANNOT_ACCESS_PROPERTY Problems accessing the property in the database. |
|
CANNOT_CREATE_TABLE The table containing the properties cannot be created. |
|
CANNOT_DELETE_PROPERTIES Problems deleting all property values from the database. |
|
CANNOT_DELETE_PROPERTY Problems deleting the value of a property from the database. |
|
CANNOT_DROP_TABLE The table containing the properties cannot be dropped. |
|
CANNOT_PRINT_TABLE The table containing the properties cannot be accessed for printing. |
|
CANNOT_STORE_PROPERTIES Problems storing a set of properties to the database. |
|
CANNOT_STORE_PROPERTY Problems storing the value of a property to the database. |
|
INVALID_CONFIGURATION_KEY The table containing the properties contains an invalid configuration key. |
Method Summary | |
---|---|
String |
getCode() |
String |
getComponentId() |
String |
getDisplayId() |
Integer |
getMajorNumber() |
Integer |
getMinorNumber() |
String |
toString() Returns the string representation of the object. |
static DataSourceCode |
valueOf(String name) Returns the enum constant of this type with the specified name. |
static DataSourceCode[] |
values() Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
@MessageParamsDescriptor(value=DataSourceMessageBean.class) public static final DataSourceCode CANNOT_CREATE_TABLE
@MessageParamsDescriptor(value=DataSourceMessageBean.class) public static final DataSourceCode CANNOT_DROP_TABLE
@MessageParamsDescriptor(value=DataSourceMessageBean.class) public static final DataSourceCode CANNOT_PRINT_TABLE
@MessageParamsDescriptor(value=DataSourceMessageBean.class) public static final DataSourceCode CANNOT_ACCESS_CONFIGURATION_KEYS
@MessageParamsDescriptor(value=DataSourceMessageBean.class) public static final DataSourceCode INVALID_CONFIGURATION_KEY
@MessageParamsDescriptor(value=DataSourcePropertyKeyMessageBean.class) public static final DataSourceCode CANNOT_ACCESS_PROPERTY
@MessageParamsDescriptor(value=DataSourceConfigurationMessageBean.class) public static final DataSourceCode CANNOT_ACCESS_PROPERTIES
@MessageParamsDescriptor(value=DataSourcePropertyMessageBean.class) public static final DataSourceCode CANNOT_STORE_PROPERTY
@MessageParamsDescriptor(value=DataSourcePropertyKeyMessageBean.class) public static final DataSourceCode CANNOT_DELETE_PROPERTY
@MessageParamsDescriptor(value=DataSourceMessageBean.class) public static final DataSourceCode CANNOT_DELETE_PROPERTIES
@MessageParamsDescriptor(value=DataSourceConfigurationMessageBean.class) public static final DataSourceCode CANNOT_STORE_PROPERTIES
Method Detail |
---|
public static DataSourceCode[] values()
for (DataSourceCode c : DataSourceCode.values()) System.out.println(c);
public static DataSourceCode valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant with the specified name
NullPointerException
- if the argument is null
public String getCode()
getCode
in interface
de.smartics.exceptions.core.Code
public String getComponentId()
getComponentId
in interface
de.smartics.exceptions.core.Code
public String getDisplayId()
getDisplayId
in interface
de.smartics.exceptions.core.Code
public Integer getMajorNumber()
getMajorNumber
in interface
de.smartics.exceptions.code.NumberCode
public Integer getMinorNumber()
getMinorNumber
in interface
de.smartics.exceptions.code.NumberCode
public String toString()
toString
in interface
de.smartics.exceptions.core.Code
toString
in class
Enum<DataSourceCode>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |