Package myorg.relex.many2one
Class HousePK
- java.lang.Object
-
- myorg.relex.many2one.HousePK
-
- All Implemented Interfaces:
Serializable
@Embeddable public class HousePK extends Object implements Serializable
This class provides an example compound primary key value that will be used in a many-to-one, uni-directional relationship.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private int
number
private static long
serialVersionUID
private String
street
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
number
private int number
-
street
private String street
-
-
Constructor Detail
-
HousePK
public HousePK()
-
HousePK
public HousePK(int number, String street)
-
-