org.silverpeas.connecteurJDBC.service
Class ConnecteurJDBCConnectionInfoPK

java.lang.Object
  extended by com.stratelia.webactiv.util.WAPrimaryKey
      extended by org.silverpeas.connecteurJDBC.service.ConnecteurJDBCConnectionInfoPK
All Implemented Interfaces:
Serializable, Cloneable

public class ConnecteurJDBCConnectionInfoPK
extends com.stratelia.webactiv.util.WAPrimaryKey
implements Serializable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.stratelia.webactiv.util.WAPrimaryKey
componentName, id, space
 
Constructor Summary
ConnecteurJDBCConnectionInfoPK(String id)
          Constructor which set only the id
ConnecteurJDBCConnectionInfoPK(String id, String space, String componentName)
          Constructor which set the id The WAPrimaryKey provides space and component name
ConnecteurJDBCConnectionInfoPK(String id, com.stratelia.webactiv.util.WAPrimaryKey pk)
          Constructor which set the id The WAPrimaryKey provides space and component name
 
Method Summary
 boolean equals(Object other)
          Check if an another object is equal to this object
 String getRootTableName()
          Return the object root table name
 String getTableName()
           
 int hashCode()
          Returns a hash code for the key
 
Methods inherited from class com.stratelia.webactiv.util.WAPrimaryKey
clone, getComponentName, getId, getInstanceId, getSpace, getSpaceId, getTableName, setComponentName, setId, setSpace, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConnecteurJDBCConnectionInfoPK

public ConnecteurJDBCConnectionInfoPK(String id)
Constructor which set only the id

Since:
1.0

ConnecteurJDBCConnectionInfoPK

public ConnecteurJDBCConnectionInfoPK(String id,
                                      String space,
                                      String componentName)
Constructor which set the id The WAPrimaryKey provides space and component name

Since:
1.0

ConnecteurJDBCConnectionInfoPK

public ConnecteurJDBCConnectionInfoPK(String id,
                                      com.stratelia.webactiv.util.WAPrimaryKey pk)
Constructor which set the id The WAPrimaryKey provides space and component name

Since:
1.0
Method Detail

getRootTableName

public String getRootTableName()
Return the object root table name

Overrides:
getRootTableName in class com.stratelia.webactiv.util.WAPrimaryKey
Returns:
the root table name of the object
Since:
1.0

getTableName

public String getTableName()
Overrides:
getTableName in class com.stratelia.webactiv.util.WAPrimaryKey

equals

public boolean equals(Object other)
Check if an another object is equal to this object

Specified by:
equals in class com.stratelia.webactiv.util.WAPrimaryKey
Parameters:
other - the object to compare to this NodePK
Returns:
true if other is equals to this object
Since:
1.0

hashCode

public int hashCode()
Returns a hash code for the key

Overrides:
hashCode in class com.stratelia.webactiv.util.WAPrimaryKey
Returns:
A hash code for this object


Copyright © 2016 Silverpeas. All Rights Reserved.