org.silverpeas.search.indexEngine.model
Class ExternalComponent

java.lang.Object
  extended by org.silverpeas.search.indexEngine.model.ExternalComponent
All Implemented Interfaces:
Serializable

public final class ExternalComponent
extends Object
implements Serializable

An ExternalComponent object.

See Also:
Serialized Form

Constructor Summary
ExternalComponent(String server, String component, String dataPath, String url)
           
 
Method Summary
 boolean equals(Object o)
          The equals method is re-defined so that an ExternalComponent can be added in a Set or used as a Map key.
 String getComponent()
          Return the component name.
 String getDataPath()
           
 String getServer()
          Return the server name.
 String getUrl()
           
 int hashCode()
          The hashCode method is re-defined so that an ExternalComponent can be added in a Set or used as a Map key.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExternalComponent

public ExternalComponent(String server,
                         String component,
                         String dataPath,
                         String url)
Parameters:
server -
component -
dataPath -
url -
Method Detail

getServer

public String getServer()
Return the server name.

Returns:

getComponent

public String getComponent()
Return the component name.

Returns:

getDataPath

public String getDataPath()
Returns:
the dataPath

getUrl

public String getUrl()
Returns:
the url

equals

public boolean equals(Object o)
The equals method is re-defined so that an ExternalComponent can be added in a Set or used as a Map key.

Overrides:
equals in class Object
Parameters:
o -

hashCode

public int hashCode()
The hashCode method is re-defined so that an ExternalComponent can be added in a Set or used as a Map key.

Overrides:
hashCode in class Object


Copyright © 2016 Silverpeas. All Rights Reserved.