Package es.caib.seycon.ng.comu
Class Maquina
- java.lang.Object
-
- es.caib.seycon.ng.comu.Maquina
-
- All Implemented Interfaces:
Serializable
public class Maquina extends Object implements Serializable
ValueObject Maquina- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Maquina()
Maquina(Maquina otherBean)
Maquina(Long id, String nom, String descripcio, String codiXarxa, String dhcp, String adreca, String sistemaOperatiu, Boolean correu, Boolean ofimatica, String mac, List<String> aliasMaquina, Boolean servidorImpressores, Boolean dynamicIp, String serialNumber, Calendar lastSeen, Calendar created, Boolean locked, Map<String,Object> attributes)
Maquina(String nom)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAdreca()
Gets value for attribute adrecaList<String>
getAliasMaquina()
Gets value for attribute aliasMaquinaMap<String,Object>
getAttributes()
Gets value for attribute attributesString
getCodiXarxa()
Gets value for attribute codiXarxaBoolean
getCorreu()
Gets value for attribute correuCalendar
getCreated()
Gets value for attribute createdString
getDescripcio()
Gets value for attribute descripcioString
getDhcp()
Gets value for attribute dhcpBoolean
getDynamicIp()
Gets value for attribute dynamicIpLong
getId()
Gets value for attribute idCalendar
getLastSeen()
Gets value for attribute lastSeenBoolean
getLocked()
Gets value for attribute lockedString
getMac()
Gets value for attribute macString
getNom()
Gets value for attribute nomBoolean
getOfimatica()
Gets value for attribute ofimaticaString
getSerialNumber()
Gets value for attribute serialNumberBoolean
getServidorImpressores()
Gets value for attribute servidorImpressoresString
getSistemaOperatiu()
Gets value for attribute sistemaOperatiuvoid
setAdreca(String adreca)
Sets value for attribute adrecavoid
setAliasMaquina(List<String> aliasMaquina)
Sets value for attribute aliasMaquinavoid
setAttributes(Map<String,Object> attributes)
Sets value for attribute attributesvoid
setCodiXarxa(String codiXarxa)
Sets value for attribute codiXarxavoid
setCorreu(Boolean correu)
Sets value for attribute correuvoid
setCreated(Calendar created)
Sets value for attribute createdvoid
setDescripcio(String descripcio)
Sets value for attribute descripciovoid
setDhcp(String dhcp)
Sets value for attribute dhcpvoid
setDynamicIp(Boolean dynamicIp)
Sets value for attribute dynamicIpvoid
setId(Long id)
Sets value for attribute idvoid
setLastSeen(Calendar lastSeen)
Sets value for attribute lastSeenvoid
setLocked(Boolean locked)
Sets value for attribute lockedvoid
setMac(String mac)
Sets value for attribute macvoid
setNom(String nom)
Sets value for attribute nomvoid
setOfimatica(Boolean ofimatica)
Sets value for attribute ofimaticavoid
setSerialNumber(String serialNumber)
Sets value for attribute serialNumbervoid
setServidorImpressores(Boolean servidorImpressores)
Sets value for attribute servidorImpressoresvoid
setSistemaOperatiu(String sistemaOperatiu)
Sets value for attribute sistemaOperatiustatic Maquina
toMaquina(Host vo)
Creates a Maquina value object based on a Host object.static void
toMaquina(Host source, Maquina target)
Updates a Maquina value object based on a Host object.static Maquina[]
toMaquinaArray(Host[] source)
Creates a Maquina array on a Host array.static AsyncList<Maquina>
toMaquinaAsyncList(AsyncList<Host> source)
Creates a Maquina asynclist on a Host collection.static PagedResult<Maquina>
toMaquinaList(PagedResult<Host> source)
Creates a Maquina pagedResult on a Host collection.static List<Maquina>
toMaquinaList(Collection<Host> source)
Creates a Maquina list on a Host collection.String
toString()
Returns a string representation of the value object.
-
-
-
Constructor Detail
-
Maquina
public Maquina()
-
Maquina
public Maquina(Long id, String nom, String descripcio, String codiXarxa, String dhcp, String adreca, String sistemaOperatiu, Boolean correu, Boolean ofimatica, String mac, List<String> aliasMaquina, Boolean servidorImpressores, Boolean dynamicIp, String serialNumber, Calendar lastSeen, Calendar created, Boolean locked, Map<String,Object> attributes)
-
Maquina
public Maquina(String nom)
-
Maquina
public Maquina(Maquina otherBean)
-
-
Method Detail
-
getId
public Long getId()
Gets value for attribute id
-
setId
public void setId(Long id)
Sets value for attribute id
-
getNom
public String getNom()
Gets value for attribute nom
-
setNom
public void setNom(String nom)
Sets value for attribute nom
-
getDescripcio
public String getDescripcio()
Gets value for attribute descripcio
-
setDescripcio
public void setDescripcio(String descripcio)
Sets value for attribute descripcio
-
getCodiXarxa
public String getCodiXarxa()
Gets value for attribute codiXarxa
-
setCodiXarxa
public void setCodiXarxa(String codiXarxa)
Sets value for attribute codiXarxa
-
getDhcp
public String getDhcp()
Gets value for attribute dhcp
-
setDhcp
public void setDhcp(String dhcp)
Sets value for attribute dhcp
-
getAdreca
public String getAdreca()
Gets value for attribute adreca
-
setAdreca
public void setAdreca(String adreca)
Sets value for attribute adreca
-
getSistemaOperatiu
public String getSistemaOperatiu()
Gets value for attribute sistemaOperatiu
-
setSistemaOperatiu
public void setSistemaOperatiu(String sistemaOperatiu)
Sets value for attribute sistemaOperatiu
-
getCorreu
public Boolean getCorreu()
Gets value for attribute correu
-
setCorreu
public void setCorreu(Boolean correu)
Sets value for attribute correu
-
getOfimatica
public Boolean getOfimatica()
Gets value for attribute ofimatica
-
setOfimatica
public void setOfimatica(Boolean ofimatica)
Sets value for attribute ofimatica
-
getMac
public String getMac()
Gets value for attribute mac
-
setMac
public void setMac(String mac)
Sets value for attribute mac
-
setAliasMaquina
public void setAliasMaquina(List<String> aliasMaquina)
Sets value for attribute aliasMaquina
-
getServidorImpressores
public Boolean getServidorImpressores()
Gets value for attribute servidorImpressores
-
setServidorImpressores
public void setServidorImpressores(Boolean servidorImpressores)
Sets value for attribute servidorImpressores
-
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.
-
toMaquina
public static Maquina toMaquina(Host vo)
Creates a Maquina value object based on a Host object.
-
toMaquinaList
public static List<Maquina> toMaquinaList(Collection<Host> source)
Creates a Maquina list on a Host collection.
-
toMaquinaList
public static PagedResult<Maquina> toMaquinaList(PagedResult<Host> source)
Creates a Maquina pagedResult on a Host collection.
-
toMaquinaAsyncList
public static AsyncList<Maquina> toMaquinaAsyncList(AsyncList<Host> source)
Creates a Maquina asynclist on a Host collection.
-
toMaquinaArray
public static Maquina[] toMaquinaArray(Host[] source)
Creates a Maquina array on a Host array.
-
-