|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<PropertyCode> de.smartics.properties.api.core.domain.PropertyCode
public enum PropertyCode
Codes dealing with property problems.
Enum Constant Summary | |
---|---|
CONVERSION_PROBLEM The property is not valid. |
|
DUPLICATE_DECLARATION Duplicate property declaration. |
|
DUPLICATE_DECLARATIONS Signals more than one duplicate property declarations. |
|
INVALID_VALUE The property is not valid. |
|
READ_ONLY A read-only property was requested to be updated. |
|
RESOLVE_PROBLEM Placeholders in property value cannot be resolved. |
|
SECURITY Securing a property value failed. |
Method Summary | |
---|---|
String |
getCode() |
String |
getComponentId() |
String |
getDisplayId() |
Integer |
getMajorNumber() |
Integer |
getMinorNumber() |
String |
toString() Returns the string representation of the object. |
static PropertyCode |
valueOf(String name) Returns the enum constant of this type with the specified name. |
static PropertyCode[] |
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=PropertyExpressionMessageBean.class) public static final PropertyCode RESOLVE_PROBLEM
@MessageParamsDescriptor(value=PropertyValueMessageBean.class) public static final PropertyCode CONVERSION_PROBLEM
@MessageParamsDescriptor(value=PropertyValidationMessageBean.class) public static final PropertyCode INVALID_VALUE
@MessageParamsDescriptor(value=PropertyValidationMessageBean.class) public static final PropertyCode READ_ONLY
@MessageParamsDescriptor(value=PropertyDescriptorMessageBean.class) public static final PropertyCode SECURITY
@MessageParamsDescriptor(value=PropertyDescriptorClashingMessageBean.class) public static final PropertyCode DUPLICATE_DECLARATION
@MessageParamsDescriptor(value=DuplicatePropertyDeclarationsException.class) public static final PropertyCode DUPLICATE_DECLARATIONS
Method Detail |
---|
public static PropertyCode[] values()
for (PropertyCode c : PropertyCode.values()) System.out.println(c);
public static PropertyCode 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<PropertyCode>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |