org.nuiton.topiatest
Class CompanyAbstract
java.lang.Object
org.nuiton.topia.persistence.TopiaEntityAbstract
org.nuiton.topiatest.CompanyAbstract
- All Implemented Interfaces:
- Serializable, org.nuiton.topia.persistence.TopiaEntity, Company
- Direct Known Subclasses:
- CompanyImpl
public abstract class CompanyAbstract
- extends org.nuiton.topia.persistence.TopiaEntityAbstract
- implements Company
- See Also:
- Serialized Form
| Fields inherited from class org.nuiton.topia.persistence.TopiaEntityAbstract |
readListeners, readVetoables, topiaContext, topiaCreateDate, topiaId, topiaVersion, writeListeners, writeVetoables |
| Fields inherited from interface org.nuiton.topia.persistence.TopiaEntity |
AGGREGATE, COMPOSITE, TOPIA_CREATE_DATE, TOPIA_ID, TOPIA_VERSION |
| 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 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 |
name
protected String name
- Nom de l'attribut en BD : name
siret
protected int siret
- Nom de l'attribut en BD : siret
employe
protected Collection<Employe> employe
- Nom de l'attribut en BD : employe
storeBill
protected Collection<Bill> storeBill
- Nom de l'attribut en BD : store
department
protected Collection<Department> department
- Nom de l'attribut en BD : department
CompanyAbstract
public CompanyAbstract()
accept
public void accept(org.nuiton.topia.persistence.EntityVisitor visitor)
throws org.nuiton.topia.TopiaException
- Specified by:
accept in interface org.nuiton.topia.persistence.TopiaEntity
- Throws:
org.nuiton.topia.TopiaException
setName
public void setName(String name)
- Specified by:
setName in interface Company
getName
public String getName()
- Specified by:
getName in interface Company
setSiret
public void setSiret(int siret)
- Specified by:
setSiret in interface Company
getSiret
public int getSiret()
- Specified by:
getSiret in interface Company
addEmploye
public void addEmploye(Employe employe)
- Specified by:
addEmploye in interface Company
addAllEmploye
public void addAllEmploye(Collection<Employe> employe)
- Specified by:
addAllEmploye in interface Company
setEmploye
public void setEmploye(Collection<Employe> employe)
- Specified by:
setEmploye in interface Company
removeEmploye
public void removeEmploye(Employe employe)
- Specified by:
removeEmploye in interface Company
clearEmploye
public void clearEmploye()
- Specified by:
clearEmploye in interface Company
getEmploye
public Collection<Employe> getEmploye()
- Specified by:
getEmploye in interface Company
getEmployeByTopiaId
public Employe getEmployeByTopiaId(String topiaId)
- Specified by:
getEmployeByTopiaId in interface Company
sizeEmploye
public int sizeEmploye()
- Specified by:
sizeEmploye in interface Company
isEmployeEmpty
public boolean isEmployeEmpty()
- Specified by:
isEmployeEmpty in interface Company
addStoreBill
public void addStoreBill(Bill storeBill)
- Specified by:
addStoreBill in interface Company
addAllStoreBill
public void addAllStoreBill(Collection<Bill> storeBill)
- Specified by:
addAllStoreBill in interface Company
setStoreBill
public void setStoreBill(Collection<Bill> storeBill)
- Specified by:
setStoreBill in interface Company
removeStoreBill
public void removeStoreBill(Bill storeBill)
- Specified by:
removeStoreBill in interface Company
clearStoreBill
public void clearStoreBill()
- Specified by:
clearStoreBill in interface Company
getStoreBill
public Collection<Bill> getStoreBill()
- Specified by:
getStoreBill in interface Company
getStoreBillByTopiaId
public Bill getStoreBillByTopiaId(String topiaId)
- Specified by:
getStoreBillByTopiaId in interface Company
getStoreBill
public Bill getStoreBill(Store store)
- Specified by:
getStoreBill in interface Company
sizeStoreBill
public int sizeStoreBill()
- Specified by:
sizeStoreBill in interface Company
isStoreBillEmpty
public boolean isStoreBillEmpty()
- Specified by:
isStoreBillEmpty in interface Company
addDepartment
public void addDepartment(Department department)
- Specified by:
addDepartment in interface Company
addAllDepartment
public void addAllDepartment(Collection<Department> department)
- Specified by:
addAllDepartment in interface Company
setDepartment
public void setDepartment(Collection<Department> department)
- Specified by:
setDepartment in interface Company
removeDepartment
public void removeDepartment(Department department)
- Specified by:
removeDepartment in interface Company
clearDepartment
public void clearDepartment()
- Specified by:
clearDepartment in interface Company
getDepartment
public Collection<Department> getDepartment()
- Specified by:
getDepartment in interface Company
getDepartmentByTopiaId
public Department getDepartmentByTopiaId(String topiaId)
- Specified by:
getDepartmentByTopiaId in interface Company
sizeDepartment
public int sizeDepartment()
- Specified by:
sizeDepartment in interface Company
isDepartmentEmpty
public boolean isDepartmentEmpty()
- Specified by:
isDepartmentEmpty in interface Company
getAggregate
public List<org.nuiton.topia.persistence.TopiaEntity> getAggregate()
throws org.nuiton.topia.TopiaException
- Specified by:
getAggregate in interface org.nuiton.topia.persistence.TopiaEntity- Overrides:
getAggregate in class org.nuiton.topia.persistence.TopiaEntityAbstract
- Throws:
org.nuiton.topia.TopiaException
getComposite
public List<org.nuiton.topia.persistence.TopiaEntity> getComposite()
throws org.nuiton.topia.TopiaException
- Specified by:
getComposite in interface org.nuiton.topia.persistence.TopiaEntity- Overrides:
getComposite in class org.nuiton.topia.persistence.TopiaEntityAbstract
- Throws:
org.nuiton.topia.TopiaException
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2004-2011 CodeLutin. All Rights Reserved.