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.projectforge.business.fibu.KontoDO.java

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

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

/**
 * Gets the epoch type.
 * 
 * @return the epoch type
 */
@Enumerated(EnumType.STRING)
public EpochType getType() {
    return type;
}

From source file:org.opencustomer.db.vo.calendar.CalendarVO.java

@Column(name = "access_global")
@Enumerated(EnumType.STRING)
public Access getAccessGlobal() {
    return accessGlobal;
}

From source file:example.app.model.Person.java

@Enumerated(EnumType.STRING)
public Gender getGender() {
    return gender;
}

From source file:org.opencustomer.db.vo.crm.JobVO.java

@Column(name = "status")
@Enumerated(EnumType.STRING)
public Status getStatus() {
    return status;
}

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

/**
 * Typ der Nachricht
 * 
 * @return type
 */
@Column(nullable = false, length = LENGTH_ENUM)
@Enumerated(value = EnumType.STRING)
public EnumNewsType getType() {
    return type;
}

From source file:com.hmsinc.epicenter.model.permission.AuditEvent.java

/**
 * @return the type/*from   ww w. j a  v  a  2s.c  o m*/
 */
@Column(name = "TYPE", unique = false, nullable = false, insertable = true, updatable = true, length = 40)
@Enumerated(EnumType.STRING)
public AuditEventType getType() {
    return type;
}

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

/**
 * Aktueller Kontostatus//  www  .  j  av  a2  s . c  o  m
 * 
 * @return accountStatus
 */
@Column(nullable = true, length = LENGTH_ENUM)
@Enumerated(value = EnumType.STRING)
public EnumAccountStatus getAccountStatus() {
    return accountStatus;
}

From source file:org.opencustomer.db.vo.crm.ContactVO.java

@Column(name = "content_type")
@Enumerated(EnumType.STRING)
public ContentType getContentType() {
    return contentType;
}

From source file:org.opencustomer.db.vo.crm.PersonVO.java

@Column(name = "gender")
@Enumerated(EnumType.STRING)
public Gender getGender() {
    return gender;
}