package org.xcolab.portlets.contestmanagement.entities;

/**
 * Created by Thomas on 2/17/2015.
 */
public enum SectionTypes {
    TEXT_SECTION("", "Text section"),
    //"IMAGE_SECTOR("IMAGE", "Image section"),
    INLINE_PROPOSAL_REFERENCE("PROPOSAL_REFERENCE", "Inline proposal reference"),
    EXPLICIT_SINGLE_PROPOSAL_REFERENCE("PROPOSAL_LIST_REFERENCE ", "Explicit single proposal reference"),
    PROPOSAL_LIST_TEXT_REFERENCE("PROPOSAL_LIST_TEXT_REFERENCE ", "Explicit multi proposal reference"),
    ONTOLOGY_REFERENCE("ONTOLOGY_REFERENCE", "Ontology reference");

    private final String displayName;
    private final String sectionType;

    private SectionTypes(String sectionType, String displayName) {
        this.sectionType = sectionType;
        this.displayName = displayName;
    }

    public String getDisplayName() {
        return displayName;
    }

    public String getSectionType() {
        return sectionType;
    }
}

@@ -342,33 +342,32 @@
 L_LIST_REFERENCE
- 
 %22, %22Explicit sin
@@ -454,17 +454,16 @@
 EFERENCE
- 
 %22, %22Expl

fix string character bug in contestmanagement portlet