@Entity public class Country extends DomainChild<Country,Region>
ATTRIBUTE_CODE, ATTRIBUTE_NAME| Constructor and Description |
|---|
Country() |
Country(String code,
String name) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCode()
Overridden so we can modify the attribute model
|
Region |
getParent()
Overridden so we can modify the attribute model
|
Region |
getRegion()
The region - note that this is not a JPA attribute and you must use "parent" instead in
queries
|
void |
setRegion(Region region) |
String |
toString() |
setParentpublic void setRegion(Region region)
public Region getRegion()
public Region getParent()
getParent in class DomainChild<Country,Region>public String getCode()
Copyright © 2019 Open Circle Solutions. All rights reserved.