net.sf.jagzilla.hibernate
Class VersionPrimaryKey

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

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

represents the primary key for the class Version.

Author:
mgriffa
See Also:
Version, Serialized Form

Constructor Summary
VersionPrimaryKey()
           
 
Method Summary
 boolean equals(java.lang.Object o)
          Returns true if this VersionPrimaryKey is equal to another object.
 boolean equals(VersionPrimaryKey o)
          Returns true if this VersionPrimaryKey is equal to another VersionPrimaryKey.
 java.lang.String getProgram()
           
 java.lang.String getValue()
           
 int hashCode()
          Override hashCode.
 void setProgram(java.lang.String program)
           
 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

VersionPrimaryKey

public VersionPrimaryKey()
Method Detail

getProgram

public java.lang.String getProgram()
Returns:
Returns the program.

setProgram

public void setProgram(java.lang.String program)
Parameters:
program - The program 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()

equals

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

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

equals

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

Returns:
true if this VersionPrimaryKey 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.