public class Lookup extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
String |
annotationType
annotation type that should be used to create a lookup
|
Map<String,Object> |
features
a map of arbitary features
|
String |
languages
The languages for this lookup, e.g.
|
String |
list
the list represented by this lookup
|
String |
majorType
Tha major type for this lookup, e.g.
|
String |
minorType
The minor type for this lookup, e.g.
|
String |
oClass
the ontology class of this lookup according to the mapping between list and
ontology
|
String |
ontology
the ontology ID
|
Constructor and Description |
---|
Lookup(String theList,
String major,
String minor,
String theLanguages)
Creates a new Lookup value with the given major and minor types and
languages.
|
Lookup(String theList,
String major,
String minor,
String theLanguages,
String annotationType)
Creates a new Lookup value with the given major and minor types and
languages.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Two lookups are equal if they have the same string representation (major
type and minor type).
|
int |
hashCode()
*
|
String |
toString()
Returns a string representation of this lookup in the format This method is
used in equals() that caused this method to implement dualistic behaviour :
i.e. whenever class and ontology are filled then use the long version,incl.
|
public String oClass
public String annotationType
public Lookup(String theList, String major, String minor, String theLanguages, String annotationType)
major
- major typeminor
- minor typetheLanguages
- the languagesannotationType
- the annotation type to use for annotating this particular lookup.public String toString()
public boolean equals(Object obj)