| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.stratelia.webactiv.util.WAPrimaryKey
com.silverpeas.gallery.model.MediaPK
public class MediaPK
It's the Node PrimaryKey object It identify a Node
| Field Summary | 
|---|
| Fields inherited from class com.stratelia.webactiv.util.WAPrimaryKey | 
|---|
componentName, id, space | 
| Constructor Summary | |
|---|---|
MediaPK(String id)
Constructor which set only the id  | 
|
MediaPK(String id,
        String componentId)
 | 
|
MediaPK(String id,
        String space,
        String componentName)
Constructor which set id, space and component name  | 
|
MediaPK(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()
Return the object table name  | 
 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 | 
|---|
public MediaPK(String id)
public MediaPK(String id,
               String space,
               String componentName)
public MediaPK(String id,
               String componentId)
public MediaPK(String id,
               com.stratelia.webactiv.util.WAPrimaryKey pk)
| Method Detail | 
|---|
public String getRootTableName()
getRootTableName in class com.stratelia.webactiv.util.WAPrimaryKeypublic String getTableName()
getTableName in class com.stratelia.webactiv.util.WAPrimaryKeypublic boolean equals(Object other)
equals in class com.stratelia.webactiv.util.WAPrimaryKeyother - the object to compare to this NodePK
public int hashCode()
hashCode in class com.stratelia.webactiv.util.WAPrimaryKey
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||