@Entity public class OneManyOwningParent extends Object
Modifier and Type | Field and Description |
---|---|
private String |
name |
private Map<String,OneManyChild> |
ownedChildren |
Modifier | Constructor and Description |
---|---|
protected |
OneManyOwningParent() |
|
OneManyOwningParent(String name) |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
Map<String,OneManyChild> |
getOwnedChildren() |
void |
setName(String name) |
void |
setOwnedChildren(Map<String,OneManyChild> ownedChildren) |
String |
toString() |
private String name
private Map<String,OneManyChild> ownedChildren
protected OneManyOwningParent()
public OneManyOwningParent(String name)
public String getName()
public void setName(String name)
public Map<String,OneManyChild> getOwnedChildren()
public void setOwnedChildren(Map<String,OneManyChild> ownedChildren)
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.