|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuiton.topia.persistence.TopiaEntityAbstract
org.nuiton.topiatest.CompanyAbstract
public abstract class CompanyAbstract
| Field Summary | |
|---|---|
protected Collection<Department> |
department
Nom de l'attribut en BD : department |
protected Collection<Employe> |
employe
Nom de l'attribut en BD : employe |
protected String |
name
Nom de l'attribut en BD : name |
protected int |
siret
Nom de l'attribut en BD : siret |
protected Collection<Bill> |
storeBill
Nom de l'attribut en BD : store |
| Fields inherited from class org.nuiton.topia.persistence.TopiaEntityAbstract |
|---|
readListeners, readVetoables, topiaContext, topiaCreateDate, topiaId, topiaVersion, writeListeners, writeVetoables |
| Fields inherited from interface org.nuiton.topiatest.Company |
|---|
PROPERTY_DEPARTMENT, PROPERTY_EMPLOYE, PROPERTY_NAME, PROPERTY_SIRET, PROPERTY_STORE_BILL |
| Fields inherited from interface org.nuiton.topia.persistence.TopiaEntity |
|---|
TOPIA_CREATE_DATE, TOPIA_ID, TOPIA_VERSION |
| Constructor Summary | |
|---|---|
CompanyAbstract()
|
|
| Method Summary | |
|---|---|
void |
accept(org.nuiton.topia.persistence.EntityVisitor visitor)
accept : Envoi via les methodes du visitor l'ensemble des champs de l'entity avec leur nom, type et valeur. |
void |
addAllDepartment(Collection<Department> department)
addAllDepartment : |
void |
addAllEmploye(Collection<Employe> employe)
addAllEmploye : |
void |
addAllStoreBill(Collection<Bill> storeBill)
addAllStoreBill : |
void |
addDepartment(Department department)
addDepartment : |
void |
addEmploye(Employe employe)
addEmploye : |
void |
addStoreBill(Bill storeBill)
addStoreBill : |
void |
clearDepartment()
clearDepartment : |
void |
clearEmploye()
clearEmploye : |
void |
clearStoreBill()
clearStoreBill : |
List<org.nuiton.topia.persistence.TopiaEntity> |
getAggregate()
getAggregate : |
List<org.nuiton.topia.persistence.TopiaEntity> |
getComposite()
getComposite : |
Collection<Department> |
getDepartment()
getDepartment : |
Department |
getDepartmentByTopiaId(String topiaId)
getDepartmentByTopiaId : |
Collection<Employe> |
getEmploye()
getEmploye : |
Employe |
getEmployeByTopiaId(String topiaId)
getEmployeByTopiaId : |
String |
getName()
getName : |
int |
getSiret()
getSiret : |
Collection<Bill> |
getStoreBill()
getStoreBill : |
Bill |
getStoreBill(Store store)
getStoreBill : |
Bill |
getStoreBillByTopiaId(String topiaId)
getStoreBillByTopiaId : |
boolean |
isDepartmentEmpty()
isDepartmentEmpty : |
boolean |
isEmployeEmpty()
isEmployeEmpty : |
boolean |
isStoreBillEmpty()
isStoreBillEmpty : |
void |
removeDepartment(Department department)
removeDepartment : |
void |
removeEmploye(Employe employe)
removeEmploye : |
void |
removeStoreBill(Bill storeBill)
removeStoreBill : |
void |
setDepartment(Collection<Department> department)
setDepartment : |
void |
setEmploye(Collection<Employe> employe)
setEmploye : |
void |
setName(String name)
setName : |
void |
setSiret(int siret)
setSiret : |
void |
setStoreBill(Collection<Bill> storeBill)
setStoreBill : |
int |
sizeDepartment()
sizeDepartment : |
int |
sizeEmploye()
sizeEmploye : |
int |
sizeStoreBill()
sizeStoreBill : |
String |
toString()
toString : |
| Methods inherited from class org.nuiton.topia.persistence.TopiaEntityAbstract |
|---|
addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, equals, fireOnPostRead, fireOnPostRead, fireOnPostWrite, fireOnPostWrite, fireOnPreRead, fireOnPreWrite, getReadPropertyChangeSupport, getReadVetoableChangeSupport, getTopiaContext, getTopiaCreateDate, getTopiaId, getTopiaVersion, getWritePropertyChangeSupport, getWriteVetoableChangeSupport, hashCode, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaContext, setTopiaCreateDate, setTopiaId, setTopiaVersion |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.nuiton.topia.persistence.TopiaEntity |
|---|
addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, getTopiaCreateDate, getTopiaId, getTopiaVersion, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaCreateDate, setTopiaId, setTopiaVersion |
| Field Detail |
|---|
protected String name
protected int siret
protected Collection<Employe> employe
protected Collection<Bill> storeBill
protected Collection<Department> department
| Constructor Detail |
|---|
public CompanyAbstract()
| Method Detail |
|---|
public void accept(org.nuiton.topia.persistence.EntityVisitor visitor)
throws org.nuiton.topia.TopiaException
accept in interface org.nuiton.topia.persistence.TopiaEntityvisitor - le visiteur de l'entite.
org.nuiton.topia.TopiaExceptionpublic void setName(String name)
setName in interface Companyname - public String getName()
getName in interface Companypublic void setSiret(int siret)
setSiret in interface Companysiret - public int getSiret()
getSiret in interface Companypublic void addEmploye(Employe employe)
addEmploye in interface Companyemploye - public void addAllEmploye(Collection<Employe> employe)
addAllEmploye in interface Companyemploye - public void setEmploye(Collection<Employe> employe)
setEmploye in interface Companyemploye - public void removeEmploye(Employe employe)
removeEmploye in interface Companyemploye - public void clearEmploye()
clearEmploye in interface Companypublic Collection<Employe> getEmploye()
getEmploye in interface Companypublic Employe getEmployeByTopiaId(String topiaId)
getEmployeByTopiaId in interface CompanytopiaId -
public int sizeEmploye()
sizeEmploye in interface Companypublic boolean isEmployeEmpty()
isEmployeEmpty in interface Companypublic void addStoreBill(Bill storeBill)
addStoreBill in interface CompanystoreBill - public void addAllStoreBill(Collection<Bill> storeBill)
addAllStoreBill in interface CompanystoreBill - public void setStoreBill(Collection<Bill> storeBill)
setStoreBill in interface CompanystoreBill - public void removeStoreBill(Bill storeBill)
removeStoreBill in interface CompanystoreBill - public void clearStoreBill()
clearStoreBill in interface Companypublic Collection<Bill> getStoreBill()
getStoreBill in interface Companypublic Bill getStoreBillByTopiaId(String topiaId)
getStoreBillByTopiaId in interface CompanytopiaId -
public Bill getStoreBill(Store store)
getStoreBill in interface Companystore -
public int sizeStoreBill()
sizeStoreBill in interface Companypublic boolean isStoreBillEmpty()
isStoreBillEmpty in interface Companypublic void addDepartment(Department department)
addDepartment in interface Companydepartment - public void addAllDepartment(Collection<Department> department)
addAllDepartment in interface Companydepartment - public void setDepartment(Collection<Department> department)
setDepartment in interface Companydepartment - public void removeDepartment(Department department)
removeDepartment in interface Companydepartment - public void clearDepartment()
clearDepartment in interface Companypublic Collection<Department> getDepartment()
getDepartment in interface Companypublic Department getDepartmentByTopiaId(String topiaId)
getDepartmentByTopiaId in interface CompanytopiaId -
public int sizeDepartment()
sizeDepartment in interface Companypublic boolean isDepartmentEmpty()
isDepartmentEmpty in interface Company
public List<org.nuiton.topia.persistence.TopiaEntity> getAggregate()
throws org.nuiton.topia.TopiaException
getAggregate in interface org.nuiton.topia.persistence.TopiaEntitygetAggregate in class org.nuiton.topia.persistence.TopiaEntityAbstractorg.nuiton.topia.TopiaException
public List<org.nuiton.topia.persistence.TopiaEntity> getComposite()
throws org.nuiton.topia.TopiaException
getComposite in interface org.nuiton.topia.persistence.TopiaEntitygetComposite in class org.nuiton.topia.persistence.TopiaEntityAbstractorg.nuiton.topia.TopiaExceptionpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||