|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<PropertyStoreCode> de.smartics.properties.api.config.domain.PropertyStoreCode
public enum PropertyStoreCode
Codes dealing with property store problems.
Enum Constant Summary | |
---|---|
CANNOT_DELETE_PROPERTY Failed to delete property from store. |
|
CANNOT_GET_PROPERTY Failed to get property from store. |
|
CANNOT_GET_PROPERTY_COLLECTION Failed to get property collection from store. |
|
CANNOT_SET_PROPERTY Failed to store property in store. |
Method Summary | |
---|---|
String |
getCode() |
String |
getComponentId() |
String |
getDisplayId() |
Integer |
getMajorNumber() |
Integer |
getMinorNumber() |
String |
toString() Returns the string representation of the object. |
static PropertyStoreCode |
valueOf(String name) Returns the enum constant of this type with the specified name. |
static PropertyStoreCode[] |
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=PropertyStoreMessageBean.class) public static final PropertyStoreCode CANNOT_GET_PROPERTY
@MessageParamsDescriptor(value=PropertyStoreMessageBean.class) public static final PropertyStoreCode CANNOT_GET_PROPERTY_COLLECTION
@MessageParamsDescriptor(value=PropertyStoreMessageBean.class) public static final PropertyStoreCode CANNOT_SET_PROPERTY
@MessageParamsDescriptor(value=PropertyStoreMessageBean.class) public static final PropertyStoreCode CANNOT_DELETE_PROPERTY
Method Detail |
---|
public static PropertyStoreCode[] values()
for (PropertyStoreCode c : PropertyStoreCode.values()) System.out.println(c);
public static PropertyStoreCode 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<PropertyStoreCode>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |