org.mycore.backend.hibernate.tables
Class MCRURNPK

java.lang.Object
  extended by org.mycore.backend.hibernate.tables.MCRURNPK
All Implemented Interfaces:
Serializable

public class MCRURNPK
extends Object
implements Serializable

This class hold all primary keys of MCRURN

Version:
$Revision: 13085 $ $Date: 2008-02-06 18:27:24 +0100 (Mi, 06 Feb 2008) $
Author:
Heiko Helmbrecht, Jens Kupferschmidt
See Also:
Serialized Form

Constructor Summary
MCRURNPK()
           
 
Method Summary
 boolean equals(Object other)
          This method check the equalance of the given Object with this class.
 String getMcrid()
          Get the data field document ID.
 String getMcrurn()
          Get the data filed URN.
 int hashCode()
          This method return the hash code of this class as append of MCRFROM + MCRTO + MCRTYPE
 void setMcrid(String id)
          Set the data field document ID.
 void setMcrurn(String urn)
          Set the data filed URN.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MCRURNPK

public MCRURNPK()
Method Detail

getMcrid

public String getMcrid()
Get the data field document ID.

Returns:
Returns the document ID.

setMcrid

public void setMcrid(String id)
Set the data field document ID.

Parameters:
mcrid - The document ID to set.

getMcrurn

public String getMcrurn()
Get the data filed URN.

Returns:
Returns the URN.

setMcrurn

public void setMcrurn(String urn)
Set the data filed URN.

Parameters:
mcrurn - The URN to set.

equals

public boolean equals(Object other)
This method check the equalance of the given Object with this class. The Object must be an instance of the class MCRURNPK.

Overrides:
equals in class Object
Returns:
Returns true if the object is equal.

hashCode

public int hashCode()
This method return the hash code of this class as append of MCRFROM + MCRTO + MCRTYPE

Overrides:
hashCode in class Object
Returns:
Returns the hash code.