|
||||||||||
| 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
|
protected Collection<Employe> |
employe
|
protected String |
name
|
protected int |
siret
|
protected Collection<Bill> |
storeBill
|
| 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 |
|---|
DEPARTMENT, EMPLOYE, NAME, SIRET, 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> values)
addAllDepartment : |
void |
addAllEmploye(Collection<Employe> values)
addAllEmploye : |
void |
addAllStoreBill(Collection<Bill> values)
addAllStoreBill : |
void |
addDepartment(Department department)
addDepartment : |
void |
addEmploye(Employe employe)
addEmploye : |
void |
addStoreBill(Bill value)
addStoreBill : |
void |
clearDepartment()
clearDepartment : |
void |
clearEmploye()
clearEmploye : |
void |
clearStoreBill()
clearStoreBill : |
void |
delete()
Deprecated. since 2.3.4, use the DAO api instead. |
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 value)
getStoreBill : |
Bill |
getStoreBillByTopiaId(String topiaId)
getStoreBillByTopiaId : |
boolean |
isDepartmentEmpty()
isDepartmentEmpty : |
boolean |
isEmployeEmpty()
isEmployeEmpty : |
boolean |
isStoreBillEmpty()
isStoreBillEmpty : |
void |
removeDepartment(Department value)
removeDepartment : |
void |
removeEmploye(Employe value)
removeEmploye : |
void |
removeStoreBill(Bill value)
removeStoreBill : |
void |
setDepartment(Collection<Department> values)
setDepartment : |
void |
setEmploye(Collection<Employe> values)
setEmploye : |
void |
setName(String value)
setName : |
void |
setSiret(int value)
setSiret : |
void |
setStoreBill(Collection<Bill> values)
setStoreBill : |
int |
sizeDepartment()
sizeDepartment : |
int |
sizeEmploye()
sizeEmploye : |
int |
sizeStoreBill()
sizeStoreBill : |
String |
toString()
toString : |
void |
update()
Deprecated. since 2.3.4, use the DAO api instead. |
| 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, postCreate, 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, getTopiaContext, getTopiaCreateDate, getTopiaId, getTopiaVersion, postCreate, 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 String getName()
getName in interface Companypublic int getSiret()
getSiret in interface Company
@Deprecated
public void update()
throws org.nuiton.topia.TopiaException
update in interface org.nuiton.topia.persistence.TopiaEntityupdate in class org.nuiton.topia.persistence.TopiaEntityAbstractorg.nuiton.topia.TopiaException
@Deprecated
public void delete()
throws org.nuiton.topia.TopiaException
delete in interface org.nuiton.topia.persistence.TopiaEntitydelete in class org.nuiton.topia.persistence.TopiaEntityAbstractorg.nuiton.topia.TopiaException
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.TopiaException
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 void setName(String value)
setName in interface Companyvalue - public void setSiret(int value)
setSiret in interface Companyvalue - public void addEmploye(Employe employe)
addEmploye in interface Companyemploye - public void addAllEmploye(Collection<Employe> values)
addAllEmploye in interface Companyvalues - public Employe getEmployeByTopiaId(String topiaId)
getEmployeByTopiaId in interface CompanytopiaId -
public void setEmploye(Collection<Employe> values)
setEmploye in interface Companyvalues - public void removeEmploye(Employe value)
removeEmploye in interface Companyvalue - public void clearEmploye()
clearEmploye in interface Companypublic Collection<Employe> getEmploye()
getEmploye in interface Companypublic int sizeEmploye()
sizeEmploye in interface Companypublic boolean isEmployeEmpty()
isEmployeEmpty in interface Companypublic void addStoreBill(Bill value)
addStoreBill in interface Companyvalue - public Bill getStoreBillByTopiaId(String topiaId)
getStoreBillByTopiaId in interface CompanytopiaId -
public void addAllStoreBill(Collection<Bill> values)
addAllStoreBill in interface Companyvalues - public void setStoreBill(Collection<Bill> values)
setStoreBill in interface Companyvalues - public void removeStoreBill(Bill value)
removeStoreBill in interface Companyvalue - public void clearStoreBill()
clearStoreBill in interface Companypublic Collection<Bill> getStoreBill()
getStoreBill in interface Companypublic Bill getStoreBill(Store value)
getStoreBill in interface Companyvalue -
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> values)
addAllDepartment in interface Companyvalues - public Department getDepartmentByTopiaId(String topiaId)
getDepartmentByTopiaId in interface CompanytopiaId -
public void setDepartment(Collection<Department> values)
setDepartment in interface Companyvalues - public void removeDepartment(Department value)
removeDepartment in interface Companyvalue - public void clearDepartment()
clearDepartment in interface Companypublic Collection<Department> getDepartment()
getDepartment in interface Companypublic int sizeDepartment()
sizeDepartment in interface Companypublic boolean isDepartmentEmpty()
isDepartmentEmpty in interface Companypublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||