net.sf.jagzilla.hibernate
Class AttachStatusPrimaryKey

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

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

represents the primary key for the class AttachStatus.

Author:
mgriffa
See Also:
AttachStatus, Serialized Form

Constructor Summary
AttachStatusPrimaryKey()
           
AttachStatusPrimaryKey(int attachId, int statusId)
          constructs an instance withe the given data
 
Method Summary
 boolean equals(AttachStatusPrimaryKey o)
          Returns true if this AttachStatusPrimaryKey is equal to another AttachStatusPrimaryKey.
 boolean equals(java.lang.Object o)
          Returns true if this AttachStatusPrimaryKey is equal to another object.
 int getAttachId()
           
 int getStatusId()
           
 int hashCode()
          Override hashCode.
 void setAttachId(int attachId)
           
 void setStatusId(int statusId)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttachStatusPrimaryKey

public AttachStatusPrimaryKey()

AttachStatusPrimaryKey

public AttachStatusPrimaryKey(int attachId,
                              int statusId)
constructs an instance withe the given data

Parameters:
attachId - id of the attach
statusId - id of the status
Method Detail

getAttachId

public int getAttachId()
Returns:
Returns the attachId.

setAttachId

public void setAttachId(int attachId)
Parameters:
attachId - The attachId to set.

getStatusId

public int getStatusId()
Returns:
Returns the statusId.

setStatusId

public void setStatusId(int statusId)
Parameters:
statusId - The statusId 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 AttachStatusPrimaryKey is equal to another object.

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

equals

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

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


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