Package org.mycore.backend.jpa.links
Class MCRLINKHREF
java.lang.Object
org.mycore.backend.jpa.links.MCRLINKHREF
This class implement the data sructure of the MCRLinkHref table.
- Version:
- $Revision$ $Date$
- Author:
- Heiko Helmbrecht, Jens Kupferschmidt
-
Constructor Summary
ConstructorDescriptionThe constructor of the class MCRLINKHREFMCRLINKHREF
(String from, String to, String type, String attr) The constructor of the class MCRLINKHREF -
Method Summary
Modifier and TypeMethodDescriptiongetKey()
This method returns the primary key.Get the attribute value.Get the from value.getMcrto()
Get the to value.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
Set the to value.void
setMcrtype
(String mcrtype) Set the type value.
-
Constructor Details
-
MCRLINKHREF
public MCRLINKHREF()The constructor of the class MCRLINKHREF -
MCRLINKHREF
The constructor of the class MCRLINKHREF- Parameters:
from
- The link sourceto
- The link targettype
- 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
This method returns the primary key.- Returns:
- returns the primary key as class MCRLINKHREFPK.
-
setKey
This method set the primary key.- Parameters:
key
- the primary key as instance of the class MCRLINKHREFPK
-
getMcrfrom
Get the from value.- Returns:
- the from value as a String.
-
setMcrfrom
Set the from value.- Parameters:
mcrfrom
- the from value as a string
-
getMcrto
Get the to value.- Returns:
- the to value as a String.
-
setMcrto
Set the to value.- Parameters:
mcrto
- the to value as a string
-
getMcrtype
Get the type value.- Returns:
- the type value as a String.
-
setMcrtype
Set the type value.- Parameters:
mcrtype
- the type value as a string
-
getMcrattr
Get the attribute value.- Returns:
- the attr value as a String.
-
setMcrattr
Set the attr value.- Parameters:
mcrattr
- the attr value as a string
-