|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.stratelia.webactiv.util.WAPrimaryKey
com.stratelia.webactiv.util.node.model.NodePK
public class NodePK
It's the Node PrimaryKey object It identify a Node
| Field Summary | |
|---|---|
static String |
BIN_NODE_ID
|
NodeDetail |
nodeDetail
To apply the fat key pattern. |
static String |
ROOT_NODE_ID
|
static String |
UNCLASSED_NODE_ID
|
static String |
UNDEFINED_NODE_ID
|
| Fields inherited from class com.stratelia.webactiv.util.WAPrimaryKey |
|---|
componentName, id, space |
| Constructor Summary | |
|---|---|
NodePK(String id)
Constructor which set only the id |
|
NodePK(String id,
String componentId)
|
|
NodePK(String id,
String space,
String componentName)
Constructor which set id, space and component name |
|
NodePK(String id,
WAPrimaryKey pk)
Constructor which set the id The WAPrimaryKey provides space and component name |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
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 |
boolean |
isRoot()
|
boolean |
isTrash()
|
boolean |
isUnclassed()
|
boolean |
isUndefined()
|
| 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 |
| Field Detail |
|---|
public static final String UNDEFINED_NODE_ID
public static final String ROOT_NODE_ID
public static final String BIN_NODE_ID
public static final String UNCLASSED_NODE_ID
public transient NodeDetail nodeDetail
| Constructor Detail |
|---|
public NodePK(String id)
id -
public NodePK(String id,
String space,
String componentName)
id - space - componentName -
public NodePK(String id,
String componentId)
public NodePK(String id,
WAPrimaryKey pk)
id - pk - | Method Detail |
|---|
public boolean isTrash()
public boolean isRoot()
public boolean isUnclassed()
public boolean isUndefined()
public String getRootTableName()
getRootTableName in class WAPrimaryKeypublic String getTableName()
getTableName in class WAPrimaryKeyWAPrimaryKey.space,
WAPrimaryKey.componentName,
WAPrimaryKey.getRootTableName()public boolean equals(Object obj)
equals in class WAPrimaryKeyobj - the object to compare to this NodePK
Object.equals(java.lang.Object)public int hashCode()
hashCode in class WAPrimaryKeyObject.hashCode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||