Package com.basistech.rosette.dm
Class RelationshipComponent
java.lang.Object
com.basistech.rosette.dm.BaseAttribute
com.basistech.rosette.dm.RelationshipComponent
- All Implemented Interfaces:
Serializable
A Relationship Component: a building block of a relationship mention, such as an argument, predicate or adjunct.
- See Also:
-
Nested Class Summary
-
Field Summary
Fields inherited from class com.basistech.rosette.dm.BaseAttribute
extendedProperties
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns a list of start and end offsets, which serve as extents in the data for a component.Returns a textual identifier from an external database of "real world" entity, property or value this component refers (or "resolves") to.Returns a display string representing the component.protected com.google.common.base.MoreObjects.ToStringHelper
Methods inherited from class com.basistech.rosette.dm.BaseAttribute
getExtendedProperties, listOrNull, setExtendedProperty, toString
-
Constructor Details
-
RelationshipComponent
-
-
Method Details
-
getPhrase
Returns a display string representing the component.- Returns:
- a display string representing the component
-
getExtents
Returns a list of start and end offsets, which serve as extents in the data for a component.- Returns:
- a list of start and end offsets
-
getIdentifier
Returns a textual identifier from an external database of "real world" entity, property or value this component refers (or "resolves") to.- Returns:
- an textual identifier of a "real world" entity
-
toStringHelper
protected com.google.common.base.MoreObjects.ToStringHelper toStringHelper()- Overrides:
toStringHelper
in classBaseAttribute
-