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:com.amediamanager.domain.Video.java

@Column
@Enumerated(EnumType.STRING)
public Privacy getPrivacy() {
    return privacy;
}

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

@Override
@Enumerated(EnumType.STRING)
public TherapyTemplateTypeEnum getType() {
    return type;
}

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

@Enumerated(EnumType.STRING)
@Column(name = "enumValue")
public DiscoveryOfFire getDiscoveryOfFireValue() {
    return discoveryOfFire;
}

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

@Enumerated(EnumType.STRING)
@Column(name = "enumValue")
public WhoExtinguished getWhoExtinguishedValue() {
    return whoExtinguishedValue;
}

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

@Enumerated(EnumType.STRING)
@Column(name = "enumValue")
public ExtinguishMethod getExtinguishMethodValue() {
    return extinguishMethodValue;
}

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

@Enumerated(EnumType.STRING)
@Column(name = "enumValue")
public YesNoPartly getYesNoPartlyValue() {
    return yesNoPartlyValue;
}

From source file:org.tonguetied.usermanagement.UserRight.java

/**
 * @return the permission
 */
@Column(nullable = false, length = 13)
@Enumerated(EnumType.STRING)
public Permission getPermission() {
    return permission;
}

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

@Column(name = "participiant_type")
@Enumerated(EnumType.STRING)
public ParticipiantType getParticipiantType() {
    return participiantType;
}

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

@Override
@Enumerated(EnumType.STRING)
public TherapyTemplateModeEnum getTemplateMode() {
    return templateMode;
}

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

@Enumerated(EnumType.STRING)
@Column(name = "enumValue")
public MuseumHovedOmraade getMuseumHovedOmraadeValue() {
    //        logger.debug("getMuseumHovedOmraadeValue");
    return museumHovedOmraade;
}