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:org.projectforge.business.fibu.kost.BuchungssatzDO.java

@Enumerated(EnumType.STRING)
@Column(length = 7, nullable = false)
public SHType getSh() {
    return sh;
}

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

@Column(name = "person_user_type")
@Enumerated(EnumType.STRING)
public PersonUserType getPersonUserType() {
    return personUserType;
}

From source file:org.projectforge.business.fibu.AuftragDO.java

@Enumerated(EnumType.STRING)
@Column(name = "status", length = 30)
public AuftragsStatus getAuftragsStatus() {
    return auftragsStatus;
}

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

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

From source file:org.projectforge.business.fibu.AuftragsPositionDO.java

@Enumerated(EnumType.STRING)
@Column(name = "period_of_performance_type", length = 10)
public PeriodOfPerformanceType getPeriodOfPerformanceType() {
    return periodOfPerformanceType;
}

From source file:gov.nih.nci.firebird.data.AbstractRegistrationForm.java

/**
 * @return form status
 */
@Enumerated(EnumType.STRING)
@Column(name = "form_status")
public FormStatus getFormStatus() {
    return formStatus;
}

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

@Column(name = "recurrence_type")
@Enumerated(EnumType.STRING)
public RecurrenceType getRecurrenceType() {
    return recurrenceType;
}

From source file:org.projectforge.business.task.TaskDO.java

@Enumerated(EnumType.STRING)
@Column(length = STATUS_LENGTH)
public TaskStatus getStatus() {
    return status;
}

From source file:gov.nih.nci.firebird.data.AbstractRegistration.java

/**
 * @return the status/*from w w w. ja v a 2 s  .c  o  m*/
 */
@NotNull
@Enumerated(EnumType.STRING)
@Column(length = RegistrationStatus.MAX_LENGTH)
@Index(name = "registration_status_index")
public RegistrationStatus getStatus() {
    return status;
}

From source file:com.syncnapsis.data.model.User.java

/**
 * Optionale Benutzerinformation: Geschlecht
 * /*from w ww  . ja  v a  2s  .c o  m*/
 * @return gender
 */
@Column(nullable = true, length = LENGTH_ENUM)
@Enumerated(value = EnumType.STRING)
public EnumGender getGender() {
    return gender;
}