|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<DiffState>
org.nuiton.topia.persistence.util.DiffState
public enum DiffState
Pour qualifier l'etat d'une entite lors du calcul d'un differentiel entre deux entites.
TopiaEntityHelper.buildDifferentiel(List, List)| Enum Constant Summary | |
|---|---|
MODIFIED
entite modifie dans le storage de reference (voir topiaVersion). |
|
NEW
nouvel entite dans le storage de reference. |
|
REMOVED
entité supprimée dans le storage de reference. |
|
| Method Summary | |
|---|---|
static void |
addAll(EnumMap<DiffState,List<String>> mainMap,
EnumMap<DiffState,List<String>> toAdd)
Ajoute dans le premier dictionnaire, les listes du second dictionnaire. |
static void |
clear(EnumMap<DiffState,List<String>> mainMap)
Nettoye un dictionnaire donnee de toute ses donnees. |
static EnumMap<DiffState,List<String>> |
newMap()
Construit un dictionnaire avec pour tous les états une liste vide. |
static void |
removeEmptyStates(EnumMap<DiffState,List<String>> mainMap)
Supprime toutes les entrees vides du dictionnaire . |
static DiffState |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DiffState[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final DiffState NEW
public static final DiffState MODIFIED
public static final DiffState REMOVED
| Method Detail |
|---|
public static DiffState[] values()
for (DiffState c : DiffState.values()) System.out.println(c);
public static DiffState valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic static EnumMap<DiffState,List<String>> newMap()
public static void addAll(EnumMap<DiffState,List<String>> mainMap,
EnumMap<DiffState,List<String>> toAdd)
mainMap - le dictionnaire principaletoAdd - le dictionne a ajouter dans le dictionnaire principalepublic static void clear(EnumMap<DiffState,List<String>> mainMap)
mainMap - le dictionnaire a nettoyer.public static void removeEmptyStates(EnumMap<DiffState,List<String>> mainMap)
mainMap - le dictionnaire a nettoyer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||