org.mycore.backend.hibernate.tables
Class MCRURN

java.lang.Object
  extended by org.mycore.backend.hibernate.tables.MCRURN

public class MCRURN
extends Object

This class implement the data sructure of the MCRURN table.

Version:
$Revision: 14743 $ $Date: 2009-02-17 09:51:32 +0100 (Tue, 17 Feb 2009) $
Author:
Heiko Helmbrecht, Jens Kupferschmidt

Constructor Summary
MCRURN()
          The constructor of the class MCRURN
MCRURN(String id, String urn)
          The constructor of the class MCRURN
MCRURN(String id, String urn, String path, String filename)
          The constructor of the class MCRURN
 
Method Summary
 String getFilename()
           
 String getId()
          Get the object ID value.
 MCRURNPK getKey()
          This method returns the primary key.
 String getPath()
           
 String getURN()
          Get the URN value.
 void setFilename(String filename)
           
 void setId(String id)
          Set the object ID value.
 void setKey(MCRURNPK key)
          This method set the primary key.
 void setPath(String path)
           
 void setURN(String urn)
          Set the URN value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MCRURN

public MCRURN()
The constructor of the class MCRURN


MCRURN

public MCRURN(String id,
              String urn)
The constructor of the class MCRURN

Parameters:
id - The document ID
urn - The URN

MCRURN

public MCRURN(String id,
              String urn,
              String path,
              String filename)
The constructor of the class MCRURN

Parameters:
id - The document ID
urn - The URN
Method Detail

getKey

public MCRURNPK getKey()
This method returns the primary key.

Returns:
returns the primary key as class MCRURNPK.

setKey

public void setKey(MCRURNPK key)
This method set the primary key.

Parameters:
key - the primary key as instance of the class MCRURNPK

getId

public String getId()
Get the object ID value.

Returns:
the object ID value as a String.

setId

public void setId(String id)
Set the object ID value.

Parameters:
id - the object ID value as a string

getURN

public String getURN()
Get the URN value.

Returns:
the URN value as a String.

setURN

public void setURN(String urn)
Set the URN value.

Parameters:
urn - the urn value as a string

getPath

public String getPath()
Returns:
the path

setPath

public void setPath(String path)
Parameters:
path - the path to set

getFilename

public String getFilename()
Returns:
the filename

setFilename

public void setFilename(String filename)
Parameters:
filename - the filename to set