@Entity public class SystemInformationEntity extends BaseEntity
Constructor and Description |
---|
SystemInformationEntity() |
SystemInformationEntity(UUID uid,
BuildVersion buildVersion,
IpAddress ipAddress,
boolean isSelf)
Creates a new system information entity.
|
Modifier and Type | Method and Description |
---|---|
BuildVersion |
getBuildVersion()
Gets the build version.
|
long |
getCoreDataVersion()
Gets the core data version.
|
Date |
getCoreDataVersionTimestamp()
Gets the core data version timestamp.
|
IpAddress |
getIpAddress()
Gets the IP address.
|
boolean |
isSelf()
Gets the isSelf property.
|
void |
setBuildVersion(BuildVersion buildVersion)
Sets the build version.
|
void |
setCoreDataVersion(long coreDataVersion)
Sets the core data version.
|
void |
setCoreDataVersionTimestamp(Date coreDataVersionTimestamp)
Sets the core data version timestamp.
|
void |
setIpAddress(IpAddress ipAddress)
Set IP address.
|
void |
setIsSelf(boolean isSelf)
Sets the isSelf property.
|
equals, getId, hashCode, toString
public SystemInformationEntity()
public SystemInformationEntity(UUID uid, BuildVersion buildVersion, IpAddress ipAddress, boolean isSelf)
uid
- the unique idbuildVersion
- build version.ipAddress
- contact address.isSelf
- true to indicate this descriptor represents local system.public void setBuildVersion(BuildVersion buildVersion)
buildVersion
- the build version.public BuildVersion getBuildVersion()
public void setIpAddress(IpAddress ipAddress)
ipAddress
- IP address.public IpAddress getIpAddress()
public long getCoreDataVersion()
public void setCoreDataVersion(long coreDataVersion)
coreDataVersion
- the core data versionpublic Date getCoreDataVersionTimestamp()
public void setCoreDataVersionTimestamp(Date coreDataVersionTimestamp)
coreDataVersionTimestamp
- the core data version timestamppublic void setIsSelf(boolean isSelf)
isSelf
- true
if the system information represents the
local system, false
otherwise.public boolean isSelf()
true
if the system information represents the local
system, false
otherwise.Copyright © 2015. All Rights Reserved.