Package org.openforis.collect.web.ws
Enum AppWS.MessageType
- java.lang.Object
-
- java.lang.Enum<AppWS.MessageType>
-
- org.openforis.collect.web.ws.AppWS.MessageType
-
- All Implemented Interfaces:
Serializable,Comparable<AppWS.MessageType>
- Enclosing class:
- AppWS
public static enum AppWS.MessageType extends Enum<AppWS.MessageType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description RECORD_LOCKEDRECORD_UNLOCKEDRECORD_UPDATE_ERRORRECORD_UPDATEDSURVEY_DELETEDSURVEY_PUBLISHEDSURVEY_UNPUBLISHEDSURVEY_UPDATEDSURVEYS_UPDATED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AppWS.MessageTypevalueOf(String name)Returns the enum constant of this type with the specified name.static AppWS.MessageType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SURVEYS_UPDATED
public static final AppWS.MessageType SURVEYS_UPDATED
-
SURVEY_UPDATED
public static final AppWS.MessageType SURVEY_UPDATED
-
SURVEY_PUBLISHED
public static final AppWS.MessageType SURVEY_PUBLISHED
-
SURVEY_UNPUBLISHED
public static final AppWS.MessageType SURVEY_UNPUBLISHED
-
SURVEY_DELETED
public static final AppWS.MessageType SURVEY_DELETED
-
RECORD_LOCKED
public static final AppWS.MessageType RECORD_LOCKED
-
RECORD_UNLOCKED
public static final AppWS.MessageType RECORD_UNLOCKED
-
RECORD_UPDATED
public static final AppWS.MessageType RECORD_UPDATED
-
RECORD_UPDATE_ERROR
public static final AppWS.MessageType RECORD_UPDATE_ERROR
-
-
Method Detail
-
values
public static AppWS.MessageType[] 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 (AppWS.MessageType c : AppWS.MessageType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AppWS.MessageType 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
-
-