Package org.cyclos.model.users.products
Enum UserProfileActivity
- java.lang.Object
-
- java.lang.Enum<UserProfileActivity>
-
- org.cyclos.model.users.products.UserProfileActivity
-
- All Implemented Interfaces:
Serializable,Comparable<UserProfileActivity>,HasMessageKey
public enum UserProfileActivity extends Enum<UserProfileActivity> implements HasMessageKey
Determines which information is shown in the activities section of the user profile
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVATION_DATEADVERTISEMENTSPAYMENT_FEEDBACKREFERENCESWEBSHOP_PRODUCTS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MessageKeygetMessageKey()static UserProfileActivityvalueOf(String name)Returns the enum constant of this type with the specified name.static UserProfileActivity[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTIVATION_DATE
public static final UserProfileActivity ACTIVATION_DATE
-
REFERENCES
public static final UserProfileActivity REFERENCES
-
PAYMENT_FEEDBACK
public static final UserProfileActivity PAYMENT_FEEDBACK
-
ADVERTISEMENTS
public static final UserProfileActivity ADVERTISEMENTS
-
WEBSHOP_PRODUCTS
public static final UserProfileActivity WEBSHOP_PRODUCTS
-
-
Method Detail
-
values
public static UserProfileActivity[] 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 (UserProfileActivity c : UserProfileActivity.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UserProfileActivity 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
-
getMessageKey
public MessageKey getMessageKey()
- Specified by:
getMessageKeyin interfaceHasMessageKey
-
-