Example usage for javax.persistence TemporalType TIMESTAMP

List of usage examples for javax.persistence TemporalType TIMESTAMP

Introduction

In this page you can find the example usage for javax.persistence TemporalType TIMESTAMP.

Prototype

TemporalType TIMESTAMP

To view the source code for javax.persistence TemporalType TIMESTAMP.

Click Source Link

Document

Map as java.sql.Timestamp

Usage

From source file:org.opennms.netmgt.model.OnmsSnmpInterface.java

/**
 * <p>getLastCapsdPoll</p>//from www. ja  v a 2s  .c o m
 *
 * @return a {@link java.util.Date} object.
 */
@Temporal(TemporalType.TIMESTAMP)
@Column(name = "snmpLastCapsdPoll")
public Date getLastCapsdPoll() {
    return m_lastCapsdPoll;
}

From source file:com.fiveamsolutions.nci.commons.data.security.AbstractUser.java

/**
 * @return the passwordExpirationDate//from www  .j a va 2 s .c o m
 */
@Temporal(TemporalType.TIMESTAMP)
@Column(name = "password_expiration_date")
public Date getPasswordExpirationDate() {
    return passwordExpirationDate;
}

From source file:gov.nih.nci.firebird.data.user.ManagedInvestigator.java

/**
 * @return the date the coordinator requested the role.
 */// w  ww  .j  a v  a2  s .co  m
@Temporal(TemporalType.TIMESTAMP)
@Column(name = "create_date", nullable = false)
public Date getCreateDate() {
    return createDate;
}

From source file:org.opennms.netmgt.model.OnmsSnmpInterface.java

/**
 * <p>getLastSnmpPoll</p>//from  w  ww . j a  va 2  s  .c  o  m
 *
 * @return a {@link java.util.Date} object.
 */
@Temporal(TemporalType.TIMESTAMP)
@Column(name = "snmpLastSnmpPoll")
public Date getLastSnmpPoll() {
    return m_lastSnmpPoll;
}

From source file:gov.nih.nci.firebird.data.AbstractRegistration.java

/**
 * @return the status date./*from w w  w. j a  v  a2s  .  c om*/
 */
@NotNull
@Column(name = "status_date")
@Temporal(TemporalType.TIMESTAMP)
public Date getStatusDate() {
    return statusDate;
}

From source file:gov.nih.nci.firebird.data.AbstractRegistration.java

/**
 * @return the status date./*ww  w.  j a  va 2  s .com*/
 */
@Column(name = "last_submission_date")
@Temporal(TemporalType.TIMESTAMP)
public Date getLastSubmissionDate() {
    return lastSubmissionDate;
}

From source file:com.zl.bgec.basicapi.shop.po.Shop.java

@Temporal(TemporalType.TIMESTAMP)
@Column(name = "begin_time")
public Date getBeginTime() {
    return beginTime;
}

From source file:com.zl.bgec.basicapi.shop.po.Shop.java

@Temporal(TemporalType.TIMESTAMP)
@Column(name = "end_time")
public Date getEndTime() {
    return endTime;
}

From source file:gov.nih.nci.firebird.data.AbstractRegistration.java

/**
 * @return if this registration has been approved then the date this registration was approved, otherwise null
 *///from   w  ww .ja  v  a2s  .co  m
@Column(name = "approval_date")
@Temporal(TemporalType.TIMESTAMP)
public Date getApprovalDate() {
    return approvalDate;
}

From source file:com.impetus.ankush.common.domain.User.java

/**
 * Gets the creation date./*  w  w w.jav a2  s.  c o m*/
 *
 * @return the creation date
 */
@JsonIgnore
@Column(updatable = false)
@Temporal(TemporalType.TIMESTAMP)
public Date getCreationDate() {
    return creationDate;
}