Package com.soffid.iam.api
Class Host
- java.lang.Object
-
- com.soffid.iam.api.Host
-
- All Implemented Interfaces:
Serializable
public class Host extends Object implements Serializable
ValueObject Host- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Host()Host(Host otherBean)Host(Long id, String name, String description, String networkCode, String dhcp, String ip, String os, Boolean mail, Boolean office, String mac, List<String> hostAlias, Boolean printersServer, Boolean dynamicIp, String serialNumber, Calendar lastSeen, Calendar created, Boolean locked, Map<String,Object> attributes)Host(String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>getAttributes()Gets value for attribute attributesCalendargetCreated()Gets value for attribute createdStringgetDescription()Gets value for attribute descriptionStringgetDhcp()Gets value for attribute dhcpBooleangetDynamicIp()Gets value for attribute dynamicIpList<String>getHostAlias()Gets value for attribute hostAliasLonggetId()Gets value for attribute idStringgetIp()Gets value for attribute ipCalendargetLastSeen()Gets value for attribute lastSeenBooleangetLocked()Gets value for attribute lockedStringgetMac()Gets value for attribute macBooleangetMail()Gets value for attribute mailStringgetName()Gets value for attribute nameStringgetNetworkCode()Gets value for attribute networkCodeBooleangetOffice()Gets value for attribute officeStringgetOs()Gets value for attribute osBooleangetPrintersServer()Gets value for attribute printersServerStringgetSerialNumber()Gets value for attribute serialNumbervoidsetAttributes(Map<String,Object> attributes)Sets value for attribute attributesvoidsetCreated(Calendar created)Sets value for attribute createdvoidsetDescription(String description)Sets value for attribute descriptionvoidsetDhcp(String dhcp)Sets value for attribute dhcpvoidsetDynamicIp(Boolean dynamicIp)Sets value for attribute dynamicIpvoidsetHostAlias(List<String> hostAlias)Sets value for attribute hostAliasvoidsetId(Long id)Sets value for attribute idvoidsetIp(String ip)Sets value for attribute ipvoidsetLastSeen(Calendar lastSeen)Sets value for attribute lastSeenvoidsetLocked(Boolean locked)Sets value for attribute lockedvoidsetMac(String mac)Sets value for attribute macvoidsetMail(Boolean mail)Sets value for attribute mailvoidsetName(String name)Sets value for attribute namevoidsetNetworkCode(String networkCode)Sets value for attribute networkCodevoidsetOffice(Boolean office)Sets value for attribute officevoidsetOs(String os)Sets value for attribute osvoidsetPrintersServer(Boolean printersServer)Sets value for attribute printersServervoidsetSerialNumber(String serialNumber)Sets value for attribute serialNumberstatic HosttoHost(Maquina vo)Creates a Host value object based on a Maquina object.static voidtoHost(Maquina source, Host target)Updates a Host value object based on a Maquina object.static Host[]toHostArray(Maquina[] source)Creates a Host array on a Maquina array.static AsyncList<Host>toHostAsyncList(AsyncList<Maquina> source)Creates a Host asynclist on a Maquina collection.static PagedResult<Host>toHostList(PagedResult<Maquina> source)Creates a Host pagedResult on a Maquina collection.static List<Host>toHostList(Collection<Maquina> source)Creates a Host list on a Maquina collection.StringtoString()Returns a string representation of the value object.
-
-
-
Constructor Detail
-
Host
public Host()
-
Host
public Host(Long id, String name, String description, String networkCode, String dhcp, String ip, String os, Boolean mail, Boolean office, String mac, List<String> hostAlias, Boolean printersServer, Boolean dynamicIp, String serialNumber, Calendar lastSeen, Calendar created, Boolean locked, Map<String,Object> attributes)
-
Host
public Host(String name)
-
Host
public Host(Host otherBean)
-
-
Method Detail
-
getId
public Long getId()
Gets value for attribute id
-
setId
public void setId(Long id)
Sets value for attribute id
-
getName
public String getName()
Gets value for attribute name
-
setName
public void setName(String name)
Sets value for attribute name
-
getDescription
public String getDescription()
Gets value for attribute description
-
setDescription
public void setDescription(String description)
Sets value for attribute description
-
getNetworkCode
public String getNetworkCode()
Gets value for attribute networkCode
-
setNetworkCode
public void setNetworkCode(String networkCode)
Sets value for attribute networkCode
-
getDhcp
public String getDhcp()
Gets value for attribute dhcp
-
setDhcp
public void setDhcp(String dhcp)
Sets value for attribute dhcp
-
getIp
public String getIp()
Gets value for attribute ip
-
setIp
public void setIp(String ip)
Sets value for attribute ip
-
getOs
public String getOs()
Gets value for attribute os
-
setOs
public void setOs(String os)
Sets value for attribute os
-
getMail
public Boolean getMail()
Gets value for attribute mail
-
setMail
public void setMail(Boolean mail)
Sets value for attribute mail
-
getOffice
public Boolean getOffice()
Gets value for attribute office
-
setOffice
public void setOffice(Boolean office)
Sets value for attribute office
-
getMac
public String getMac()
Gets value for attribute mac
-
setMac
public void setMac(String mac)
Sets value for attribute mac
-
getPrintersServer
public Boolean getPrintersServer()
Gets value for attribute printersServer
-
setPrintersServer
public void setPrintersServer(Boolean printersServer)
Sets value for attribute printersServer
-
getDynamicIp
public Boolean getDynamicIp()
Gets value for attribute dynamicIp
-
setDynamicIp
public void setDynamicIp(Boolean dynamicIp)
Sets value for attribute dynamicIp
-
getSerialNumber
public String getSerialNumber()
Gets value for attribute serialNumber
-
setSerialNumber
public void setSerialNumber(String serialNumber)
Sets value for attribute serialNumber
-
getLastSeen
public Calendar getLastSeen()
Gets value for attribute lastSeen
-
setLastSeen
public void setLastSeen(Calendar lastSeen)
Sets value for attribute lastSeen
-
getCreated
public Calendar getCreated()
Gets value for attribute created
-
setCreated
public void setCreated(Calendar created)
Sets value for attribute created
-
getLocked
public Boolean getLocked()
Gets value for attribute locked
-
setLocked
public void setLocked(Boolean locked)
Sets value for attribute locked
-
setAttributes
public void setAttributes(Map<String,Object> attributes)
Sets value for attribute attributes
-
toString
public String toString()
Returns a string representation of the value object.
-
toHost
public static Host toHost(Maquina vo)
Creates a Host value object based on a Maquina object.
-
toHostList
public static List<Host> toHostList(Collection<Maquina> source)
Creates a Host list on a Maquina collection.
-
toHostList
public static PagedResult<Host> toHostList(PagedResult<Maquina> source)
Creates a Host pagedResult on a Maquina collection.
-
toHostAsyncList
public static AsyncList<Host> toHostAsyncList(AsyncList<Maquina> source)
Creates a Host asynclist on a Maquina collection.
-
toHostArray
public static Host[] toHostArray(Maquina[] source)
Creates a Host array on a Maquina array.
-
-