public static enum RootOid.Comparison extends Enum<RootOid.Comparison>
comparison.| Enum Constant and Description |
|---|
EQUIVALENT_AND_UNCHANGED
The two
oids identify the same domain object,
(meaning equals method returns true)
and the version information held within the
oid is the same. |
EQUIVALENT_BUT_CHANGED
The two
oids identify the same domain object,
(meaning equals method returns true)
but the version information held within the
oid is the different. |
EQUIVALENT_BUT_NO_VERSION_INFO
The two
oids identify the same domain object,
(meaning equals method returns true)
but there is no version information so
cannot determine whether the domain object has changed. |
NOT_EQUIVALENT
The two
oids identify the different domain objects,
(meaning equals method returns false). |
| Modifier and Type | Method and Description |
|---|---|
static RootOid.Comparison |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RootOid.Comparison[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RootOid.Comparison EQUIVALENT_AND_UNCHANGED
oids identify the same domain object,
(meaning equals method returns true)
and the version information held within the
oid is the same.public static final RootOid.Comparison EQUIVALENT_BUT_CHANGED
oids identify the same domain object,
(meaning equals method returns true)
but the version information held within the
oid is the different.public static final RootOid.Comparison EQUIVALENT_BUT_NO_VERSION_INFO
oids identify the same domain object,
(meaning equals method returns true)
but there is no version information so
cannot determine whether the domain object has changed.public static final RootOid.Comparison NOT_EQUIVALENT
oids identify the different domain objects,
(meaning equals method returns false).
public static RootOid.Comparison[] values()
for (RootOid.Comparison c : RootOid.Comparison.values()) System.out.println(c);
public static RootOid.Comparison 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 nullCopyright © 2010–2014 The Apache Software Foundation. All rights reserved.