Java Code Examples for javax.persistence.EnumType#STRING
The following examples show how to use
javax.persistence.EnumType#STRING .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: VoteDataDto.java From cia with Apache License 2.0 | 5 votes |
/** * Gets the vote. * * @return the vote */ @Basic @Column(name = "VOTE") @Enumerated(EnumType.STRING) public VoteDecision getVote() { return vote; }
Example 2
Source File: PersonElement.java From cia with Apache License 2.0 | 5 votes |
/** * Gets the status. * * @return the status */ @Basic @Column(name = "STATUS") @Enumerated(EnumType.STRING) public RoleStatus getStatus() { return status; }
Example 3
Source File: VoteDataDto.java From cia with Apache License 2.0 | 5 votes |
/** * Gets the concern. * * @return the concern */ @Basic @Column(name = "CONCERN") @Enumerated(EnumType.STRING) public VoteIssueType getConcern() { return concern; }
Example 4
Source File: AccessRule.java From authlib-agent with MIT License | 4 votes |
@XmlElement @Column(nullable = false) @Enumerated(EnumType.STRING) public AccessPolicy getPolicy() { return policy; }
Example 5
Source File: AwardCategory.java From pikatimer with GNU General Public License v3.0 | 4 votes |
@Enumerated(EnumType.STRING) @Column(name="depth_type") public AwardDepthType getDepthType(){ return depthTypeProperty.getValue(); }
Example 6
Source File: Kost2DO.java From projectforge-webapp with GNU General Public License v3.0 | 4 votes |
@Enumerated(EnumType.STRING) @Column(length = 30) public KostentraegerStatus getKostentraegerStatus() { return kostentraegerStatus; }
Example 7
Source File: PublisherPaymentRequest.java From website with GNU Affero General Public License v3.0 | 4 votes |
@Column(nullable = false) @Enumerated(EnumType.STRING) public PublisherPaymentRequestStatus getStatus() { return status; }
Example 8
Source File: AddressDO.java From projectforge-webapp with GNU General Public License v3.0 | 4 votes |
@Enumerated(EnumType.STRING) @Column(name = "form", length = 10) public FormOfAddress getForm() { return form; }
Example 9
Source File: ToDoDO.java From projectforge-webapp with GNU General Public License v3.0 | 4 votes |
@Enumerated(EnumType.STRING) @Column(length = 20) public Priority getPriority() { return priority; }
Example 10
Source File: Preview.java From website with GNU Affero General Public License v3.0 | 4 votes |
@Column(nullable = false) @Enumerated(EnumType.STRING) public PageLayout getLayout() { return layout; }
Example 11
Source File: ProjectSource.java From uyuni with GNU General Public License v2.0 | 4 votes |
/** * Gets the state. * * @return state */ @Enumerated(EnumType.STRING) @Column public State getState() { return state; }
Example 12
Source File: Funcionario.java From ponto-inteligente-api with MIT License | 4 votes |
@Enumerated(EnumType.STRING) @Column(name = "perfil", nullable = false) public PerfilEnum getPerfil() { return perfil; }
Example 13
Source File: AuftragsPositionDO.java From projectforge-webapp with GNU General Public License v3.0 | 4 votes |
@Enumerated(EnumType.STRING) @Column(name = "mode_of_payment_type", length = 13) public ModeOfPaymentType getModeOfPaymentType() { return modeOfPaymentType; }
Example 14
Source File: HRPlanningEntryDO.java From projectforge-webapp with GNU General Public License v3.0 | 4 votes |
@Enumerated(EnumType.STRING) @Column(name = "status", length = 20) public HRPlanningEntryStatus getStatus() { return status; }
Example 15
Source File: ImportItem.java From website with GNU Affero General Public License v3.0 | 4 votes |
@Enumerated(EnumType.STRING) public Health getHealth() { return health; }
Example 16
Source File: PFUserDO.java From projectforge-webapp with GNU General Public License v3.0 | 4 votes |
@Enumerated(EnumType.STRING) @Column(name = "time_notation", length = 6) public TimeNotation getTimeNotation() { return timeNotation; }
Example 17
Source File: RaceReport.java From pikatimer with GNU General Public License v3.0 | 4 votes |
@Enumerated(EnumType.STRING) @Column(name="output_type") public ReportTypes getReportType() { return reportType; }
Example 18
Source File: EnvironmentTarget.java From uyuni with GNU General Public License v2.0 | 4 votes |
/** * Gets the status. * * @return status */ @Column @Enumerated(EnumType.STRING) public Status getStatus() { return status; }
Example 19
Source File: ApplicationActionEvent.java From cia with Apache License 2.0 | 3 votes |
/** * Gets the value of the eventGroup property. * * @return * possible object is * {@link ApplicationEventGroup } * */ @Basic @Column(name = "EVENT_GROUP") @Enumerated(EnumType.STRING) public ApplicationEventGroup getEventGroup() { return eventGroup; }
Example 20
Source File: UserAccount.java From cia with Apache License 2.0 | 3 votes |
/** * Gets the value of the userRole property. * * @return * possible object is * {@link UserRole } * */ @Basic @Column(name = "USER_ROLE") @Enumerated(EnumType.STRING) public UserRole getUserRole() { return userRole; }