org.nuiton.topiatest
Interface Company

All Superinterfaces:
org.nuiton.topia.persistence.TopiaEntity
All Known Implementing Classes:
CompanyAbstract, CompanyImpl

public interface Company
extends org.nuiton.topia.persistence.TopiaEntity


Field Summary
static String DEPARTMENT
           
static String EMPLOYE
           
static String NAME
           
static String SIRET
           
static String STORE_BILL
           
 
Fields inherited from interface org.nuiton.topia.persistence.TopiaEntity
TOPIA_CREATE_DATE, TOPIA_ID, TOPIA_VERSION
 
Method Summary
 void addAllDepartment(Collection<Department> department)
          addAllDepartment :
 void addAllEmploye(Collection<Employe> employe)
          addAllEmploye :
 void addAllStoreBill(Collection<Bill> bill)
          addAllStoreBill :
 void addDepartment(Department department)
          addDepartment :
 void addEmploye(Employe employe)
          addEmploye :
 void addStoreBill(Bill bill)
          addStoreBill :
 void clearDepartment()
          clearDepartment :
 void clearEmploye()
          clearEmploye :
 void clearStoreBill()
          clearStoreBill : Vide la Collection de Bill .
 Collection<Department> getDepartment()
          getDepartment :
 Department getDepartmentByTopiaId(String topiaId)
          getDepartmentByTopiaId : Recupère l'attribut department à partir de son topiaId
 Collection<Employe> getEmploye()
          getEmploye :
 Employe getEmployeByTopiaId(String topiaId)
          getEmployeByTopiaId : Recupère l'attribut employe à partir de son topiaId
 String getName()
          getName :
 int getSiret()
          getSiret :
 Collection<Bill> getStoreBill()
          getStoreBill :
 Bill getStoreBill(Store value)
          getStoreBill :
 Bill getStoreBillByTopiaId(String topiaId)
          getStoreBillByTopiaId : Recupère l'attribut store à partir de son topiaId
 boolean isDepartmentEmpty()
          isDepartmentEmpty : Retourne true si la collection department est vide.
 boolean isEmployeEmpty()
          isEmployeEmpty : Retourne true si la collection employe est vide.
 boolean isStoreBillEmpty()
          isStoreBillEmpty :
 void removeDepartment(Department department)
          removeDepartment :
 void removeEmploye(Employe employe)
          removeEmploye :
 void removeStoreBill(Bill bill)
          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> bill)
          setStoreBill :
 int sizeDepartment()
          sizeDepartment : Retourne le nombre d'éléments de la collection department
 int sizeEmploye()
          sizeEmploye : Retourne le nombre d'éléments de la collection employe
 int sizeStoreBill()
          sizeStoreBill :
 
Methods inherited from interface org.nuiton.topia.persistence.TopiaEntity
accept, addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, delete, getAggregate, getComposite, getTopiaContext, getTopiaCreateDate, getTopiaId, getTopiaVersion, postCreate, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaCreateDate, setTopiaId, setTopiaVersion, update
 

Field Detail

NAME

static final String NAME
See Also:
Constant Field Values

SIRET

static final String SIRET
See Also:
Constant Field Values

EMPLOYE

static final String EMPLOYE
See Also:
Constant Field Values

STORE_BILL

static final String STORE_BILL
See Also:
Constant Field Values

DEPARTMENT

static final String DEPARTMENT
See Also:
Constant Field Values
Method Detail

setName

void setName(String name)
setName :

Parameters:
name - La valeur de l'attribut name à positionner.

getName

String getName()
getName :

Returns:
String

setSiret

void setSiret(int siret)
setSiret :

Parameters:
siret - La valeur de l'attribut siret à positionner.

getSiret

int getSiret()
getSiret :

Returns:
int

addEmploye

void addEmploye(Employe employe)
addEmploye :

Parameters:
employe - L'instance de employe à ajouter

addAllEmploye

void addAllEmploye(Collection<Employe> employe)
addAllEmploye :

Parameters:
employe - Les instances de employe à ajouter

setEmploye

void setEmploye(Collection<Employe> employe)
setEmploye :

Parameters:
employe - La Collection de employe à ajouter

removeEmploye

void removeEmploye(Employe employe)
removeEmploye :

Parameters:
employe - Vide la Collection de employe

clearEmploye

void clearEmploye()
clearEmploye :


getEmploye

Collection<Employe> getEmploye()
getEmploye :

Returns:
Collection

getEmployeByTopiaId

Employe getEmployeByTopiaId(String topiaId)
getEmployeByTopiaId : Recupère l'attribut employe à partir de son topiaId

Parameters:
topiaId - le topia id de l'entité recherchée
Returns:
Employe

sizeEmploye

int sizeEmploye()
sizeEmploye : Retourne le nombre d'éléments de la collection employe

Returns:
int

isEmployeEmpty

boolean isEmployeEmpty()
isEmployeEmpty : Retourne true si la collection employe est vide.

Returns:
boolean

addStoreBill

void addStoreBill(Bill bill)
addStoreBill :

Parameters:
bill - L'instance de Bill à ajouter

addAllStoreBill

void addAllStoreBill(Collection<Bill> bill)
addAllStoreBill :

Parameters:
bill - Les instances de Bill à ajouter

setStoreBill

void setStoreBill(Collection<Bill> bill)
setStoreBill :

Parameters:
bill - La Collection de Bill à ajouter

removeStoreBill

void removeStoreBill(Bill bill)
removeStoreBill :

Parameters:
bill - L'instance de Bill à retirer

clearStoreBill

void clearStoreBill()
clearStoreBill : Vide la Collection de Bill .


getStoreBill

Collection<Bill> getStoreBill()
getStoreBill :

Returns:
Collection

getStoreBillByTopiaId

Bill getStoreBillByTopiaId(String topiaId)
getStoreBillByTopiaId : Recupère l'attribut store à partir de son topiaId

Parameters:
topiaId - le topia id de l'entité recherchée
Returns:
Bill

getStoreBill

Bill getStoreBill(Store value)
getStoreBill :

Parameters:
value -
Returns:
Bill

sizeStoreBill

int sizeStoreBill()
sizeStoreBill :

Returns:
int

isStoreBillEmpty

boolean isStoreBillEmpty()
isStoreBillEmpty :

Returns:
boolean

addDepartment

void addDepartment(Department department)
addDepartment :

Parameters:
department - L'instance de department à ajouter

addAllDepartment

void addAllDepartment(Collection<Department> department)
addAllDepartment :

Parameters:
department - Les instances de department à ajouter

setDepartment

void setDepartment(Collection<Department> department)
setDepartment :

Parameters:
department - La Collection de department à ajouter

removeDepartment

void removeDepartment(Department department)
removeDepartment :

Parameters:
department - Vide la Collection de department

clearDepartment

void clearDepartment()
clearDepartment :


getDepartment

Collection<Department> getDepartment()
getDepartment :

Returns:
Collection

getDepartmentByTopiaId

Department getDepartmentByTopiaId(String topiaId)
getDepartmentByTopiaId : Recupère l'attribut department à partir de son topiaId

Parameters:
topiaId - le topia id de l'entité recherchée
Returns:
Department

sizeDepartment

int sizeDepartment()
sizeDepartment : Retourne le nombre d'éléments de la collection department

Returns:
int

isDepartmentEmpty

boolean isDepartmentEmpty()
isDepartmentEmpty : Retourne true si la collection department est vide.

Returns:
boolean


Copyright © 2004-2010 CodeLutin. All Rights Reserved.