Package com.soffid.iam.api
Class Server
- java.lang.Object
-
- com.soffid.iam.api.Server
-
- All Implemented Interfaces:
Serializable
public class Server extends Object implements Serializable
ValueObject Server- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Server()
Server(Server otherBean)
Server(Long id, String name, byte[] pk, String auth, PublicKey publicKey, Boolean useMasterDatabase, Long backupDatabase, ServerType type, String url, String publicUrl, String javaOptions)
Server(String name, ServerType type)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAuth()
Gets value for attribute authLong
getBackupDatabase()
Gets value for attribute backupDatabaseLong
getId()
Gets value for attribute idString
getJavaOptions()
Gets value for attribute javaOptionsString
getName()
Gets value for attribute namebyte[]
getPk()
Gets value for attribute pkPublicKey
getPublicKey()
Gets value for attribute publicKeyString
getPublicUrl()
Gets value for attribute publicUrlServerType
getType()
Gets value for attribute typeString
getUrl()
Gets value for attribute urlBoolean
getUseMasterDatabase()
Gets value for attribute useMasterDatabasevoid
setAuth(String auth)
Sets value for attribute authvoid
setBackupDatabase(Long backupDatabase)
Sets value for attribute backupDatabasevoid
setId(Long id)
Sets value for attribute idvoid
setJavaOptions(String javaOptions)
Sets value for attribute javaOptionsvoid
setName(String name)
Sets value for attribute namevoid
setPk(byte[] pk)
Sets value for attribute pkvoid
setPublicKey(PublicKey publicKey)
Sets value for attribute publicKeyvoid
setPublicUrl(String publicUrl)
Sets value for attribute publicUrlvoid
setType(ServerType type)
Sets value for attribute typevoid
setUrl(String url)
Sets value for attribute urlvoid
setUseMasterDatabase(Boolean useMasterDatabase)
Sets value for attribute useMasterDatabasestatic Server
toServer(Server vo)
Creates a Server value object based on a Server object.static void
toServer(Server source, Server target)
Updates a Server value object based on a Server object.static Server[]
toServerArray(Server[] source)
Creates a Server array on a Server array.static AsyncList<Server>
toServerAsyncList(AsyncList<Server> source)
Creates a Server asynclist on a Server collection.static PagedResult<Server>
toServerList(PagedResult<Server> source)
Creates a Server pagedResult on a Server collection.static List<Server>
toServerList(Collection<Server> source)
Creates a Server list on a Server collection.String
toString()
Returns a string representation of the value object.
-
-
-
Constructor Detail
-
Server
public Server()
-
Server
public Server(Long id, String name, byte[] pk, String auth, PublicKey publicKey, Boolean useMasterDatabase, Long backupDatabase, ServerType type, String url, String publicUrl, String javaOptions)
-
Server
public Server(String name, ServerType type)
-
Server
public Server(Server 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
-
getPk
public byte[] getPk()
Gets value for attribute pk
-
setPk
public void setPk(byte[] pk)
Sets value for attribute pk
-
getAuth
public String getAuth()
Gets value for attribute auth
-
setAuth
public void setAuth(String auth)
Sets value for attribute auth
-
getPublicKey
public PublicKey getPublicKey()
Gets value for attribute publicKey
-
setPublicKey
public void setPublicKey(PublicKey publicKey)
Sets value for attribute publicKey
-
getUseMasterDatabase
public Boolean getUseMasterDatabase()
Gets value for attribute useMasterDatabase
-
setUseMasterDatabase
public void setUseMasterDatabase(Boolean useMasterDatabase)
Sets value for attribute useMasterDatabase
-
getBackupDatabase
public Long getBackupDatabase()
Gets value for attribute backupDatabase
-
setBackupDatabase
public void setBackupDatabase(Long backupDatabase)
Sets value for attribute backupDatabase
-
getType
public ServerType getType()
Gets value for attribute type
-
setType
public void setType(ServerType type)
Sets value for attribute type
-
getUrl
public String getUrl()
Gets value for attribute url
-
setUrl
public void setUrl(String url)
Sets value for attribute url
-
getPublicUrl
public String getPublicUrl()
Gets value for attribute publicUrl
-
setPublicUrl
public void setPublicUrl(String publicUrl)
Sets value for attribute publicUrl
-
getJavaOptions
public String getJavaOptions()
Gets value for attribute javaOptions
-
setJavaOptions
public void setJavaOptions(String javaOptions)
Sets value for attribute javaOptions
-
toString
public String toString()
Returns a string representation of the value object.
-
toServer
public static Server toServer(Server vo)
Creates a Server value object based on a Server object.
-
toServerList
public static List<Server> toServerList(Collection<Server> source)
Creates a Server list on a Server collection.
-
toServerList
public static PagedResult<Server> toServerList(PagedResult<Server> source)
Creates a Server pagedResult on a Server collection.
-
toServerAsyncList
public static AsyncList<Server> toServerAsyncList(AsyncList<Server> source)
Creates a Server asynclist on a Server collection.
-
toServerArray
public static Server[] toServerArray(Server[] source)
Creates a Server array on a Server array.
-
-