public class ClientTO extends Object implements Serializable
Constructor and Description |
---|
ClientTO() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
String |
getClientId() |
ClientStatus |
getClientStatus() |
Date |
getCreationDate() |
String |
getCreationRevision() |
String |
getCreationVersion() |
Long |
getId() |
String |
getName() |
int |
hashCode() |
boolean |
hasStatus(ClientStatus status)
Method to check if this client has the given status.
|
boolean |
isActive()
Convenience method to test if a client is active
|
void |
setClientId(String clientId) |
void |
setClientStatus(ClientStatus clientStatus) |
void |
setCreationDate(Date creationDate) |
void |
setCreationRevision(String creationRevision) |
void |
setCreationVersion(String creationVersion) |
void |
setId(Long id) |
void |
setName(String name) |
public String getClientId()
public ClientStatus getClientStatus()
public Date getCreationDate()
public String getCreationRevision()
public String getCreationVersion()
public Long getId()
public String getName()
public int hashCode()
public boolean hasStatus(ClientStatus status)
status
- The status to check.public boolean isActive()
public void setClientId(String clientId)
clientId
- the clientId to setpublic void setClientStatus(ClientStatus clientStatus)
clientStatus
- the clientStatus to setpublic void setCreationDate(Date creationDate)
creationDate
- the creationDate to setpublic void setCreationRevision(String creationRevision)
creationRevision
- the creationRevision to setpublic void setCreationVersion(String creationVersion)
creationVersion
- the creationVersion to setpublic void setId(Long id)
id
- the id to setpublic void setName(String name)
name
- the name to setCopyright © 2019 Communote team. All rights reserved.