|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.farrago.fem.fennel.DistinctnessEnum
public final class DistinctnessEnum
Distinctness enumeration class implementation.
Note: This type should not be subclassed, implemented or directly instantiated by clients. It is generated from a MOF metamodel and implemented by Enki or MDR.
Field Summary | |
---|---|
static DistinctnessEnum |
DUP_ALLOW
Enumeration constant corresponding to literal DUP_ALLOW. |
static DistinctnessEnum |
DUP_DISCARD
Enumeration constant corresponding to literal DUP_DISCARD. |
static DistinctnessEnum |
DUP_FAIL
Enumeration constant corresponding to literal DUP_FAIL. |
private String |
literalName
|
private static List<String> |
typeName
|
private static Map<String,DistinctnessEnum> |
valueMap
|
Constructor Summary | |
---|---|
private |
DistinctnessEnum(String literalName)
|
Method Summary | |
---|---|
boolean |
equals(Object o)
Indicates whether some other object is equal to this enumeration value. |
static Distinctness |
forName(String name)
Translates literal name to correspondent enumeration value. |
int |
hashCode()
Returns a hash code for this enumeration value. |
protected Object |
readResolve()
Resolves serialized instance of enumeration value. |
List<String> |
refTypeName()
Returns fully qualified name of the enumeration type. |
String |
toString()
Returns a string representation of the enumeration value. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final DistinctnessEnum DUP_ALLOW
public static final DistinctnessEnum DUP_DISCARD
public static final DistinctnessEnum DUP_FAIL
private static final Map<String,DistinctnessEnum> valueMap
private static final List<String> typeName
private final String literalName
Constructor Detail |
---|
private DistinctnessEnum(String literalName)
Method Detail |
---|
public List<String> refTypeName()
refTypeName
in interface RefEnum
public String toString()
toString
in interface RefEnum
toString
in class Object
public int hashCode()
hashCode
in interface RefEnum
hashCode
in class Object
public boolean equals(Object o)
equals
in interface RefEnum
equals
in class Object
o
- The reference object with which to compare.
public static Distinctness forName(String name)
name
- Enumeration literal.
protected Object readResolve() throws ObjectStreamException
ObjectStreamException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |