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:mx.ecosur.multigame.manantiales.entity.ManantialesFicha.java

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

From source file:mx.ecosur.multigame.grid.entity.GridPlayer.java

@Enumerated(EnumType.STRING)
public Color getColor() {
    return color;
}

From source file:com.sentinel.persistence.models.UserRequest.java

/**
 * @param requestDetails the requestDetails to set
 *///from w ww  .j  a  v a 2 s.c  o m
@Enumerated(EnumType.STRING)
public void setRequestDetails(String requestDetails) {
    this.requestDetails = requestDetails;
}

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

@Override
@Enumerated(EnumType.STRING)
public MedicationRuleEnum getRule() {
    return rule;
}

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

@Override
@Enumerated(EnumType.STRING)
public MedicationOrderFormType getMedicationOrderFormType() {
    return medicationOrderFormType;
}

From source file:mx.ecosur.multigame.manantiales.entity.ManantialesMove.java

@Enumerated(EnumType.STRING)
public TokenType getType() {
    if (getDestinationCell() == null)
        type = TokenType.UNKNOWN;
    else {//from   w  w  w  .  j a  v  a 2 s .co  m
        ManantialesFicha destination = (ManantialesFicha) getDestinationCell();
        type = destination.getType();
    }

    return type;
}

From source file:mx.ecosur.multigame.gente.entity.GenteStrategyAgent.java

@Enumerated(EnumType.STRING)
public GenteStrategy getStrategy() {
    return strategy;
}

From source file:mx.ecosur.multigame.manantiales.entity.PuzzleSuggestion.java

@Enumerated(EnumType.STRING)
public SuggestionStatus getStatus() {
    return status;
}

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

@Override
@Enumerated(EnumType.STRING)
public DoseFormType getDoseFormType() {
    return doseFormType;
}

From source file:de.iew.framework.domain.security.WebResourceAccessRule.java

/**
 * Gets rule discriminator.//from w  w  w . j a va 2  s  .  com
 *
 * @return the rule discriminator
 */
@Column(name = "ruleDiscriminator", length = 255, nullable = false)
@Enumerated(EnumType.STRING)
public Discriminator getRuleDiscriminator() {
    return ruleDiscriminator;
}