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 String
getCode()
Gets value for attribute nameString
getDescription()
Gets value for attribute descriptionString
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 idString
getIp()
Gets value for attribute ipBoolean
getLanAccess()
Gets value for attribute lanAccessBoolean
getLoginRestriction()
Gets value for attribute loginRestrictionString
getMask()
Gets value for attribute maskString
getName()
Gets value for attribute nameboolean
isDhcpSupport()
Gets value for attribute dhcpSupportvoid
setCode(String name)
Sets value for attribute namevoid
setDescription(String description)
Sets value for attribute descriptionvoid
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
setIp(String ip)
Sets value for attribute ipvoid
setLanAccess(Boolean lanAccess)
Sets value for attribute lanAccessvoid
setLoginRestriction(Boolean loginRestriction)
Sets value for attribute loginRestrictionvoid
setMask(String mask)
Sets value for attribute maskvoid
setName(String name)
Sets value for attribute namestatic Network
toNetwork(Xarxa vo)
Creates a Network value object based on a Xarxa object.static void
toNetwork(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.String
toString()
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.
-
-