lumis.service.thesaurus
Class TermRelationConfig
java.lang.Object
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
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
TermRelationConfig
public TermRelationConfig()
TermRelationConfig
public TermRelationConfig(String id,
String termId,
String relatedTermId,
String relationType)
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.