net.sf.jagzilla.hibernate
Class DependencyPrimaryKey

java.lang.Object
  extended bynet.sf.jagzilla.hibernate.DependencyPrimaryKey
All Implemented Interfaces:
java.io.Serializable

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

represents the primary key for the class Dependency.

Author:
mgriffa
See Also:
Dependency, Serialized Form

Constructor Summary
DependencyPrimaryKey()
           
 
Method Summary
 boolean equals(DependencyPrimaryKey o)
          Returns true if this DependencyPrimaryKey is equal to another DependencyPrimaryKey.
 boolean equals(java.lang.Object o)
          Returns true if this DependencyPrimaryKey is equal to another object.
 int getBlocked()
           
 int getDependsOn()
           
 int hashCode()
          Override hashCode.
 void setBlocked(int blocked)
           
 void setDependsOn(int dependsOn)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DependencyPrimaryKey

public DependencyPrimaryKey()
Method Detail

getBlocked

public int getBlocked()
Returns:
Returns the blocked.

setBlocked

public void setBlocked(int blocked)
Parameters:
blocked - The blocked to set.

getDependsOn

public int getDependsOn()
Returns:
Returns the dependsOn.

setDependsOn

public void setDependsOn(int dependsOn)
Parameters:
dependsOn - The dependsOn to set.

toString

public java.lang.String toString()

equals

public boolean equals(java.lang.Object o)
Returns true if this DependencyPrimaryKey is equal to another object.

Returns:
true if this DependencyPrimaryKey is equal to the specified object.

equals

public boolean equals(DependencyPrimaryKey o)
Returns true if this DependencyPrimaryKey is equal to another DependencyPrimaryKey.

Returns:
true if this DependencyPrimaryKey is equal to the specified object.

hashCode

public int hashCode()
Override hashCode.

Returns:
the Objects hashcode.


Distributed under the GPL. By Miguel Griffa. See the Jagzilla project page for more info.