public class TermTransformation extends Object
TermTransformation
instance has been generated having "Actor" as
Term
, "Stemming" as transformation name and "Act" as transformation value.
Modifier | Constructor and Description |
---|---|
protected |
TermTransformation()
Void constructor needed for Hibernate compatibility.
|
protected |
TermTransformation(Term term,
String transformationName,
String transformationValue)
Main constructor for the TermTransformation class.
|
Modifier and Type | Method and Description |
---|---|
protected Integer |
getId() |
Term |
getTerm()
Getter for the Term which this transformation is associated to.
|
String |
getTransformationName()
Getter for the name of the transformation that generated the current TermTransformation (e.g.
|
String |
getTransformationValue()
Getter for the value of the current transformed term.
|
protected void |
setId(Integer id) |
protected void |
setTerm(Term term) |
void |
setTransformationName(String transformationName)
Setter for the name of the transformation that generated the current TermTransformation (e.g.
|
void |
setTransformationValue(String transformationValue)
Setter for the value of the current transformed term.
|
protected TermTransformation()
protected TermTransformation(Term term, String transformationName, String transformationValue)
Term.addTransformation
instead.term
- the Term being the origin of this transformationtransformationName
- the name of the transformation (e.g. Stemming)transformationValue
- the result of the transformation.Term.addTransformation(String, String)
protected Integer getId()
protected void setId(Integer id)
public String getTransformationName()
public void setTransformationName(String transformationName)
transformationName
- the name of the current transformation.public String getTransformationValue()
public void setTransformationValue(String transformationValue)
transformationValue
- the value of the transformation.public Term getTerm()
Term
.protected void setTerm(Term term)