org.apache.portals.graffito.model.server.impl
Class ServerImpl

java.lang.Object
  extended by org.apache.portals.graffito.model.server.impl.ServerImpl
All Implemented Interfaces:
java.io.Serializable, org.apache.portals.graffito.model.server.Server
Direct Known Subclasses:
FileSystemServerImpl, GraffitoServerImpl, WebdavServerImpl

public class ServerImpl
extends java.lang.Object
implements org.apache.portals.graffito.model.server.Server, java.io.Serializable

Implementation of Server

Author:
Christophe Lombart
See Also:
Serialized Form

Field Summary
protected  java.lang.String alias
           
protected  java.lang.String description
           
protected  java.lang.String scope
           
protected  int serverId
           
protected  java.lang.String storeClassName
           
protected  java.lang.String title
           
 
Constructor Summary
ServerImpl()
           
 
Method Summary
 boolean equals(java.lang.Object object)
           
 java.lang.String getAlias()
           
 java.lang.String getDescription()
           
 java.lang.String getScope()
           
 int getServerId()
           
 java.lang.String getStoreClassName()
           
 java.lang.String getTitle()
           
 void setAlias(java.lang.String alias)
           
 void setDescription(java.lang.String description)
           
 void setScope(java.lang.String scope)
           
 void setServerId(int serverId)
          Set the server ID
 void setStoreClassName(java.lang.String pluginClassName)
           
 void setTitle(java.lang.String title)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serverId

protected int serverId

alias

protected java.lang.String alias

description

protected java.lang.String description

scope

protected java.lang.String scope

title

protected java.lang.String title

storeClassName

protected java.lang.String storeClassName
Constructor Detail

ServerImpl

public ServerImpl()
Method Detail

getServerId

public int getServerId()
Returns:
the server ID

setServerId

public void setServerId(int serverId)
Set the server ID

Parameters:
serverId -

getAlias

public java.lang.String getAlias()
Specified by:
getAlias in interface org.apache.portals.graffito.model.server.Server
See Also:
Server.getAlias()

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface org.apache.portals.graffito.model.server.Server
See Also:
Server.getDescription()

getScope

public java.lang.String getScope()
Specified by:
getScope in interface org.apache.portals.graffito.model.server.Server
See Also:
Server.getScope()

getTitle

public java.lang.String getTitle()
Specified by:
getTitle in interface org.apache.portals.graffito.model.server.Server
See Also:
Server.getTitle()

setAlias

public void setAlias(java.lang.String alias)
Specified by:
setAlias in interface org.apache.portals.graffito.model.server.Server
See Also:
Server.setAlias(java.lang.String)

setDescription

public void setDescription(java.lang.String description)
Specified by:
setDescription in interface org.apache.portals.graffito.model.server.Server
See Also:
Server.setDescription(java.lang.String)

setScope

public void setScope(java.lang.String scope)
Specified by:
setScope in interface org.apache.portals.graffito.model.server.Server
See Also:
Server.setScope(java.lang.String)

setTitle

public void setTitle(java.lang.String title)
Specified by:
setTitle in interface org.apache.portals.graffito.model.server.Server
See Also:
Server.setTitle(java.lang.String)

getStoreClassName

public java.lang.String getStoreClassName()
Specified by:
getStoreClassName in interface org.apache.portals.graffito.model.server.Server
See Also:
Server.getStoreClassName()

setStoreClassName

public void setStoreClassName(java.lang.String pluginClassName)
Specified by:
setStoreClassName in interface org.apache.portals.graffito.model.server.Server
See Also:
Server.setStoreClassName(java.lang.String)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class java.lang.Object
See Also:
Object.equals(java.lang.Object)


Copyright © 2004-2006 The Apache Software Foundation. All Rights Reserved.