Package org.mycore.backend.jpa.links
Class MCRLINKHREFPK
java.lang.Object
org.mycore.backend.jpa.links.MCRLINKHREFPK
- All Implemented Interfaces:
Serializable
This class hold all primary keys of MCRLINKHREF
- Version:
- $Revision$ $Date$
- Author:
- Heiko Helmbrecht, Jens Kupferschmidt
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Get the data field from.getMcrto()
Get the data filed to.Get the data filed type.int
hashCode()
void
setMcrfrom
(String mcrfrom) Set the data field from.void
Set the data filed to.void
setMcrtype
(String mcrtype) Set the data filed type.toString()
-
Constructor Details
-
MCRLINKHREFPK
- Parameters:
from
- the source ID of the linkto
- the target ID of the linktype
- the type of the link
-
MCRLINKHREFPK
public MCRLINKHREFPK()The constructor
-
-
Method Details
-
getMcrfrom
Get the data field from.- Returns:
- Returns the mcrfrom.
-
setMcrfrom
Set the data field from.- Parameters:
mcrfrom
- The mcrfrom to set.
-
getMcrto
Get the data filed to.- Returns:
- Returns the mcrto.
-
setMcrto
Set the data filed to.- Parameters:
mcrto
- The mcrto to set.
-
getMcrtype
Get the data filed type.- Returns:
- Returns the mcrtype.
-
setMcrtype
Set the data filed type.- Parameters:
mcrtype
- The mcrtype to set.
-
hashCode
public int hashCode() -
equals
-
toString
-