List of usage examples for javax.persistence EnumType STRING
EnumType STRING
To view the source code for javax.persistence EnumType STRING.
Click Source Link
From source file:org.projectforge.business.fibu.AuftragsPositionDO.java
@Enumerated(EnumType.STRING) @Column(name = "mode_of_payment_type", length = 13) public ModeOfPaymentType getModeOfPaymentType() { return modeOfPaymentType; }
From source file:org.opennms.netmgt.model.OnmsNode.java
/** * Flag indicating status of node/*ww w .j av a 2 s. c om*/ * - 'A' - active * - 'D' - deleted * * TODO: Eventually this will be deprecated and deleted nodes will actually be deleted. * * @return a {@link String} object. */ @XmlAttribute(name = "type") @Column(name = "nodeType", length = 1) @Enumerated(EnumType.STRING) @XmlJavaTypeAdapter(NodeTypeXmlAdapter.class) public NodeType getType() { return m_type; }
From source file:com.netxforge.oss2.model.OnmsLinkState.java
/** * <p>getLinkState</p>/*from w w w. ja v a 2 s . c o m*/ * * @return a {@link org.opennms.netmgt.model.OnmsLinkState.LinkState} object. */ @Enumerated(EnumType.STRING) @Column(name = "linkstate", length = 24, nullable = false) public LinkState getLinkState() { return m_linkState; }
From source file:gov.nih.nci.firebird.data.Protocol.java
/** * @return the trial phase. */ @Enumerated(EnumType.STRING) @Column(length = ProtocolPhase.MAX_LENGTH) @NotNull public ProtocolPhase getPhase() { return phase; }
From source file:org.emonocot.model.registry.Resource.java
@Enumerated(value = EnumType.STRING) public SchedulingPeriod getSchedulingPeriod() { return schedulingPeriod; }
From source file:org.projectforge.business.task.TaskDO.java
@Enumerated(EnumType.STRING) @Column(name = "timesheet_booking_status", length = 20, nullable = false) public TimesheetBookingStatus getTimesheetBookingStatus() { if (timesheetBookingStatus == null) { return TimesheetBookingStatus.DEFAULT; } else {/* w w w.j a v a2 s . c om*/ return timesheetBookingStatus; } }
From source file:com.syncnapsis.data.model.User.java
/** * Spieleinstellung: Datumsformat/* w w w . j a v a 2 s . c o m*/ * * @return dateFormat */ @Column(length = LENGTH_ENUM) @Enumerated(value = EnumType.STRING) public EnumDateFormat getDateFormat() { return dateFormat; }
From source file:com.fiveamsolutions.nci.commons.data.security.AbstractUser.java
/** * @return the previous status// w ww .j a va2 s . c om */ @Enumerated(value = EnumType.STRING) @Column(name = "status", updatable = false, insertable = false, nullable = false) public AccountStatus getPreviousStatus() { return previousStatus; }
From source file:edu.duke.cabig.c3pr.domain.PlannedNotification.java
/** * Gets the frequency. * * @return the frequency */ @Enumerated(EnumType.STRING) public NotificationFrequencyEnum getFrequency() { return frequency; }
From source file:edu.duke.cabig.c3pr.domain.PlannedNotification.java
/** * Gets the delivery mechanism.//from w w w . j a va 2 s . c o m * * @return the delivery mechanism */ @Enumerated(EnumType.STRING) public DeliveryMechanismEnum getDeliveryMechanism() { return deliveryMechanism; }