Class EntityWithOneToMany
- java.lang.Object
-
- org.hibernate.testing.orm.domain.gambit.EntityWithOneToMany
-
-
Constructor Summary
Constructors Constructor Description EntityWithOneToMany()EntityWithOneToMany(Integer id, String name, Integer someInteger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddOther(SimpleEntity other)IntegergetId()StringgetName()Set<SimpleEntity>getOthers()List<SimpleEntity>getOthersIdentifierBag()IntegergetSomeInteger()voidsetId(Integer id)voidsetName(String name)voidsetOthers(Set<SimpleEntity> others)voidsetOthersIdentifierBag(List<SimpleEntity> othersIdentifierBag)voidsetSomeInteger(Integer someInteger)
-
-
-
Method Detail
-
getId
public Integer getId()
-
setId
public void setId(Integer id)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getOthers
public Set<SimpleEntity> getOthers()
-
setOthers
public void setOthers(Set<SimpleEntity> others)
-
getSomeInteger
public Integer getSomeInteger()
-
setSomeInteger
public void setSomeInteger(Integer someInteger)
-
addOther
public void addOther(SimpleEntity other)
-
getOthersIdentifierBag
public List<SimpleEntity> getOthersIdentifierBag()
-
setOthersIdentifierBag
public void setOthersIdentifierBag(List<SimpleEntity> othersIdentifierBag)
-
-