Package org.nuiton.topiatest
Interface Company
- All Superinterfaces:
java.io.Serializable,org.nuiton.topia.persistence.TopiaEntity
- All Known Implementing Classes:
CompanyAbstract,CompanyImpl
public interface Company
extends org.nuiton.topia.persistence.TopiaEntity
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPROPERTY_DEPARTMENTstatic java.lang.StringPROPERTY_EMPLOYEstatic java.lang.StringPROPERTY_NAMEstatic java.lang.StringPROPERTY_SIRETstatic java.lang.StringPROPERTY_STORE_BILL -
Method Summary
Modifier and Type Method Description voidaddAllDepartment(java.util.Collection<Department> department)voidaddAllEmploye(java.util.Collection<Employe> employe)voidaddAllStoreBill(java.util.Collection<Bill> storeBill)voidaddDepartment(Department department)voidaddEmploye(Employe employe)voidaddStoreBill(Bill storeBill)voidclearDepartment()voidclearEmploye()voidclearStoreBill()java.util.Collection<Department>getDepartment()DepartmentgetDepartmentByTopiaId(java.lang.String topiaId)java.util.Collection<Employe>getEmploye()EmployegetEmployeByTopiaId(java.lang.String topiaId)java.lang.StringgetName()intgetSiret()java.util.Collection<Bill>getStoreBill()BillgetStoreBill(Store store)BillgetStoreBillByTopiaId(java.lang.String topiaId)booleanisDepartmentEmpty()booleanisEmployeEmpty()booleanisStoreBillEmpty()voidremoveDepartment(Department department)voidremoveEmploye(Employe employe)voidremoveStoreBill(Bill storeBill)voidsetDepartment(java.util.Collection<Department> department)voidsetEmploye(java.util.Collection<Employe> employe)voidsetName(java.lang.String name)voidsetSiret(int siret)voidsetStoreBill(java.util.Collection<Bill> storeBill)intsizeDepartment()intsizeEmploye()intsizeStoreBill()Methods inherited from interface org.nuiton.topia.persistence.TopiaEntity
accept, addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, getAggregate, getComposite, getTopiaCreateDate, getTopiaId, getTopiaVersion, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaCreateDate, setTopiaId, setTopiaVersion
-
Field Details
-
PROPERTY_NAME
static final java.lang.String PROPERTY_NAME- See Also:
- Constant Field Values
-
PROPERTY_SIRET
static final java.lang.String PROPERTY_SIRET- See Also:
- Constant Field Values
-
PROPERTY_EMPLOYE
static final java.lang.String PROPERTY_EMPLOYE- See Also:
- Constant Field Values
-
PROPERTY_STORE_BILL
static final java.lang.String PROPERTY_STORE_BILL- See Also:
- Constant Field Values
-
PROPERTY_DEPARTMENT
static final java.lang.String PROPERTY_DEPARTMENT- See Also:
- Constant Field Values
-
-
Method Details
-
setName
void setName(java.lang.String name) -
getName
java.lang.String getName() -
setSiret
void setSiret(int siret) -
getSiret
int getSiret() -
addEmploye
-
addAllEmploye
-
setEmploye
-
removeEmploye
-
clearEmploye
void clearEmploye() -
getEmploye
java.util.Collection<Employe> getEmploye() -
getEmployeByTopiaId
-
sizeEmploye
int sizeEmploye() -
isEmployeEmpty
boolean isEmployeEmpty() -
addStoreBill
-
addAllStoreBill
-
setStoreBill
-
removeStoreBill
-
clearStoreBill
void clearStoreBill() -
getStoreBill
java.util.Collection<Bill> getStoreBill() -
getStoreBillByTopiaId
-
getStoreBill
-
sizeStoreBill
int sizeStoreBill() -
isStoreBillEmpty
boolean isStoreBillEmpty() -
addDepartment
-
addAllDepartment
-
setDepartment
-
removeDepartment
-
clearDepartment
void clearDepartment() -
getDepartment
java.util.Collection<Department> getDepartment() -
getDepartmentByTopiaId
-
sizeDepartment
int sizeDepartment() -
isDepartmentEmpty
boolean isDepartmentEmpty()
-