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 void
addOther(SimpleEntity other)
Integer
getId()
String
getName()
Set<SimpleEntity>
getOthers()
List<SimpleEntity>
getOthersIdentifierBag()
Integer
getSomeInteger()
void
setId(Integer id)
void
setName(String name)
void
setOthers(Set<SimpleEntity> others)
void
setOthersIdentifierBag(List<SimpleEntity> othersIdentifierBag)
void
setSomeInteger(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)
-
-