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:gov.nih.nci.firebird.data.BoardCertifiedSpecialty.java

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

From source file:org.projectforge.address.AddressDO.java

@Enumerated(EnumType.STRING)
@Column(name = "address_status", length = 20, nullable = false)
public AddressStatus getAddressStatus() {
    return addressStatus;
}

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

@Enumerated(EnumType.STRING)
public StudyDataEntryStatus getDataEntryStatus() {
    return dataEntryStatus;
}

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

@Enumerated(EnumType.STRING)
public StudyCategory getCategory() {
    return category;
}

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

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

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

@Enumerated(EnumType.STRING)
@NotNull
@Override
public CertificateType getCertificateType() {
    return certificateType;
}

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

@Enumerated(EnumType.STRING)
public StudySponsorType getSponsorType() {
    return sponsorType;
}

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

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

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

@Enumerated(EnumType.STRING)
public StatusType getStatusCode() {
    return statusCode;
}

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

@Column(name = "product_type", nullable = false)
@Enumerated(EnumType.STRING)
public ProductType getProductType() {
    return productType;
}