Java Code Examples for org.apache.commons.lang3.ObjectUtils#cloneIfPossible()

The following examples show how to use org.apache.commons.lang3.ObjectUtils#cloneIfPossible() . 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: User.java    From devicehive-java-server with Apache License 2.0 4 votes vote down vote up
public Date getLastLogin() {
    return ObjectUtils.cloneIfPossible(lastLogin);
}
 
Example 2
Source File: User.java    From devicehive-java-server with Apache License 2.0 4 votes vote down vote up
public void setLastLogin(Date lastLogin) {
    this.lastLogin = ObjectUtils.cloneIfPossible(lastLogin);
}
 
Example 3
Source File: InsertNotification.java    From devicehive-java-server with Apache License 2.0 4 votes vote down vote up
public Date getTimestamp() {
    return ObjectUtils.cloneIfPossible(this.timestamp);
}
 
Example 4
Source File: InsertNotification.java    From devicehive-java-server with Apache License 2.0 4 votes vote down vote up
public void setTimestamp(Date timestamp) {
    this.timestamp = ObjectUtils.cloneIfPossible(timestamp);
}
 
Example 5
Source File: CacheInfoVO.java    From devicehive-java-server with Apache License 2.0 4 votes vote down vote up
public Date getServerTimestamp() {
    return ObjectUtils.cloneIfPossible(serverTimestamp);
}
 
Example 6
Source File: CacheInfoVO.java    From devicehive-java-server with Apache License 2.0 4 votes vote down vote up
public void setServerTimestamp(Date serverTimestamp) {
    this.serverTimestamp = ObjectUtils.cloneIfPossible(serverTimestamp);
}
 
Example 7
Source File: DeviceNotification.java    From devicehive-java-server with Apache License 2.0 4 votes vote down vote up
public Date getTimestamp() {
    return ObjectUtils.cloneIfPossible(timestamp);
}
 
Example 8
Source File: DeviceNotification.java    From devicehive-java-server with Apache License 2.0 4 votes vote down vote up
public void setTimestamp(Date timestamp) {
    this.timestamp = ObjectUtils.cloneIfPossible(timestamp);
}
 
Example 9
Source File: UserResponse.java    From devicehive-java-server with Apache License 2.0 4 votes vote down vote up
public Date getLastLogin() {
    return ObjectUtils.cloneIfPossible(lastLogin);
}
 
Example 10
Source File: UserResponse.java    From devicehive-java-server with Apache License 2.0 4 votes vote down vote up
public void setLastLogin(Date lastLogin) {
    this.lastLogin = ObjectUtils.cloneIfPossible(lastLogin);
}
 
Example 11
Source File: UserVO.java    From devicehive-java-server with Apache License 2.0 4 votes vote down vote up
public Date getLastLogin() {
    return ObjectUtils.cloneIfPossible(lastLogin);
}
 
Example 12
Source File: UserVO.java    From devicehive-java-server with Apache License 2.0 4 votes vote down vote up
public void setLastLogin(Date lastLogin) {
    this.lastLogin = ObjectUtils.cloneIfPossible(lastLogin);
}
 
Example 13
Source File: ApiInfoVO.java    From devicehive-java-server with Apache License 2.0 4 votes vote down vote up
public Date getServerTimestamp() {
    return ObjectUtils.cloneIfPossible(serverTimestamp);
}
 
Example 14
Source File: ApiInfoVO.java    From devicehive-java-server with Apache License 2.0 4 votes vote down vote up
public void setServerTimestamp(Date serverTimestamp) {
    this.serverTimestamp = ObjectUtils.cloneIfPossible(serverTimestamp);
}