lumis.service.thesaurus
Class TermRelationConfig

Package class diagram package TermRelationConfig
java.lang.Object
  extended by lumis.service.thesaurus.TermRelationConfig
All Implemented Interfaces:
Cloneable

public class TermRelationConfig
extends Object
implements Cloneable

Object that represents a relation between two thesaurus terms

Since:
4.0.10

Field Summary
static String BROADER_TYPE
           
static String NARROWER_TYPE
           
static String RELATED_TYPE
           
static String USE_FOR_TYPE
           
static String USE_TYPE
           
 
Constructor Summary
TermRelationConfig()
           
TermRelationConfig(String id, String termId, String relatedTermId, String relationType)
           
 
Method Summary
 TermRelationConfig clone()
           
 boolean equals(Object obj)
           
 String getId()
           
static String getInvertedRelationType(String relationType)
           
 String getRelatedTermId()
           
 String getRelationType()
           
 String getTermId()
           
 int hashCode()
           
 TermRelationConfig invert()
           
 void setId(String id)
           
 void setRelatedTermId(String relatedTermId)
           
 void setRelationType(String relationType)
           
 void setTermId(String termId)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BROADER_TYPE

public static final String BROADER_TYPE
See Also:
Constant Field Values

NARROWER_TYPE

public static final String NARROWER_TYPE
See Also:
Constant Field Values

RELATED_TYPE

public static final String RELATED_TYPE
See Also:
Constant Field Values

USE_TYPE

public static final String USE_TYPE
See Also:
Constant Field Values

USE_FOR_TYPE

public static final String USE_FOR_TYPE
See Also:
Constant Field Values
Constructor Detail

TermRelationConfig

public TermRelationConfig()

TermRelationConfig

public TermRelationConfig(String id,
                          String termId,
                          String relatedTermId,
                          String relationType)
Method Detail

getId

public String getId()

setId

public void setId(String id)

getRelatedTermId

public String getRelatedTermId()

setRelatedTermId

public void setRelatedTermId(String relatedTermId)

getRelationType

public String getRelationType()

setRelationType

public void setRelationType(String relationType)

getTermId

public String getTermId()

setTermId

public void setTermId(String termId)

invert

public TermRelationConfig invert()

getInvertedRelationType

public static String getInvertedRelationType(String relationType)

clone

public TermRelationConfig clone()
                         throws CloneNotSupportedException
Overrides:
clone in class Object
Throws:
CloneNotSupportedException

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Lumisportal  4.1.0.071221 - Copyright © 2001-2007, Lumis. All Rights Reserved.