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:edu.duke.cabig.c3pr.domain.Study.java

@Enumerated(EnumType.STRING)
public NCIRecognizedProgramName getNciRecognizedProgramName() {
    return nciRecognizedProgramName;
}

From source file:org.opennms.netmgt.model.DataLinkInterface.java

@Enumerated(EnumType.STRING)
@XmlElement(name = "protocol")
@Column(name = "protocol", length = 31, nullable = true)
public DiscoveryProtocol getProtocol() {
    return m_protocol;
}

From source file:org.tonguetied.keywordmanagement.Translation.java

/**
 * @return the flag indicating if the workflow state of this Translation
 *///from w w  w  .  jav a  2s.com
@Column(nullable = false, length = 10)
@Enumerated(EnumType.STRING)
public TranslationState getState() {
    return state;
}

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

/**
 * @return the status
 */
@Enumerated(value = EnumType.STRING)
public BatchStatus getStatus() {
    return status;
}

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

@Enumerated(EnumType.STRING)
@Column(name = "contact_status", length = 20, nullable = false)
public ContactStatus getContactStatus() {
    return contactStatus;
}

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

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

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

/**
 * @return the Type of the Practice Site
 *//*  w w  w.  j  av a2  s.com*/
@Column(name = "practice_site_type")
@Enumerated(EnumType.STRING)
@NotNull
public PracticeSiteType getType() {
    return type;
}

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

@Enumerated(EnumType.STRING)
public StatusType getVersionStatus() {
    return versionStatus;
}

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

/**
 * @return the status
 */
@Enumerated(EnumType.STRING)
public Status getStatus() {
    return status;
}

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

/**
 * Gets the sc epoch data entry status.//  w  w w. jav  a 2  s . c  o  m
 * 
 * @return the sc epoch data entry status
 */
@Enumerated(EnumType.STRING)
public ScheduledEpochDataEntryStatus getScEpochDataEntryStatus() {
    return scEpochDataEntryStatus;
}