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:uk.nhs.cfh.dsp.snomed.objectmodel.impl.SnomedConceptImpl.java

@Enumerated(value = EnumType.STRING)
@org.hibernate.annotations.Index(name = "IDX_CONCEPT_TYPE")
@Column(name = "concept_type")
public ConceptType getType() {
    return type;// w ww  . ja  v  a2s.  co  m
}

From source file:de.micromata.genome.db.jpa.genomecore.chronos.JpaTriggerJobDO.java

@Enumerated(EnumType.STRING)
@Column(name = "STATE")
public State getState() {
    return state;
}

From source file:com.cubeia.backoffice.users.entity.User.java

@Enumerated(EnumType.STRING)
public UserType getUserType() {
    return userType;
}

From source file:org.emonocot.model.registry.Resource.java

/**
 * @return the jobType
 */
@NotNull
@Enumerated(value = EnumType.STRING)
public ResourceType getResourceType() {
    return resourceType;
}

From source file:com.hmsinc.epicenter.model.workflow.WorkflowState.java

/**
 * @return the type/*from w ww .  j a  v  a 2s  .  c  om*/
 */
@Enumerated(EnumType.STRING)
@Column(name = "TYPE", unique = false, nullable = false, insertable = true, updatable = true)
public WorkflowStateType getStateType() {
    return stateType;
}

From source file:uk.nhs.cfh.dsp.snomed.objectmodel.impl.SnomedRelationshipImpl.java

@Column(name = "refinability", nullable = false, columnDefinition = "VARCHAR(18)")
@org.hibernate.annotations.Index(name = "IDX_REFINABILITY")
@Enumerated(EnumType.STRING)
public Refinability getRefinability() {
    return refinability;
}

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

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

From source file:org.projectforge.business.teamcal.event.model.TeamEventAttendeeDO.java

/**
 * @return the status
 */
@Enumerated(EnumType.STRING)
@Column(length = 100)
public TeamEventAttendeeStatus getStatus() {
    return status;
}

From source file:com.marand.thinkmed.medications.model.impl.MedicationImpl.java

@Override
@Enumerated(EnumType.STRING)
public MedicationLevelEnum getMedicationLevel() {
    return medicationLevel;
}

From source file:com.hmsinc.epicenter.model.surveillance.SurveillanceTask.java

/**
 * @return the aggregateType/*from  w ww.  j a va  2  s. c o  m*/
 */
@Column(name = "AGGREGATE_TYPE", unique = false, nullable = false, insertable = true, updatable = true, length = 100)
@Enumerated(EnumType.STRING)
public GeographyType getAggregateType() {
    return aggregateType;
}