blob: 327e0abe7d9b2da21e1864ca6f16414fb1e95b1e [file] [log] [blame]
package de.ids_mannheim.korap.constant;
import de.ids_mannheim.korap.entity.QueryDO;
/**
* Defines types of {@link QueryDO}
*
* @author margaretha
*
*/
/*
* TODO (nd):
* This should probably be renamed to something like RessourceType,
* as QueryReferences will use the same types.
*/
public enum ResourceType {
/**
* available for all
*/
SYSTEM,
//
/**
* available to project group members
*
*/
PROJECT,
/**
* available only for the creator
*/
PRIVATE,
/**
* available for all, but not listed for all
*/
PUBLISHED;
public String displayName () {
return name().toLowerCase();
}
}