public enum MappingSetType extends 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 and Description |
---|
document |
knowledge_chunk |
mapping_set |
property |
Modifier and Type | Method and Description |
---|---|
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.
|
public static final MappingSetType document
public static final MappingSetType knowledge_chunk
public static final MappingSetType mapping_set
public static final MappingSetType property
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 nameNullPointerException
- if the argument is nullpublic String toString()
Get the String
name of the choosed MappingSet type.
toString
in class Enum<MappingSetType>