@Generated(value="org.nuiton.topia.generator.EntityTransformer", date="Sat Apr 11 05:24:51 UTC 2015") public abstract class DepartmentAbstract extends TopiaEntityAbstract implements Department
| Modifier and Type | Field and Description |
|---|---|
protected Company |
company
Nom de l'attribut en BD : company
|
protected Employe |
leader
Nom de l'attribut en BD : leader
|
protected String |
name
Nom de l'attribut en BD : name
|
protected Collection<Product> |
product
Nom de l'attribut en BD : product
|
PROPERTY_COMPANY, PROPERTY_LEADER, PROPERTY_NAME, PROPERTY_PRODUCT| Constructor and Description |
|---|
DepartmentAbstract() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(EntityVisitor visitor) |
protected void |
accept0(EntityVisitor visitor) |
void |
addAllProduct(Collection<Product> product) |
void |
addProduct(Product product) |
void |
clearProduct() |
List<TopiaEntity> |
getAggregate() |
Company |
getCompany() |
List<TopiaEntity> |
getComposite() |
Employe |
getLeader() |
String |
getName() |
Collection<Product> |
getProduct() |
Product |
getProductByTopiaId(String topiaId) |
boolean |
isProductEmpty() |
void |
removeProduct(Product product) |
void |
setCompany(Company company) |
void |
setLeader(Employe leader) |
void |
setName(String name) |
void |
setProduct(Collection<Product> product) |
int |
sizeProduct() |
String |
toString() |
protected String name
protected Employe leader
protected Company company
protected Collection<Product> product
public void accept(EntityVisitor visitor)
throws TopiaException
TopiaExceptionprotected void accept0(EntityVisitor visitor)
throws TopiaException
TopiaExceptionpublic void setName(String name)
setName in interface Departmentpublic String getName()
getName in interface Departmentpublic void setLeader(Employe leader)
setLeader in interface Departmentpublic Employe getLeader()
getLeader in interface Departmentpublic void setCompany(Company company)
setCompany in interface Departmentpublic Company getCompany()
getCompany in interface Departmentpublic void addProduct(Product product)
addProduct in interface Departmentpublic void addAllProduct(Collection<Product> product)
addAllProduct in interface Departmentpublic void setProduct(Collection<Product> product)
setProduct in interface Departmentpublic void removeProduct(Product product)
removeProduct in interface Departmentpublic void clearProduct()
clearProduct in interface Departmentpublic Collection<Product> getProduct()
getProduct in interface Departmentpublic Product getProductByTopiaId(String topiaId)
getProductByTopiaId in interface Departmentpublic int sizeProduct()
sizeProduct in interface Departmentpublic boolean isProductEmpty()
isProductEmpty in interface Departmentpublic List<TopiaEntity> getAggregate() throws TopiaException
TopiaExceptionpublic List<TopiaEntity> getComposite() throws TopiaException
TopiaExceptionpublic String toString()
Copyright © 2004–2015 CodeLutin. All rights reserved.