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.AddressVO.java

@Column(name = "address_type")
@Enumerated(EnumType.STRING)
public Type getType() {
    return type;
}

From source file:no.abmu.questionnaire.domain.data.TheftOrTheftAttemptFieldData.java

@Enumerated(EnumType.STRING)
@Column(name = "enumValue")
public TheftOrTheftAttempt getTheftOrTheftAttemptValue() {
    return theftOrTheftAttemptValue;
}

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

/**
 * @return the type/*w w w  . ja  va  2 s . c  om*/
 */
@Enumerated(EnumType.STRING)
@Column(name = "TYPE", unique = false, nullable = false, insertable = true, updatable = true)
public AuthorizedRegionType getType() {
    return type;
}

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

@Column(nullable = false)
@Enumerated(EnumType.STRING)
public State getState() {
    return state;
}

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

/**
 * Die Sprache in der diese sprachvariante der Nachricht verfasst ist.
 * /*from w  w  w  .j a v  a  2s . c  om*/
 * @return locale
 */
@Column(nullable = false, length = LENGTH_ENUM)
@Enumerated(value = EnumType.STRING)
public EnumLocale getLocale() {
    return locale;
}

From source file:com.marand.thinkmed.medications.model.impl.MedicationRouteLinkImpl.java

@Override
@Enumerated(EnumType.STRING)
public BnfMaximumUnitType getBnfMaximumUnitType() {
    return bnfMaximumUnitType;
}

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

@Column(name = "access_user")
@Enumerated(EnumType.STRING)
public Access getAccessUser() {
    return accessUser;
}

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

@Column(name = "contact_type")
@Enumerated(EnumType.STRING)
public ContactType getContactType() {
    return contactType;
}

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

@Enumerated(value = EnumType.STRING)
public AnnotationType getType() {
    return type;
}

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

/**
 * @return the paymentType/*  w ww. j av a2s.co m*/
 */
@Enumerated(EnumType.STRING)
@Column(length = 20, name = "payment_type")
public PaymentType getPaymentType() {
    return paymentType;
}