Class MCRLINKHREFPK

java.lang.Object
org.mycore.backend.jpa.links.MCRLINKHREFPK
All Implemented Interfaces:
Serializable

@Embeddable public class MCRLINKHREFPK extends Object implements Serializable
This class hold all primary keys of MCRLINKHREF
Version:
$Revision$ $Date$
Author:
Heiko Helmbrecht, Jens Kupferschmidt
See Also:
  • Constructor Details

    • MCRLINKHREFPK

      public MCRLINKHREFPK(String from, String to, String type)
      Parameters:
      from - the source ID of the link
      to - the target ID of the link
      type - the type of the link
    • MCRLINKHREFPK

      public MCRLINKHREFPK()
      The constructor
  • Method Details

    • getMcrfrom

      public String getMcrfrom()
      Get the data field from.
      Returns:
      Returns the mcrfrom.
    • setMcrfrom

      public void setMcrfrom(String mcrfrom)
      Set the data field from.
      Parameters:
      mcrfrom - The mcrfrom to set.
    • getMcrto

      public String getMcrto()
      Get the data filed to.
      Returns:
      Returns the mcrto.
    • setMcrto

      public void setMcrto(String mcrto)
      Set the data filed to.
      Parameters:
      mcrto - The mcrto to set.
    • getMcrtype

      public String getMcrtype()
      Get the data filed type.
      Returns:
      Returns the mcrtype.
    • setMcrtype

      public void setMcrtype(String mcrtype)
      Set the data filed type.
      Parameters:
      mcrtype - The mcrtype to set.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object