|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.tudarmstadt.ukp.jwktl.parser.ru.wikokit.base.wikt.constant.RelationLocal
public class RelationLocal
Names of semantic relations in some language (e.g. Russian) and the links to the Relation.java codes.
Field Summary | |
---|---|
protected static Map<String,Relation> |
name2rel
|
protected static Map<Relation,String> |
rel2name
|
protected static Map<Relation,String> |
rel2name_short
|
Constructor Summary | |
---|---|
protected |
RelationLocal(String _name,
String _short_name,
Relation _rel)
|
Method Summary | |
---|---|
static Relation |
get(String name)
Gets Relation by its name in some language |
static String |
getName(Relation r)
Gets name of Relation in some language. |
static String |
getShortName(Relation r)
Gets short name of Relation in some language. |
static boolean |
has(Relation r)
Checks weather exists the translation for this Relation. |
static boolean |
hasName(String name)
Checks weather exists Relation by its name in some language. |
static int |
size()
Counts number of translations. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final Map<String,Relation> name2rel
protected static final Map<Relation,String> rel2name
protected static final Map<Relation,String> rel2name_short
Constructor Detail |
---|
protected RelationLocal(String _name, String _short_name, Relation _rel)
Method Detail |
---|
public static boolean hasName(String name)
public static boolean has(Relation r)
public static Relation get(String name)
public static String getName(Relation r)
public static String getShortName(Relation r)
public static int size()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |