Finished Javadoc Auther-entries for database, work in progress
This commit is contained in:
parent
fba66751e5
commit
f70165a924
8 changed files with 22 additions and 1 deletions
|
@ -11,6 +11,9 @@ import java.util.HashMap;
|
|||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* Datei implementiert von Valentin
|
||||
*/
|
||||
public class BiographicalInformation_MongoDB_Impl extends BiografischeAngaben implements MongoOperations<BiografischeAngaben> {
|
||||
@Override
|
||||
public Document createEntity(BiografischeAngaben entity) {
|
||||
|
|
|
@ -10,6 +10,9 @@ import java.util.HashMap;
|
|||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* Datei implementiert von Valentin
|
||||
*/
|
||||
public class Institution_MongoDB_Impl extends Institution implements MongoOperations<Institution> {
|
||||
@Override
|
||||
public Document createEntity(Institution entity) {
|
||||
|
|
|
@ -11,6 +11,9 @@ import java.util.HashMap;
|
|||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* Datei implementiert von Valentin
|
||||
*/
|
||||
public class LegislativePeriod_MongoDB_Impl extends Wahlperiode implements MongoOperations<Wahlperiode> {
|
||||
@Override
|
||||
public Document createEntity(Wahlperiode entity) {
|
||||
|
|
|
@ -10,6 +10,9 @@ import java.util.HashMap;
|
|||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* Datei implementiert von Valentin
|
||||
*/
|
||||
public class MdbName_MongoDB_Impl extends MdbName implements MongoOperations<MdbName> {
|
||||
@Override
|
||||
public Document createEntity(MdbName entity) {
|
||||
|
|
|
@ -11,6 +11,9 @@ import java.util.ArrayList;
|
|||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* Datei implementiert von Valentin
|
||||
*/
|
||||
public class Mdb_MongoDB_Impl extends Mdb implements MongoOperations<Mdb> {
|
||||
@Override
|
||||
public Document createEntity(Mdb entity) {
|
||||
|
|
|
@ -10,6 +10,9 @@ import java.util.HashMap;
|
|||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* Datei implementiert von Valentin
|
||||
*/
|
||||
public class Membership_MongoDB_Impl extends Membership implements MongoOperations<Membership> {
|
||||
@Override
|
||||
public Document createEntity(Membership entity) {
|
||||
|
|
|
@ -17,6 +17,10 @@ import java.util.*;
|
|||
import static org.texttechnologylab.project.gruppe_05_1.Main.TEMP_EXPORT_DIR;
|
||||
import static org.texttechnologylab.project.gruppe_05_1.database.MongoPprUtils.getMemberPhoto;
|
||||
|
||||
/**
|
||||
* Datei implementiert von Valentin
|
||||
* Datei modifiziert von Jonas
|
||||
*/
|
||||
public class Speaker_MongoDB_Impl extends Speaker implements MongoOperations<Speaker> {
|
||||
public Speaker_MongoDB_Impl createSpeakerMongoDBImpl(Document mongoDocument) {
|
||||
this.setId(mongoDocument.getString("_id"));
|
||||
|
|
|
@ -72,7 +72,6 @@ public class Speech_MongoDB_Impl extends Speech_File_Impl implements Speech {
|
|||
return fullText.toString().trim();
|
||||
}
|
||||
|
||||
//TODO not going fuckin insane
|
||||
public JCas toCas() throws UIMAException {
|
||||
JCas jCas = JCasFactory.createJCas();
|
||||
jCas.setDocumentText(this.getFullText());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue