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.BridgeMacLink.java

@Temporal(TemporalType.TIMESTAMP)
@Column(name = "bridgeMacLinkLastPollTime", nullable = false)
public Date getBridgeMacLinkLastPollTime() {
    return m_bridgeMacLinkLastPollTime;
}

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

@Temporal(TemporalType.TIMESTAMP)
@Column(name = "bridgeStpLinkCreateTime", nullable = false)
public Date getBridgeStpLinkCreateTime() {
    return m_bridgeStpLinkCreateTime;
}

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

@Temporal(TemporalType.TIMESTAMP)
@Column(name = "bridgeStpLinkLastPollTime", nullable = false)
public Date getBridgeStpLinkLastPollTime() {
    return m_bridgeStpLinkLastPollTime;
}

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

@Temporal(TemporalType.TIMESTAMP)
@Column(name = "cdpNodeCreateTime", nullable = false)
public Date getCdpNodeCreateTime() {
    return m_cdpNodeCreateTime;
}

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

@Temporal(TemporalType.TIMESTAMP)
@Column(name = "cdpNodeLastPollTime", nullable = false)
public Date getCdpNodeLastPollTime() {
    return m_cdpNodeLastPollTime;
}

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

@Temporal(TemporalType.TIMESTAMP)
@Column(name = "cdpLinkCreateTime", nullable = false)
public Date getCdpLinkCreateTime() {
    return m_cdpLinkCreateTime;
}

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

@Temporal(TemporalType.TIMESTAMP)
@Column(name = "cdpLinkLastPollTime", nullable = false)
public Date getCdpLinkLastPollTime() {
    return m_cdpLinkLastPollTime;
}

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

@XmlElement(name = "lastPollTime")
@Temporal(TemporalType.TIMESTAMP)
@Column(name = "lastpolltime", nullable = false)
public Date getLastPollTime() {
    return m_lastPollTime;
}

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

@Temporal(TemporalType.TIMESTAMP)
@Column(name = "isisNodeCreateTime", nullable = false)
public Date getIsisNodeCreateTime() {
    return m_isisNodeCreateTime;
}

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

@Temporal(TemporalType.TIMESTAMP)
@Column(name = "isisNodeLastPollTime", nullable = false)
public Date getIsisNodeLastPollTime() {
    return m_isisNodeLastPollTime;
}