net.sf.jagzilla.hibernate
Class MilestonePrimaryKey

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

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

represents the primary key for the class Milestone.

Author:
mgriffa
See Also:
Milestone, Serialized Form

Constructor Summary
MilestonePrimaryKey()
           
 
Method Summary
 boolean equals(MilestonePrimaryKey o)
          Returns true if this MilestonePrimaryKey is equal to another MilestonePrimaryKey.
 boolean equals(java.lang.Object o)
          Returns true if this MilestonePrimaryKey is equal to another object.
 java.lang.String getProduct()
           
 java.lang.String getValue()
           
 int hashCode()
          Override hashCode.
 void setProduct(java.lang.String product)
           
 void setValue(java.lang.String value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MilestonePrimaryKey

public MilestonePrimaryKey()
Method Detail

getProduct

public java.lang.String getProduct()
Returns:
Returns the product.

setProduct

public void setProduct(java.lang.String product)
Parameters:
product - The product to set.

getValue

public java.lang.String getValue()
Returns:
Returns the value.

setValue

public void setValue(java.lang.String value)
Parameters:
value - The value to set.

toString

public java.lang.String toString()

hashCode

public int hashCode()
Override hashCode.

Returns:
the Objects hashcode.

equals

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

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

equals

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

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


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