org.mycore.backend.hibernate.tables
Class MCRLINKHREF

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

public class MCRLINKHREF
extends Object

This class implement the data sructure of the MCRLinkHref table.

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

Constructor Summary
MCRLINKHREF()
          The constructor of the class MCRLINKHREF
MCRLINKHREF(String from, String to, String type, String attr)
          The constructor of the class MCRLINKHREF
 
Method Summary
 MCRLINKHREFPK getKey()
          This method returns the primary key.
 String getMcrattr()
          Get the attribute value.
 String getMcrfrom()
          Get the from value.
 String getMcrto()
          Get the to value.
 String getMcrtype()
          Get the type value.
 void setKey(MCRLINKHREFPK key)
          This method set the primary key.
 void setMcrattr(String mcrattr)
          Set the attr value.
 void setMcrfrom(String mcrfrom)
          Set the from value.
 void setMcrto(String mcrto)
          Set the to value.
 void setMcrtype(String mcrtype)
          Set the type value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MCRLINKHREF

public MCRLINKHREF()
The constructor of the class MCRLINKHREF


MCRLINKHREF

public MCRLINKHREF(String from,
                   String to,
                   String type,
                   String attr)
The constructor of the class MCRLINKHREF

Parameters:
from - The link source
to - The link target
type - The type of the link (defined by using of this class)
attr - The optional attribute of the link (defined by using of this class)
Method Detail

getKey

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

Returns:
returns the primary key as class MCRLINKHREFPK.

setKey

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

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

getMcrfrom

public String getMcrfrom()
Get the from value.

Returns:
the from value as a String.

setMcrfrom

public void setMcrfrom(String mcrfrom)
Set the from value.

Parameters:
mcrfrom - the from value as a string

getMcrto

public String getMcrto()
Get the to value.

Returns:
the to value as a String.

setMcrto

public void setMcrto(String mcrto)
Set the to value.

Parameters:
mcrto - the to value as a string

getMcrtype

public String getMcrtype()
Get the type value.

Returns:
the type value as a String.

setMcrtype

public void setMcrtype(String mcrtype)
Set the type value.

Parameters:
mcrtype - the type value as a string

getMcrattr

public String getMcrattr()
Get the attribute value.

Returns:
the attr value as a String.

setMcrattr

public void setMcrattr(String mcrattr)
Set the attr value.

Parameters:
mcrattr - the attr value as a string