Class NodeIdObjectId
java.lang.Object
com.gentics.contentnode.rest.model.NodeIdObjectId
- All Implemented Interfaces:
Serializable
Object containing nodeId and objectId of an object selected for an overview
- See Also:
-
Constructor Summary
ConstructorDescriptionCreate empty instanceNodeIdObjectId
(int nodeId, int objectId) Create instance with node ID and object ID -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Node IDint
Object IDint
hashCode()
void
setNodeId
(int nodeId) Set the node IDvoid
setObjectId
(int objectId) Set the object IDtoString()
-
Constructor Details
-
NodeIdObjectId
public NodeIdObjectId()Create empty instance -
NodeIdObjectId
public NodeIdObjectId(int nodeId, int objectId) Create instance with node ID and object ID- Parameters:
nodeId
- node IDobjectId
- object ID
-
-
Method Details
-
getNodeId
public int getNodeId()Node ID- Returns:
- node ID
-
setNodeId
public void setNodeId(int nodeId) Set the node ID- Parameters:
nodeId
- node ID
-
getObjectId
public int getObjectId()Object ID- Returns:
- object ID
-
setObjectId
public void setObjectId(int objectId) Set the object ID- Parameters:
objectId
- object ID
-
toString
-
equals
-
hashCode
public int hashCode()
-