public enum EChange extends Enum<EChange> implements IChangeIndicator
| Modifier and Type | Method and Description |
|---|---|
EChange |
and(IChangeIndicator aChange) |
boolean |
isChanged() |
boolean |
isUnchanged() |
EChange |
or(IChangeIndicator aChange) |
static EChange |
valueOf(boolean bChanged) |
static EChange |
valueOf(IChangeIndicator aChangeIndicator) |
static EChange |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EChange[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EChange CHANGED
public static final EChange UNCHANGED
public static EChange[] values()
for (EChange c : EChange.values()) System.out.println(c);
public static EChange valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic boolean isChanged()
isChanged in interface IChangeIndicatortrue if changed and false if unchanged.public boolean isUnchanged()
isUnchanged in interface IChangeIndicatortrue if unchanged and false if changed.@Nonnull public EChange or(@Nonnull IChangeIndicator aChange)
@Nonnull public EChange and(@Nonnull IChangeIndicator aChange)
@Nonnull public static EChange valueOf(@Nonnull IChangeIndicator aChangeIndicator)
Copyright © 2006–2014 phloc systems. All rights reserved.