|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.tuebingen.uni.sfs.germanet.api.CompoundInfo
public class CompoundInfo
A CompoundInfo
shows constituent parts of a German word, their
word categories and attributes.
Constructor Summary | |
---|---|
CompoundInfo(CompoundProperty modifierProperty,
java.lang.String modifier1,
CompoundCategory modifier1Category,
java.lang.String modifier2,
CompoundCategory modifier2Category,
java.lang.String head,
CompoundProperty headProperty)
Constructs a CompoundInfo with the specified attributes. |
Method Summary | |
---|---|
java.lang.String |
getHead()
Returns the head of the compound |
CompoundProperty |
getHeadProperty()
Returns the CompoundProperty of the head
or null if it has not been set |
java.lang.String |
getModifier1()
Returns the first modifier of the compound |
CompoundCategory |
getModifier1Category()
Returns the CompoundCategory of the first modifier
or null if it has not been set |
java.lang.String |
getModifier2()
Returns the second, alternative modifier of the compound or null if it has not been set |
CompoundCategory |
getModifier2Category()
Returns the CompoundCategory of the second modifier
or null if it has not been set |
CompoundProperty |
getModifierProperty()
Returns the CompoundProperty of the modifier
or null if it has not been set |
java.lang.String |
toString()
Return a String representation of the compound. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CompoundInfo(CompoundProperty modifierProperty, java.lang.String modifier1, CompoundCategory modifier1Category, java.lang.String modifier2, CompoundCategory modifier2Category, java.lang.String head, CompoundProperty headProperty)
CompoundInfo
with the specified attributes.
modifierProperty
- modifier1
- modifier1Category
- modifier2
- modifier2Category
- head
- headProperty
- Method Detail |
---|
public CompoundProperty getModifierProperty()
CompoundProperty
of the modifier
or null if it has not been set
CompoundProperty
of the modifierpublic java.lang.String getModifier1()
public CompoundCategory getModifier1Category()
CompoundCategory
of the first modifier
or null if it has not been set
CompoundCategory
of the first modifierpublic java.lang.String getModifier2()
public CompoundCategory getModifier2Category()
CompoundCategory
of the second modifier
or null if it has not been set
CompoundCategory
of the second modifierpublic java.lang.String getHead()
public CompoundProperty getHeadProperty()
CompoundProperty
of the head
or null if it has not been set
CompoundProperty
of the headpublic java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |