Class RemoteStatus
- java.lang.Object
-
- ca.corefacility.bioinformatics.irida.model.remote.RemoteStatus
-
@Entity public class RemoteStatus extends java.lang.Object
Information about an entity that was copied from a remote api. Entities using this class should implementRemoteSynchronizable
- See Also:
RemoteSynchronizable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RemoteStatus.SyncStatus
The status of the synchronized object
-
Constructor Summary
Constructors Modifier Constructor Description protected
RemoteStatus()
RemoteStatus(java.lang.String url, RemoteAPI api)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RemoteAPI
getApi()
java.lang.Long
getId()
java.util.Date
getLastUpdate()
User
getReadBy()
int
getRemoteHashCode()
RemoteStatus.SyncStatus
getSyncStatus()
java.lang.String
getURL()
void
setId(java.lang.Long id)
void
setLastUpdate(java.util.Date lastUpdate)
void
setReadBy(User readBy)
void
setRemoteHashCode(int remoteHashCode)
void
setSyncStatus(RemoteStatus.SyncStatus syncStatus)
void
setURL(java.lang.String url)
-
-
-
Constructor Detail
-
RemoteStatus
protected RemoteStatus()
-
RemoteStatus
public RemoteStatus(java.lang.String url, RemoteAPI api)
-
-
Method Detail
-
getId
public java.lang.Long getId()
-
setId
public void setId(java.lang.Long id)
-
getURL
public java.lang.String getURL()
-
setURL
public void setURL(java.lang.String url)
-
setSyncStatus
public void setSyncStatus(RemoteStatus.SyncStatus syncStatus)
-
getSyncStatus
public RemoteStatus.SyncStatus getSyncStatus()
-
getApi
public RemoteAPI getApi()
-
getRemoteHashCode
public int getRemoteHashCode()
-
setRemoteHashCode
public void setRemoteHashCode(int remoteHashCode)
-
getReadBy
public User getReadBy()
-
setReadBy
public void setReadBy(User readBy)
-
getLastUpdate
public java.util.Date getLastUpdate()
-
setLastUpdate
public void setLastUpdate(java.util.Date lastUpdate)
-
-