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:mx.ecosur.multigame.manantiales.entity.ManantialesMove.java

/**
 * @return the mode
 */
@Enumerated(EnumType.STRING)
public Mode getMode() {
    return mode;
}

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

@Column(name = "first_day_of_week")
@Enumerated(EnumType.STRING)
public DayOfWeek getFirstDayOfWeek() {
    return firstDayOfWeek;
}

From source file:org.opencustomer.db.vo.crm.ContactVO.java

@Column(name = "bound_type")
@Enumerated(EnumType.STRING)
public BoundType getBoundType() {
    return boundType;
}

From source file:com.mycompany.model.Event.java

@Enumerated(EnumType.STRING)
public EventType getEventType() {
    return eventType;
}

From source file:ch.systemsx.cisd.openbis.generic.shared.dto.EventPE.java

@NotNull(message = ValidationMessages.ENTITY_TYPE_NOT_NULL_MESSAGE)
@Column(name = ColumnNames.ENTITY_TYPE)
@Enumerated(EnumType.STRING)
public EntityType getEntityType() {
    return entityType;
}

From source file:gov.nih.nci.cabig.caaers.domain.AdditionalInformationDocument.java

/**
 * Gets the additionalInformationDocumentType
 *
 * @return the additionalInformationDocumentType
 *//* w  w w  .j  a  v a 2s.  co  m*/
@Enumerated(EnumType.STRING)
@Column(name = "document_type")
public AdditionalInformationDocumentType getAdditionalInformationDocumentType() {
    return additionalInformationDocumentType;
}

From source file:org.opencustomer.db.vo.crm.PersonVO.java

@Column(name = "person_type")
@Enumerated(EnumType.STRING)
public Type getType() {
    return type;
}

From source file:no.abmu.questionnaire.domain.data.ReasonOfFireFieldData.java

@Enumerated(EnumType.STRING)
@Column(name = "enumValue")
public ReasonOfFire getReasonOfFireValue() {
    return reasonOfFireValue;
}

From source file:no.abmu.questionnaire.domain.data.FireOrFireStartFieldData.java

@Enumerated(EnumType.STRING)
@Column(name = "enumValue")
public FireOrFireStart getFireOrFireStartValue() {
    return fireOrFireStartValue;
}

From source file:org.opencustomer.db.vo.crm.JobVO.java

@Column(name = "priority")
@Enumerated(EnumType.STRING)
public Priority getPriority() {
    return priority;
}