Class NodeIdObjectId

java.lang.Object
com.gentics.contentnode.rest.model.NodeIdObjectId
All Implemented Interfaces:
Serializable

public class NodeIdObjectId extends Object implements Serializable
Object containing nodeId and objectId of an object selected for an overview
See Also:
  • 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 ID
      objectId - 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

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object