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:ru.runa.wfe.execution.Token.java

@Column(name = "NODE_TYPE", length = 1024)
@Enumerated(EnumType.STRING)
public NodeType getNodeType() {
    return nodeType;
}

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

@Enumerated(EnumType.STRING)
@Column(name = "art", length = 30)
public AuftragsPositionsArt getArt() {
    return art;
}

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

/**
 * @return the location/*from w w  w  .  j  ava 2  s  .co m*/
 */
@Enumerated(EnumType.STRING)
@Column(name = "LOCATION", unique = false, nullable = false, insertable = true, updatable = true, length = 100)
public AnalysisLocation getLocation() {
    return location;
}

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

@Column(name = "type", nullable = false, columnDefinition = "VARCHAR(18)")
@org.hibernate.annotations.Index(name = "IDX_TYPE")
@Enumerated(EnumType.STRING)
public RelationshipType getType() {
    return type;/*from  w w w. j  a  v a2s . co  m*/
}

From source file:ru.runa.wfe.execution.Process.java

@Column(name = "EXECUTION_STATUS", nullable = false)
@Enumerated(EnumType.STRING)
public ExecutionStatus getExecutionStatus() {
    return executionStatus;
}

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

@Enumerated(EnumType.STRING)
public AmendmentType getAmendmentType() {
    return amendmentType;
}

From source file:org.orcid.persistence.jpa.entities.ProfileEntity.java

@Basic
@Enumerated(EnumType.STRING)
@Column(name = "orcid_type")
public OrcidType getOrcidType() {
    return orcidType;
}

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

/**
 * @return the Type of the Primary Organization
 *///from  ww w. j  av  a 2s.  c  om
@Column(name = "primary_organization_type")
@Enumerated(EnumType.STRING)
@NotNull
public PrimaryOrganizationType getType() {
    return type;
}

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

@Enumerated(EnumType.STRING)
@Column(length = 4000)
public String getDescription() {
    return description;
}

From source file:org.orcid.persistence.jpa.entities.ProfileEntity.java

@Basic
@Enumerated(EnumType.STRING)
@Column(name = "group_type")
public MemberType getGroupType() {
    return groupType;
}