com.languagecomputer.api.text
Interface Dossier


public interface Dossier

Representation of a dossier retrieved from the database. Contains a name and a list of attributes for that entity. Attributes are represented as Strings but may also represent another Dossier. Note that although a Dossier is generated from Documents, it is not an annotation and therefore does not have an AnnotationType.

Since:
1.0
Author:
Toby Jungen

Method Summary
 List<String> getAttributes()
          Returns a List of attributes for this dossier, represented as Strings.
 String getName()
          Returns the name of the dossier represented by this object.
 

Method Detail

getName

String getName()
Returns the name of the dossier represented by this object. An implementor must provide a name for the dossier.

Returns:
The name of this Dossier.

getAttributes

List<String> getAttributes()
Returns a List of attributes for this dossier, represented as Strings. This list may be empty, but must not be null.

Returns:
The List of attributes for this Dossier.


Copyright © 2009. All Rights Reserved.