edu.iastate.metnet.hibernate
Class PathwaypartsKey

java.lang.Object
  extended by edu.iastate.metnet.hibernate.PathwaypartsKey
All Implemented Interfaces:
java.io.Serializable

public class PathwaypartsKey
extends java.lang.Object
implements java.io.Serializable

A class representing a composite primary key id for the pathwayparts table. This object should only be instantiated for use with instances of the Pathwayparts class.

See Also:
Serialized Form

Constructor Summary
PathwaypartsKey()
          Simple constructor of PathwaypartsKey instances.
 
Method Summary
 boolean equals(java.lang.Object rhs)
          Implementation of the equals comparison on the basis of equality of the id components.
 java.lang.Integer getBlockid()
          Returns the value of the blockid property.
 java.lang.Integer getPart()
          Returns the value of the part property.
 int hashCode()
          Implementation of the hashCode method conforming to the Bloch pattern with the exception of array properties (these are very unlikely primary key types).
 void setBlockid(java.lang.Integer blockid)
          Sets the value of the blockid property.
 void setPart(java.lang.Integer part)
          Sets the value of the part property.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PathwaypartsKey

public PathwaypartsKey()
Simple constructor of PathwaypartsKey instances.

Method Detail

getBlockid

public java.lang.Integer getBlockid()
Returns the value of the blockid property.

Returns:
java.lang.Integer

setBlockid

public void setBlockid(java.lang.Integer blockid)
Sets the value of the blockid property.

Parameters:
blockid -

getPart

public java.lang.Integer getPart()
Returns the value of the part property.

Returns:
java.lang.Integer

setPart

public void setPart(java.lang.Integer part)
Sets the value of the part property.

Parameters:
part -

equals

public boolean equals(java.lang.Object rhs)
Implementation of the equals comparison on the basis of equality of the id components.

Overrides:
equals in class java.lang.Object
Parameters:
rhs -
Returns:
boolean

hashCode

public int hashCode()
Implementation of the hashCode method conforming to the Bloch pattern with the exception of array properties (these are very unlikely primary key types).

Overrides:
hashCode in class java.lang.Object
Returns:
int