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.openhie.openempi.model.IdentifierDomain.java

@Temporal(TemporalType.TIMESTAMP)
@Column(name = "date_created", nullable = false, length = 8)
@XmlElement/*from   w  w  w.  jav  a2s .  co  m*/
public Date getDateCreated() {
    return this.dateCreated;
}

From source file:org.openhie.openempi.model.Key.java

@Temporal(TemporalType.TIMESTAMP)
@Column(name = "date_created", nullable = false, length = 8)
public Date getDateCreated() {
    return this.dateCreated;
}

From source file:org.openhie.openempi.model.Key.java

@Temporal(TemporalType.TIMESTAMP)
@Column(name = "date_voided", length = 8)
public Date getDateVoided() {
    return this.dateVoided;
}

From source file:org.openhie.openempi.model.Person.java

@Temporal(TemporalType.TIMESTAMP)
@Column(name = "date_changed", length = 8)
@XmlElement/*from  www  .j av  a2  s  .  c om*/
public Date getDateChanged() {
    return this.dateChanged;
}

From source file:org.openhie.openempi.model.Person.java

@Temporal(TemporalType.TIMESTAMP)
@Column(name = "date_voided", length = 8)
@XmlElement
public Date getDateVoided() {
    return this.dateVoided;
}

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

@Temporal(TemporalType.TIMESTAMP)
@Column(name = "bridgeBridgeLinkCreateTime", nullable = false)
public Date getBridgeBridgeLinkCreateTime() {
    return m_bridgeBridgeLinkCreateTime;
}

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

@Temporal(TemporalType.TIMESTAMP)
@Column(name = "bridgeBridgeLinkLastPollTime", nullable = false)
public Date getBridgeBridgeLinkLastPollTime() {
    return m_bridgeBridgeLinkLastPollTime;
}

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

@Temporal(TemporalType.TIMESTAMP)
@Column(name = "bridgeNodeCreateTime", nullable = false)
public Date getBridgeNodeCreateTime() {
    return m_bridgeNodeCreateTime;
}

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

@Temporal(TemporalType.TIMESTAMP)
@Column(name = "bridgeNodeLastPollTime", nullable = false)
public Date getBridgeNodeLastPollTime() {
    return m_bridgeNodeLastPollTime;
}

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

@Temporal(TemporalType.TIMESTAMP)
@Column(name = "bridgeMacLinkCreateTime", nullable = false)
public Date getBridgeMacLinkCreateTime() {
    return m_bridgeMacLinkCreateTime;
}