// Path: src/main/java/de/ids_mannheim/korap/query/object/KoralObject.java
// public interface KoralObject {
// 
//     /** Serializes the KoralObject into JSON-LD and structures it as a map.  
//      * 
//      * @return a map containing parts of the JSON-LD serialization of the Koral object.
//      */
//     public Map<String, Object> buildMap();
// }
// 
// Path: src/main/java/de/ids_mannheim/korap/query/object/KoralType.java
// public enum KoralType {
//     TERMGROUP("koral:termGroup"), TERM("koral:term"), TOKEN("koral:token"), 
//     SPAN("koral:span"), GROUP("koral:group"), BOUNDARY("koral:boundary"), 
//     RELATION("koral:relation"), DISTANCE("koral:distance"), REFERENCE(
//     "koral:reference"), DOCUMENT("koral:doc"), DOCUMENT_GROUP("koral:docGroup"),
//     DOCUMENT_GROUP_REF("koral:docGroupRef"),
//     QUERY_REF("koral:queryRef"),
//     COSMAS_DISTANCE("cosmas:distance");
// 
//     String value;
// 
// 
//     KoralType (String value) {
//         this.value = value;
//     }
// 
// 
//     @Override
//     public String toString () {
//         return value;
//     }
// }


import java.util.LinkedHashMap;
import java.util.Map;
import de.ids_mannheim.korap.query.object.KoralObject;
import de.ids_mannheim.korap.query.object.KoralType;
package de.ids_mannheim.korap.query.object;



/** Definition of koral:token in KoralQuery.
 * 
 * @author margaretha
 * 
 */
public class KoralToken implements KoralObject {

    private final static KoralType type = KoralType.TOKEN;
    private KoralObject wrappedObject;

    public KoralToken () {}
    
    public KoralToken (KoralObject wrappedObject) {
        this.wrappedObject = wrappedObject;
    }

// Path: src/main/java/de/ids_mannheim/korap/query/object/KoralObject.java
// public interface KoralObject {
// 
//     /** Serializes the KoralObject into JSON-LD and structures it as a map.  
//      * 
//      * @return a map containing parts of the JSON-LD serialization of the Koral object.
//      */
//     public Map<String, Object> buildMap();
// }
// 
// Path: src/main/java/de/ids_mannheim/korap/query/object/KoralType.java
// public enum KoralType {
//     TERMGROUP("koral:termGroup"), TERM("koral:term"), TOKEN("koral:token"), 
//     SPAN("koral:span"), GROUP("koral:group"), BOUNDARY("koral:boundary"), 
//     RELATION("koral:relation"), DISTANCE("koral:distance"), REFERENCE(
//     "koral:reference"), DOCUMENT("koral:doc"), DOCUMENT_GROUP("koral:docGroup"),
//     DOCUMENT_GROUP_REF("koral:docGroupRef"),
//     QUERY_REF("koral:queryRef"),
//     COSMAS_DISTANCE("cosmas:distance");
// 
//     String value;
// 
// 
//     KoralType (String value) {
//         this.value = value;
//     }
// 
// 
//     @Override
//     public String toString () {
//         return value;
//     }
// }


// Path: src/main/java/de/ids_mannheim/korap/query/object/KoralToken.java
import java.util.LinkedHashMap;
import java.util.Map;
import de.ids_mannheim.korap.query.object.KoralObject;
import de.ids_mannheim.korap.query.object.KoralType;

package de.ids_mannheim.korap.query.object;



/** Definition of koral:token in KoralQuery.
 * 
 * @author margaretha
 * 
 */
public class KoralToken implements KoralObject {

    private final static KoralType type = KoralType.TOKEN;
    private KoralObject wrappedObject;

    public KoralToken () {}
    
    public KoralToken (KoralObject wrappedObject) {
        this.wrappedObject = wrappedObject;
    }

    public KoralObject getWrappedObject() {