Example usage for javax.persistence EnumType STRING

List of usage examples for javax.persistence EnumType STRING

Introduction

In this page you can find the example usage for javax.persistence EnumType STRING.

Prototype

EnumType STRING

To view the source code for javax.persistence EnumType STRING.

Click Source Link

Document

Persist enumerated type property or field as a string.

Usage

From source file:edu.duke.cabig.c3pr.domain.ScheduledEpoch.java

/**
 * Gets the sc epoch workflow status./*from  w  w  w .j a va 2 s. c o  m*/
 * 
 * @return the sc epoch workflow status
 */
@Enumerated(EnumType.STRING)
public ScheduledEpochWorkFlowStatus getScEpochWorkflowStatus() {
    return scEpochWorkflowStatus;
}

From source file:gov.nih.nci.firebird.data.user.InvestigatorRole.java

/**
 * @return the current investigator status
 */
@Enumerated(EnumType.STRING)
public InvestigatorStatus getStatus() {
    return status;
}

From source file:com.leatherswan.artisticendeavors.jpa.model.Product.java

@Column(name = "display_type", nullable = false)
@Enumerated(EnumType.STRING)
public ProductDisplayType getDisplayType() {
    return displayType;
}

From source file:org.opencustomer.db.vo.calendar.EventVO.java

@Column(name = "recurrence_in_month")
@Enumerated(EnumType.STRING)
public RecurrenceInMonth getRecurrenceInMonth() {
    return recurrenceInMonth;
}

From source file:org.projectforge.business.humanresources.HRPlanningEntryDO.java

@Enumerated(EnumType.STRING)
@Column(name = "status", length = 20)
public HRPlanningEntryStatus getStatus() {
    return status;
}

From source file:org.projectforge.business.scripting.ScriptDO.java

@Enumerated(EnumType.STRING)
@Column(length = 20)
public ScriptParameterType getParameter3Type() {
    return parameter3Type;
}

From source file:org.projectforge.book.BookDO.java

@Enumerated(EnumType.STRING)
@Column(length = 20, nullable = false)
public BookStatus getStatus() {
    return status;
}

From source file:org.opencustomer.db.vo.calendar.EventVO.java

@Column(name = "recurrence_cycle_unit")
@Enumerated(EnumType.STRING)
public RecurrenceUnit getRecurrenceCycleUnit() {
    return recurrenceCycleUnit;
}

From source file:com.fiveamsolutions.nci.commons.audit.AuditLogRecord.java

/**
 * @return insert or update
 */
@Enumerated(value = EnumType.STRING)
@NotNull
public AuditType getType() {
    return this.type;
}

From source file:org.projectforge.book.BookDO.java

@Enumerated(EnumType.STRING)
@Column(name = "book_type", length = 20, nullable = true)
public BookType getType() {
    return type;
}