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 attributesCalendar
getCreated()
Gets value for attribute createdString
getDescription()
Gets value for attribute descriptionString
getDhcp()
Gets value for attribute dhcpBoolean
getDynamicIp()
Gets value for attribute dynamicIpList<String>
getHostAlias()
Gets value for attribute hostAliasLong
getId()
Gets value for attribute idString
getIp()
Gets value for attribute ipCalendar
getLastSeen()
Gets value for attribute lastSeenBoolean
getLocked()
Gets value for attribute lockedString
getMac()
Gets value for attribute macBoolean
getMail()
Gets value for attribute mailString
getName()
Gets value for attribute nameString
getNetworkCode()
Gets value for attribute networkCodeBoolean
getOffice()
Gets value for attribute officeString
getOs()
Gets value for attribute osBoolean
getPrintersServer()
Gets value for attribute printersServerString
getSerialNumber()
Gets value for attribute serialNumbervoid
setAttributes(Map<String,Object> attributes)
Sets value for attribute attributesvoid
setCreated(Calendar created)
Sets value for attribute createdvoid
setDescription(String description)
Sets value for attribute descriptionvoid
setDhcp(String dhcp)
Sets value for attribute dhcpvoid
setDynamicIp(Boolean dynamicIp)
Sets value for attribute dynamicIpvoid
setHostAlias(List<String> hostAlias)
Sets value for attribute hostAliasvoid
setId(Long id)
Sets value for attribute idvoid
setIp(String ip)
Sets value for attribute ipvoid
setLastSeen(Calendar lastSeen)
Sets value for attribute lastSeenvoid
setLocked(Boolean locked)
Sets value for attribute lockedvoid
setMac(String mac)
Sets value for attribute macvoid
setMail(Boolean mail)
Sets value for attribute mailvoid
setName(String name)
Sets value for attribute namevoid
setNetworkCode(String networkCode)
Sets value for attribute networkCodevoid
setOffice(Boolean office)
Sets value for attribute officevoid
setOs(String os)
Sets value for attribute osvoid
setPrintersServer(Boolean printersServer)
Sets value for attribute printersServervoid
setSerialNumber(String serialNumber)
Sets value for attribute serialNumberstatic Host
toHost(Maquina vo)
Creates a Host value object based on a Maquina object.static void
toHost(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.String
toString()
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.
-
-