Pepper
3.6.0
A highly extensible plattform for conversion and manipulationoflinguisticdata.
|
A subject is a container for SDocument or SCorpus object to be merged. More...
Public Member Functions | |
URI | getResourceURI () |
{@inheritDoc PepperMapper::getResourceURI()} | |
void | setResourceURI (URI resourceURI) |
{@inheritDoc PepperMapper::setResourceURI(URI)} | |
Identifier | getIdentifier () |
Returns Identifier object corresponding to either SDocument or SCorpus which should be mapped. More... | |
void | setIdentifier (Identifier sElementId) |
Sets Identifier object corresponding to either SDocument or SCorpus which should be mapped. More... | |
synchronized void | setMappingResult (DOCUMENT_STATUS mappingResult) |
{@inheritDoc PepperMapperConnector::setMappingResult(DOCUMENT_STATUS)} | |
DOCUMENT_STATUS | getMappingResult () |
{@inheritDoc PepperMapperConnector::getMappingResult()} | |
DocumentController | getDocumentController () |
Returns the document controller, if one was set. More... | |
void | setDocumentController (DocumentController documentController) |
If the set Identifier belongs to a SDocument, it's controller can be passed with this method. More... | |
String | toString () |
Returns a String representation of this object. More... | |
Protected Attributes | |
URI | resourceURI = null |
URI of resource. More... | |
Identifier | sElementId = null |
Identifier object corresponding to either SDocument or SCorpus which should be mapped | |
volatile DOCUMENT_STATUS | mappingResult = null |
A subject is a container for SDocument or SCorpus object to be merged.
Further this container contains the DOCUMENT_STATUS and the URI where the resource is located
DocumentController org.corpus_tools.pepper.modules.MappingSubject.getDocumentController | ( | ) |
Returns the document controller, if one was set.
This is useful in case the set Identifier belongs to a SDocument.
Identifier org.corpus_tools.pepper.modules.MappingSubject.getIdentifier | ( | ) |
Returns Identifier object corresponding to either SDocument or SCorpus which should be mapped.
void org.corpus_tools.pepper.modules.MappingSubject.setDocumentController | ( | DocumentController | documentController | ) |
If the set Identifier belongs to a SDocument, it's controller can be passed with this method.
documentController | the controller for the SDocument |
void org.corpus_tools.pepper.modules.MappingSubject.setIdentifier | ( | Identifier | sElementId | ) |
Sets Identifier object corresponding to either SDocument or SCorpus which should be mapped.
sElementId |
String org.corpus_tools.pepper.modules.MappingSubject.toString | ( | ) |
Returns a String representation of this object.
This representation should not be used for serialization/deserialization purposes.
|
protected |
URI of resource.
The URI could refer a directory or a file, which can be a corpus or a document.