|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectefxtools.sample.ae.helper.MonetarySubexpression
public class MonetarySubexpression
Entity class for storing a monetary subexpression.
A monetary subexpression semantically consititutes a text span that consist of a money term, an optional leading preposition, and - if the latter exists - an optional filler word between those two.
Syntactically, a monetary subexpression is given by the string itself
as well as its according start and end index, and the type the
subexpression refers to as given in SubexpressionType.
| Constructor Summary | |
|---|---|
MonetarySubexpression(int begin,
int end,
java.lang.String value)
Constructor. |
|
| Method Summary | |
|---|---|
int |
getBegin()
Getter for the begin index |
int |
getEnd()
Getter for the end index |
java.lang.String |
getValue()
Getter for the value |
void |
setBegin(int begin)
Setter for the begin index |
void |
setEnd(int end)
Setter for the end index |
void |
setValue(java.lang.String value)
Setter for the value |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MonetarySubexpression(int begin,
int end,
java.lang.String value)
begin - The begin index of the subexpressionend - The end index of the subexpressionvalue - The value, i.e. the subexpression itself.| Method Detail |
|---|
public int getBegin()
public void setBegin(int begin)
begin - The begin indexpublic int getEnd()
public void setEnd(int end)
end - The end indexpublic java.lang.String getValue()
public void setValue(java.lang.String value)
value - The value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||