Class ProcessedDocument
java.lang.Object
es.uvigo.esei.sing.textproc.entity.ProcessedDocument
- Direct Known Subclasses:
ProcessedDocumentWithTitle
@MappedSuperclass public abstract class ProcessedDocument extends java.lang.Object
Represents the common contract to all processed documents
Non-abstract subclasses of this class must define a public constructor with a
single Integer
parameter (the primitive type is not allowed), which
is the primary key of the entity, that must initialize any other field to
dummy values.
They also must define a protected no-argument constructor for JPA.
- Author:
- Alejandro González García
-
Constructor Summary
Constructors Modifier Constructor Description protected
ProcessedDocument()
Dummy default constructor, to be used by JPA only. -
Method Summary
Modifier and Type Method Description java.lang.String
toString()
-
Constructor Details
-
ProcessedDocument
protected ProcessedDocument()Dummy default constructor, to be used by JPA only.
-
-
Method Details
-
toString
- Overrides:
toString
in classjava.lang.Object
-