Package co.mastermindcms.modules.enums
Enum AttachmentType
- java.lang.Object
-
- java.lang.Enum<AttachmentType>
-
- co.mastermindcms.modules.enums.AttachmentType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AttachmentType>
public enum AttachmentType extends java.lang.Enum<AttachmentType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CERTIFICATE
MESSENGER
ORDER
SELLER
SELLER_SKU
SKU
SKU_WEB3
UPLOAD_CATALOG_INFO
UPLOAD_OTHERS
UPLOAD_SKU_ATTRIBUTES
UPLOAD_SKU_INFO
-
Constructor Summary
Constructors Modifier Constructor Description private
AttachmentType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AttachmentType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AttachmentType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UPLOAD_CATALOG_INFO
public static final AttachmentType UPLOAD_CATALOG_INFO
-
UPLOAD_SKU_INFO
public static final AttachmentType UPLOAD_SKU_INFO
-
UPLOAD_SKU_ATTRIBUTES
public static final AttachmentType UPLOAD_SKU_ATTRIBUTES
-
UPLOAD_OTHERS
public static final AttachmentType UPLOAD_OTHERS
-
CERTIFICATE
public static final AttachmentType CERTIFICATE
-
ORDER
public static final AttachmentType ORDER
-
MESSENGER
public static final AttachmentType MESSENGER
-
SELLER
public static final AttachmentType SELLER
-
SELLER_SKU
public static final AttachmentType SELLER_SKU
-
SKU
public static final AttachmentType SKU
-
SKU_WEB3
public static final AttachmentType SKU_WEB3
-
-
Method Detail
-
values
public static AttachmentType[] 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 (AttachmentType c : AttachmentType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AttachmentType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-