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.opencustomer.db.vo.crm.ContactVO.java

@Column(name = "import_type")
@Enumerated(EnumType.STRING)
public ImportType getImportType() {
    return importType;
}

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

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

From source file:org.emonocot.model.Annotation.java

@Enumerated(value = EnumType.STRING)
public AnnotationCode getCode() {
    return code;
}

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

/**
 * Spezifizierung des Typs/*  ww w .j  av a2  s . c  om*/
 * 
 * @return type
 */
@Column(nullable = false, length = LENGTH_ENUM)
@Enumerated(value = EnumType.STRING)
public EnumMenuItemType getType() {
    return type;
}

From source file:org.tightblog.domain.WeblogEntryComment.java

@Basic(optional = false)
@Enumerated(EnumType.STRING)
public ApprovalStatus getStatus() {
    return status;
}

From source file:org.emonocot.model.Annotation.java

@Enumerated(value = EnumType.STRING)
public RecordType getRecordType() {
    return recordType;
}

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

/**
 * Spezifizierung des dynamischen Typs// w  w w  . ja  va  2 s.  com
 * 
 * @return dynamicType
 */
@Column(nullable = true, length = LENGTH_ENUM)
@Enumerated(value = EnumType.STRING)
public EnumMenuItemDynamicType getDynamicType() {
    return dynamicType;
}

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

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

From source file:uk.nhs.cfh.dsp.srth.demographics.person.impl.AbstractPerson.java

/**
 * Gets the gender.
 *
 * @return the gender
 */
@Enumerated(value = EnumType.STRING)
public Gender getGender() {
    return gender;
}

From source file:io.cfp.entity.User.java

@Column(name = "tshirt_size")
@Enumerated(EnumType.STRING)
public TshirtSize getTshirtSize() {
    return tshirtSize;
}