|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ProblemType>
org.openpermis.policy.io.ProblemType
public enum ProblemType
Enumeration of all problem types that can occur during serialization.
ProblemReporter
Enum Constant Summary | |
---|---|
ELEMENT_SKIPPED
Indicates that portion of a policy have been skipped during import. |
|
ID_CONVERTED
Indicates that an identifier has been converted during import. |
Method Summary | |
---|---|
String |
getKey()
Returns translation key of the problem type. |
String |
getMessage(Object... parameters)
Returns a default message for the problem type. |
Class<?>[] |
getParameterTypes()
Returns the parameter types expected by this problem type. |
static ProblemType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ProblemType[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ProblemType ELEMENT_SKIPPED
Parameters include the location and the element skipped.
public static final ProblemType ID_CONVERTED
Parameters include the location, the element and attribute for which the conversion was performed followed by the original identifier and the resulting URI.
Method Detail |
---|
public static final ProblemType[] values()
for(ProblemType c : ProblemType.values()) System.out.println(c);
public static ProblemType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified namepublic String getKey()
public Class<?>[] getParameterTypes()
public String getMessage(Object... parameters)
parameters
- the parameters of the problem type.
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
PERMIS Role Based Access Control 0.3.0 (Build 14)
2009/05/08 09:06:10
Copyright (c) 2002-2007 Ergon Informatik AG