com.bstek.dorado.data.entity
public enum EntityState extends java.lang.Enum<EntityState>
Modifier and Type | Method and Description |
---|---|
static EntityState |
fromInt(int i) |
static boolean |
isDirty(EntityState state) |
static boolean |
isVisible(EntityState state) |
static boolean |
isVisibleDirty(EntityState state) |
static int |
toInt(EntityState state) |
static EntityState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EntityState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EntityState NONE
public static final EntityState NEW
public static final EntityState MODIFIED
public static final EntityState DELETED
public static final EntityState MOVED
public static EntityState[] values()
for (EntityState c : EntityState.values()) System.out.println(c);
public static EntityState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static boolean isDirty(EntityState state)
public static boolean isVisible(EntityState state)
public static boolean isVisibleDirty(EntityState state)
public static int toInt(EntityState state)
public static EntityState fromInt(int i)
Copyright © 2001-2011 www.BSTEK.com All Rights Reserved.