package de.ids_mannheim.korap.constant;

import de.ids_mannheim.korap.entity.VirtualCorpus;

/** Defines types of {@link VirtualCorpus} 
 * 
 * @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();

    }
}
