Package br.com.jarch.model.type
Enum ActionCrudType
- java.lang.Object
-
- java.lang.Enum<ActionCrudType>
-
- br.com.jarch.model.type.ActionCrudType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ActionCrudType>
public enum ActionCrudType extends java.lang.Enum<ActionCrudType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.Collection<ActionCrudType>
getCollection()
static java.util.Collection<ActionCrudType>
getCollectionAudit()
java.lang.String
getDescription()
java.lang.String
getId()
boolean
isChange()
boolean
isClone()
boolean
isConsult()
boolean
isDefault()
boolean
isDelete()
boolean
isDynamic()
boolean
isInsert()
static ActionCrudType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ActionCrudType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSERT
public static final ActionCrudType INSERT
-
CLONE
public static final ActionCrudType CLONE
-
CHANGE
public static final ActionCrudType CHANGE
-
CONSULT
public static final ActionCrudType CONSULT
-
DELETE
public static final ActionCrudType DELETE
-
PRINT
public static final ActionCrudType PRINT
-
ACTIVE
public static final ActionCrudType ACTIVE
-
DEACTIVE
public static final ActionCrudType DEACTIVE
-
DYNAMIC
public static final ActionCrudType DYNAMIC
-
-
Method Detail
-
values
public static ActionCrudType[] 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 (ActionCrudType c : ActionCrudType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ActionCrudType 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
-
getDescription
public java.lang.String getDescription()
-
isInsert
public boolean isInsert()
-
isClone
public boolean isClone()
-
isChange
public boolean isChange()
-
isConsult
public boolean isConsult()
-
isDelete
public boolean isDelete()
-
isDynamic
public boolean isDynamic()
-
getId
public java.lang.String getId()
-
isDefault
public boolean isDefault()
-
getCollection
public static java.util.Collection<ActionCrudType> getCollection()
-
getCollectionAudit
public static java.util.Collection<ActionCrudType> getCollectionAudit()
-
-