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 StringgetAuth()Gets value for attribute authLonggetBackupDatabase()Gets value for attribute backupDatabaseLonggetId()Gets value for attribute idStringgetJavaOptions()Gets value for attribute javaOptionsStringgetName()Gets value for attribute namebyte[]getPk()Gets value for attribute pkPublicKeygetPublicKey()Gets value for attribute publicKeyStringgetPublicUrl()Gets value for attribute publicUrlServerTypegetType()Gets value for attribute typeStringgetUrl()Gets value for attribute urlBooleangetUseMasterDatabase()Gets value for attribute useMasterDatabasevoidsetAuth(String auth)Sets value for attribute authvoidsetBackupDatabase(Long backupDatabase)Sets value for attribute backupDatabasevoidsetId(Long id)Sets value for attribute idvoidsetJavaOptions(String javaOptions)Sets value for attribute javaOptionsvoidsetName(String name)Sets value for attribute namevoidsetPk(byte[] pk)Sets value for attribute pkvoidsetPublicKey(PublicKey publicKey)Sets value for attribute publicKeyvoidsetPublicUrl(String publicUrl)Sets value for attribute publicUrlvoidsetType(ServerType type)Sets value for attribute typevoidsetUrl(String url)Sets value for attribute urlvoidsetUseMasterDatabase(Boolean useMasterDatabase)Sets value for attribute useMasterDatabasestatic ServertoServer(Server vo)Creates a Server value object based on a Server object.static voidtoServer(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.StringtoString()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.
-
-