|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<MappingSetType> it.unimi.dico.islab.idbs2.map.MappingSetType
public enum MappingSetType
Representation of the possible MappingSet
categories. For example the type "document" represents
a MappingSet
containing the comparison between two documents: the detail level of this
MappingSet
is the type "knowledge_chunk" which represents a comparison between two KnowledgeChunk
s,
the first belonging to the first document of the higher level, the second belonging to the second document.
KnowledgeChunk
,
MappingSet
Enum Constant Summary | |
---|---|
document
|
|
knowledge_chunk
|
|
mapping_set
|
Method Summary | |
---|---|
String |
toString()
Get the String name of the choosed MappingSet type. |
static MappingSetType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static MappingSetType[] |
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, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final MappingSetType document
public static final MappingSetType knowledge_chunk
public static final MappingSetType mapping_set
Method Detail |
---|
public static MappingSetType[] values()
for (MappingSetType c : MappingSetType.values()) System.out.println(c);
public static MappingSetType 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 String toString()
Get the String
name of the choosed MappingSet type.
toString
in class Enum<MappingSetType>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |