Package es.caib.seycon.ng.comu
Class Xarxa
- java.lang.Object
-
- es.caib.seycon.ng.comu.Xarxa
-
- All Implemented Interfaces:
Serializable
public class Xarxa extends Object implements Serializable
ValueObject Xarxa- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Xarxa()
Xarxa(Xarxa otherBean)
Xarxa(String codi, String adreca, boolean dhcpSupport)
Xarxa(String codi, String adreca, String descripcio, String mascara, Boolean normalitzada, String dhcp, Long id, boolean dhcpSupport, Boolean loginRestriction, Boolean discovery, String discoveryServer, List<String> discoveryRanges)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAdreca()
Gets value for attribute adrecaString
getCode()
Gets value for attribute codiString
getCodi()
Gets value for attribute codiString
getDescripcio()
Gets value for attribute descripcioString
getDhcp()
Gets value for attribute dhcpBoolean
getDiscovery()
Gets value for attribute discoveryList<String>
getDiscoveryRanges()
Gets value for attribute discoveryRangesString
getDiscoveryServer()
Gets value for attribute discoveryServerLong
getId()
Gets value for attribute idBoolean
getLoginRestriction()
Gets value for attribute loginRestrictionString
getMascara()
Gets value for attribute mascaraBoolean
getNormalitzada()
Gets value for attribute normalitzadaboolean
isDhcpSupport()
Gets value for attribute dhcpSupportvoid
setAdreca(String adreca)
Sets value for attribute adrecavoid
setCode(String codi)
Sets value for attribute codivoid
setCodi(String codi)
Sets value for attribute codivoid
setDescripcio(String descripcio)
Sets value for attribute descripciovoid
setDhcp(String dhcp)
Sets value for attribute dhcpvoid
setDhcpSupport(boolean dhcpSupport)
Sets value for attribute dhcpSupportvoid
setDiscovery(Boolean discovery)
Sets value for attribute discoveryvoid
setDiscoveryRanges(List<String> discoveryRanges)
Sets value for attribute discoveryRangesvoid
setDiscoveryServer(String discoveryServer)
Sets value for attribute discoveryServervoid
setId(Long id)
Sets value for attribute idvoid
setLoginRestriction(Boolean loginRestriction)
Sets value for attribute loginRestrictionvoid
setMascara(String mascara)
Sets value for attribute mascaravoid
setNormalitzada(Boolean normalitzada)
Sets value for attribute normalitzadaString
toString()
Returns a string representation of the value object.static Xarxa
toXarxa(Network vo)
Creates a Xarxa value object based on a Network object.static void
toXarxa(Network source, Xarxa target)
Updates a Xarxa value object based on a Network object.static Xarxa[]
toXarxaArray(Network[] source)
Creates a Xarxa array on a Network array.static AsyncList<Xarxa>
toXarxaAsyncList(AsyncList<Network> source)
Creates a Xarxa asynclist on a Network collection.static PagedResult<Xarxa>
toXarxaList(PagedResult<Network> source)
Creates a Xarxa pagedResult on a Network collection.static List<Xarxa>
toXarxaList(Collection<Network> source)
Creates a Xarxa list on a Network collection.
-
-
-
Constructor Detail
-
Xarxa
public Xarxa()
-
Xarxa
public Xarxa(String codi, String adreca, String descripcio, String mascara, Boolean normalitzada, String dhcp, Long id, boolean dhcpSupport, Boolean loginRestriction, Boolean discovery, String discoveryServer, List<String> discoveryRanges)
-
Xarxa
public Xarxa(Xarxa otherBean)
-
-
Method Detail
-
getCodi
public String getCodi()
Gets value for attribute codi
-
setCodi
public void setCodi(String codi)
Sets value for attribute codi
-
getCode
public String getCode()
Gets value for attribute codi
-
setCode
public void setCode(String codi)
Sets value for attribute codi
-
getAdreca
public String getAdreca()
Gets value for attribute adreca
-
setAdreca
public void setAdreca(String adreca)
Sets value for attribute adreca
-
getDescripcio
public String getDescripcio()
Gets value for attribute descripcio
-
setDescripcio
public void setDescripcio(String descripcio)
Sets value for attribute descripcio
-
getMascara
public String getMascara()
Gets value for attribute mascara
-
setMascara
public void setMascara(String mascara)
Sets value for attribute mascara
-
getNormalitzada
public Boolean getNormalitzada()
Gets value for attribute normalitzada
-
setNormalitzada
public void setNormalitzada(Boolean normalitzada)
Sets value for attribute normalitzada
-
getDhcp
public String getDhcp()
Gets value for attribute dhcp
-
setDhcp
public void setDhcp(String dhcp)
Sets value for attribute dhcp
-
getId
public Long getId()
Gets value for attribute id
-
setId
public void setId(Long id)
Sets value for attribute id
-
isDhcpSupport
public boolean isDhcpSupport()
Gets value for attribute dhcpSupport
-
setDhcpSupport
public void setDhcpSupport(boolean dhcpSupport)
Sets value for attribute dhcpSupport
-
getLoginRestriction
public Boolean getLoginRestriction()
Gets value for attribute loginRestriction
-
setLoginRestriction
public void setLoginRestriction(Boolean loginRestriction)
Sets value for attribute loginRestriction
-
getDiscovery
public Boolean getDiscovery()
Gets value for attribute discovery
-
setDiscovery
public void setDiscovery(Boolean discovery)
Sets value for attribute discovery
-
getDiscoveryServer
public String getDiscoveryServer()
Gets value for attribute discoveryServer
-
setDiscoveryServer
public void setDiscoveryServer(String discoveryServer)
Sets value for attribute discoveryServer
-
getDiscoveryRanges
public List<String> getDiscoveryRanges()
Gets value for attribute discoveryRanges
-
setDiscoveryRanges
public void setDiscoveryRanges(List<String> discoveryRanges)
Sets value for attribute discoveryRanges
-
toString
public String toString()
Returns a string representation of the value object.
-
toXarxa
public static Xarxa toXarxa(Network vo)
Creates a Xarxa value object based on a Network object.
-
toXarxaList
public static List<Xarxa> toXarxaList(Collection<Network> source)
Creates a Xarxa list on a Network collection.
-
toXarxaList
public static PagedResult<Xarxa> toXarxaList(PagedResult<Network> source)
Creates a Xarxa pagedResult on a Network collection.
-
toXarxaAsyncList
public static AsyncList<Xarxa> toXarxaAsyncList(AsyncList<Network> source)
Creates a Xarxa asynclist on a Network collection.
-
toXarxaArray
public static Xarxa[] toXarxaArray(Network[] source)
Creates a Xarxa array on a Network array.
-
-