Class MCRLINKHREF

java.lang.Object
org.mycore.backend.jpa.links.MCRLINKHREF

@Entity public class MCRLINKHREF extends Object
This class implement the data sructure of the MCRLinkHref table.
Version:
$Revision$ $Date$
Author:
Heiko Helmbrecht, Jens Kupferschmidt
  • Constructor Details

    • 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 Details

    • 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