Package com.soffid.iam.api
Class Network
- java.lang.Object
-
- com.soffid.iam.api.Network
-
- All Implemented Interfaces:
Serializable
public class Network extends Object implements Serializable
ValueObject Network- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Network()Network(Network otherBean)Network(String name, String ip, boolean dhcpSupport)Network(String name, String ip, String description, String mask, Boolean lanAccess, 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 StringgetCode()Gets value for attribute nameStringgetDescription()Gets value for attribute descriptionStringgetDhcp()Gets value for attribute dhcpBooleangetDiscovery()Gets value for attribute discoveryList<String>getDiscoveryRanges()Gets value for attribute discoveryRangesStringgetDiscoveryServer()Gets value for attribute discoveryServerLonggetId()Gets value for attribute idStringgetIp()Gets value for attribute ipBooleangetLanAccess()Gets value for attribute lanAccessBooleangetLoginRestriction()Gets value for attribute loginRestrictionStringgetMask()Gets value for attribute maskStringgetName()Gets value for attribute namebooleanisDhcpSupport()Gets value for attribute dhcpSupportvoidsetCode(String name)Sets value for attribute namevoidsetDescription(String description)Sets value for attribute descriptionvoidsetDhcp(String dhcp)Sets value for attribute dhcpvoidsetDhcpSupport(boolean dhcpSupport)Sets value for attribute dhcpSupportvoidsetDiscovery(Boolean discovery)Sets value for attribute discoveryvoidsetDiscoveryRanges(List<String> discoveryRanges)Sets value for attribute discoveryRangesvoidsetDiscoveryServer(String discoveryServer)Sets value for attribute discoveryServervoidsetId(Long id)Sets value for attribute idvoidsetIp(String ip)Sets value for attribute ipvoidsetLanAccess(Boolean lanAccess)Sets value for attribute lanAccessvoidsetLoginRestriction(Boolean loginRestriction)Sets value for attribute loginRestrictionvoidsetMask(String mask)Sets value for attribute maskvoidsetName(String name)Sets value for attribute namestatic NetworktoNetwork(Xarxa vo)Creates a Network value object based on a Xarxa object.static voidtoNetwork(Xarxa source, Network target)Updates a Network value object based on a Xarxa object.static Network[]toNetworkArray(Xarxa[] source)Creates a Network array on a Xarxa array.static AsyncList<Network>toNetworkAsyncList(AsyncList<Xarxa> source)Creates a Network asynclist on a Xarxa collection.static PagedResult<Network>toNetworkList(PagedResult<Xarxa> source)Creates a Network pagedResult on a Xarxa collection.static List<Network>toNetworkList(Collection<Xarxa> source)Creates a Network list on a Xarxa collection.StringtoString()Returns a string representation of the value object.
-
-
-
Constructor Detail
-
Network
public Network()
-
Network
public Network(String name, String ip, String description, String mask, Boolean lanAccess, String dhcp, Long id, boolean dhcpSupport, Boolean loginRestriction, Boolean discovery, String discoveryServer, List<String> discoveryRanges)
-
Network
public Network(Network otherBean)
-
-
Method Detail
-
getName
public String getName()
Gets value for attribute name
-
setName
public void setName(String name)
Sets value for attribute name
-
getCode
public String getCode()
Gets value for attribute name
-
setCode
public void setCode(String name)
Sets value for attribute name
-
getIp
public String getIp()
Gets value for attribute ip
-
setIp
public void setIp(String ip)
Sets value for attribute ip
-
getDescription
public String getDescription()
Gets value for attribute description
-
setDescription
public void setDescription(String description)
Sets value for attribute description
-
getMask
public String getMask()
Gets value for attribute mask
-
setMask
public void setMask(String mask)
Sets value for attribute mask
-
getLanAccess
public Boolean getLanAccess()
Gets value for attribute lanAccess
-
setLanAccess
public void setLanAccess(Boolean lanAccess)
Sets value for attribute lanAccess
-
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.
-
toNetwork
public static Network toNetwork(Xarxa vo)
Creates a Network value object based on a Xarxa object.
-
toNetworkList
public static List<Network> toNetworkList(Collection<Xarxa> source)
Creates a Network list on a Xarxa collection.
-
toNetworkList
public static PagedResult<Network> toNetworkList(PagedResult<Xarxa> source)
Creates a Network pagedResult on a Xarxa collection.
-
toNetworkAsyncList
public static AsyncList<Network> toNetworkAsyncList(AsyncList<Xarxa> source)
Creates a Network asynclist on a Xarxa collection.
-
toNetworkArray
public static Network[] toNetworkArray(Xarxa[] source)
Creates a Network array on a Xarxa array.
-
-