Package es.caib.seycon.ng.comu
Class ServerPlugin
- java.lang.Object
-
- es.caib.seycon.ng.comu.ServerPlugin
-
- All Implemented Interfaces:
Serializable
public class ServerPlugin extends Object implements Serializable
ValueObject ServerPlugin- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ServerPlugin()ServerPlugin(ServerPlugin otherBean)ServerPlugin(Long id, String version, String name, boolean enabled)ServerPlugin(Long id, String version, String name, boolean enabled, String author, Date deployed, Collection<ServerPluginModule> modules)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAuthor()Gets value for attribute authorDategetDeployed()Gets value for attribute deployedLonggetId()Gets value for attribute idCollection<ServerPluginModule>getModules()Gets value for attribute modulesStringgetName()Gets value for attribute nameStringgetVersion()Gets value for attribute versionbooleanisEnabled()Gets value for attribute enabledvoidsetAuthor(String author)Sets value for attribute authorvoidsetDeployed(Date deployed)Sets value for attribute deployedvoidsetEnabled(boolean enabled)Sets value for attribute enabledvoidsetId(Long id)Sets value for attribute idvoidsetModules(Collection<ServerPluginModule> modules)Sets value for attribute modulesvoidsetName(String name)Sets value for attribute namevoidsetVersion(String version)Sets value for attribute versionstatic ServerPlugintoServerPlugin(ServerPlugin vo)Creates a ServerPlugin value object based on a ServerPlugin object.static voidtoServerPlugin(ServerPlugin source, ServerPlugin target)Updates a ServerPlugin value object based on a ServerPlugin object.static ServerPlugin[]toServerPluginArray(ServerPlugin[] source)Creates a ServerPlugin array on a ServerPlugin array.static AsyncList<ServerPlugin>toServerPluginAsyncList(AsyncList<ServerPlugin> source)Creates a ServerPlugin asynclist on a ServerPlugin collection.static PagedResult<ServerPlugin>toServerPluginList(PagedResult<ServerPlugin> source)Creates a ServerPlugin pagedResult on a ServerPlugin collection.static List<ServerPlugin>toServerPluginList(Collection<ServerPlugin> source)Creates a ServerPlugin list on a ServerPlugin collection.StringtoString()Returns a string representation of the value object.
-
-
-
Constructor Detail
-
ServerPlugin
public ServerPlugin()
-
ServerPlugin
public ServerPlugin(Long id, String version, String name, boolean enabled, String author, Date deployed, Collection<ServerPluginModule> modules)
-
ServerPlugin
public ServerPlugin(ServerPlugin otherBean)
-
-
Method Detail
-
getId
public Long getId()
Gets value for attribute id
-
setId
public void setId(Long id)
Sets value for attribute id
-
getVersion
public String getVersion()
Gets value for attribute version
-
setVersion
public void setVersion(String version)
Sets value for attribute version
-
getName
public String getName()
Gets value for attribute name
-
setName
public void setName(String name)
Sets value for attribute name
-
isEnabled
public boolean isEnabled()
Gets value for attribute enabled
-
setEnabled
public void setEnabled(boolean enabled)
Sets value for attribute enabled
-
getAuthor
public String getAuthor()
Gets value for attribute author
-
setAuthor
public void setAuthor(String author)
Sets value for attribute author
-
getDeployed
public Date getDeployed()
Gets value for attribute deployed
-
setDeployed
public void setDeployed(Date deployed)
Sets value for attribute deployed
-
getModules
public Collection<ServerPluginModule> getModules()
Gets value for attribute modules
-
setModules
public void setModules(Collection<ServerPluginModule> modules)
Sets value for attribute modules
-
toString
public String toString()
Returns a string representation of the value object.
-
toServerPlugin
public static ServerPlugin toServerPlugin(ServerPlugin vo)
Creates a ServerPlugin value object based on a ServerPlugin object.
-
toServerPluginList
public static List<ServerPlugin> toServerPluginList(Collection<ServerPlugin> source)
Creates a ServerPlugin list on a ServerPlugin collection.
-
toServerPluginList
public static PagedResult<ServerPlugin> toServerPluginList(PagedResult<ServerPlugin> source)
Creates a ServerPlugin pagedResult on a ServerPlugin collection.
-
toServerPluginAsyncList
public static AsyncList<ServerPlugin> toServerPluginAsyncList(AsyncList<ServerPlugin> source)
Creates a ServerPlugin asynclist on a ServerPlugin collection.
-
toServerPluginArray
public static ServerPlugin[] toServerPluginArray(ServerPlugin[] source)
Creates a ServerPlugin array on a ServerPlugin array.
-
toServerPlugin
public static void toServerPlugin(ServerPlugin source, ServerPlugin target)
Updates a ServerPlugin value object based on a ServerPlugin object.
-
-