edu.iastate.metnet.hibernate
Class BlockunitrefKey

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

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

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

See Also:
Serialized Form

Constructor Summary
BlockunitrefKey()
          Simple constructor of BlockunitrefKey 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.String getReftype()
          Returns the value of the reftype property.
 java.lang.String getRefvalue()
          Returns the value of the refvalue property.
 java.lang.String getUsername()
          Returns the value of the username 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 setReftype(java.lang.String reftype)
          Sets the value of the reftype property.
 void setRefvalue(java.lang.String refvalue)
          Sets the value of the refvalue property.
 void setUsername(java.lang.String username)
          Sets the value of the username property.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlockunitrefKey

public BlockunitrefKey()
Simple constructor of BlockunitrefKey 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 -

getReftype

public java.lang.String getReftype()
Returns the value of the reftype property.

Returns:
java.lang.String

setReftype

public void setReftype(java.lang.String reftype)
Sets the value of the reftype property.

Parameters:
reftype -

getRefvalue

public java.lang.String getRefvalue()
Returns the value of the refvalue property.

Returns:
java.lang.String

setRefvalue

public void setRefvalue(java.lang.String refvalue)
Sets the value of the refvalue property.

Parameters:
refvalue -

getUsername

public java.lang.String getUsername()
Returns the value of the username property.

Returns:
java.lang.String

setUsername

public void setUsername(java.lang.String username)
Sets the value of the username property.

Parameters:
username -

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