org.nuiton.topiatest
Class CompanyAbstract

java.lang.Object
  extended by org.nuiton.topia.persistence.TopiaEntityAbstract
      extended by 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

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
 List<org.nuiton.topia.persistence.TopiaEntity> accept()
          accept :
 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()
          delete :
 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()
          update :
 
Methods inherited from class org.nuiton.topia.persistence.TopiaEntityAbstract
addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, equals, fireOnPostRead, fireOnPostRead, fireOnPostWrite, fireOnPostWrite, fireOnPreRead, fireOnPreWrite, getAggregate, getTopiaContext, getTopiaCreateDate, getTopiaId, getTopiaVersion, 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, getAggregate, getTopiaContext, getTopiaCreateDate, getTopiaId, getTopiaVersion, postCreate, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaCreateDate, setTopiaId, setTopiaVersion
 

Field Detail

name

protected String name

siret

protected int siret

employe

protected Collection<Employe> employe

storeBill

protected Collection<Bill> storeBill

department

protected Collection<Department> department
Constructor Detail

CompanyAbstract

public CompanyAbstract()
Method Detail

update

public void update()
            throws org.nuiton.topia.TopiaException
update :

Specified by:
update in interface org.nuiton.topia.persistence.TopiaEntity
Overrides:
update in class org.nuiton.topia.persistence.TopiaEntityAbstract
Throws:
org.nuiton.topia.TopiaException

delete

public void delete()
            throws org.nuiton.topia.TopiaException
delete :

Specified by:
delete in interface org.nuiton.topia.persistence.TopiaEntity
Overrides:
delete in class org.nuiton.topia.persistence.TopiaEntityAbstract
Throws:
org.nuiton.topia.TopiaException

accept

public void accept(org.nuiton.topia.persistence.EntityVisitor visitor)
            throws org.nuiton.topia.TopiaException
accept : Envoi via les methodes du visitor l'ensemble des champs de l'entity avec leur nom, type et valeur.

Specified by:
accept in interface org.nuiton.topia.persistence.TopiaEntity
Parameters:
visitor - le visiteur de l'entite.
Throws:
org.nuiton.topia.TopiaException

accept

public List<org.nuiton.topia.persistence.TopiaEntity> accept()
                                                      throws org.nuiton.topia.TopiaException
accept :

Returns:
List
Throws:
org.nuiton.topia.TopiaException

getComposite

public List<org.nuiton.topia.persistence.TopiaEntity> getComposite()
                                                            throws org.nuiton.topia.TopiaException
getComposite :

Specified by:
getComposite in interface org.nuiton.topia.persistence.TopiaEntity
Overrides:
getComposite in class org.nuiton.topia.persistence.TopiaEntityAbstract
Returns:
List
Throws:
org.nuiton.topia.TopiaException

setName

public void setName(String value)
setName :

Specified by:
setName in interface Company
Parameters:
value -

getName

public String getName()
getName :

Specified by:
getName in interface Company
Returns:
String

setSiret

public void setSiret(int value)
setSiret :

Specified by:
setSiret in interface Company
Parameters:
value -

getSiret

public int getSiret()
getSiret :

Specified by:
getSiret in interface Company
Returns:
int

addEmploye

public void addEmploye(Employe employe)
addEmploye :

Specified by:
addEmploye in interface Company
Parameters:
employe -

addAllEmploye

public void addAllEmploye(Collection<Employe> values)
addAllEmploye :

Specified by:
addAllEmploye in interface Company
Parameters:
values -

getEmployeByTopiaId

public Employe getEmployeByTopiaId(String topiaId)
getEmployeByTopiaId :

Specified by:
getEmployeByTopiaId in interface Company
Parameters:
topiaId -
Returns:
Employe

setEmploye

public void setEmploye(Collection<Employe> values)
setEmploye :

Specified by:
setEmploye in interface Company
Parameters:
values -

removeEmploye

public void removeEmploye(Employe value)
removeEmploye :

Specified by:
removeEmploye in interface Company
Parameters:
value -

clearEmploye

public void clearEmploye()
clearEmploye :

Specified by:
clearEmploye in interface Company

getEmploye

public Collection<Employe> getEmploye()
getEmploye :

Specified by:
getEmploye in interface Company
Returns:
Collection

sizeEmploye

public int sizeEmploye()
sizeEmploye :

Specified by:
sizeEmploye in interface Company
Returns:
int

isEmployeEmpty

public boolean isEmployeEmpty()
isEmployeEmpty :

Specified by:
isEmployeEmpty in interface Company
Returns:
boolean

addStoreBill

public void addStoreBill(Bill value)
addStoreBill :

Specified by:
addStoreBill in interface Company
Parameters:
value -

getStoreBillByTopiaId

public Bill getStoreBillByTopiaId(String topiaId)
getStoreBillByTopiaId :

Specified by:
getStoreBillByTopiaId in interface Company
Parameters:
topiaId -
Returns:
Bill

addAllStoreBill

public void addAllStoreBill(Collection<Bill> values)
addAllStoreBill :

Specified by:
addAllStoreBill in interface Company
Parameters:
values -

setStoreBill

public void setStoreBill(Collection<Bill> values)
setStoreBill :

Specified by:
setStoreBill in interface Company
Parameters:
values -

removeStoreBill

public void removeStoreBill(Bill value)
removeStoreBill :

Specified by:
removeStoreBill in interface Company
Parameters:
value -

clearStoreBill

public void clearStoreBill()
clearStoreBill :

Specified by:
clearStoreBill in interface Company

getStoreBill

public Collection<Bill> getStoreBill()
getStoreBill :

Specified by:
getStoreBill in interface Company
Returns:
Collection

getStoreBill

public Bill getStoreBill(Store value)
getStoreBill :

Specified by:
getStoreBill in interface Company
Parameters:
value -
Returns:
Bill

sizeStoreBill

public int sizeStoreBill()
sizeStoreBill :

Specified by:
sizeStoreBill in interface Company
Returns:
int

isStoreBillEmpty

public boolean isStoreBillEmpty()
isStoreBillEmpty :

Specified by:
isStoreBillEmpty in interface Company
Returns:
boolean

addDepartment

public void addDepartment(Department department)
addDepartment :

Specified by:
addDepartment in interface Company
Parameters:
department -

addAllDepartment

public void addAllDepartment(Collection<Department> values)
addAllDepartment :

Specified by:
addAllDepartment in interface Company
Parameters:
values -

getDepartmentByTopiaId

public Department getDepartmentByTopiaId(String topiaId)
getDepartmentByTopiaId :

Specified by:
getDepartmentByTopiaId in interface Company
Parameters:
topiaId -
Returns:
Department

setDepartment

public void setDepartment(Collection<Department> values)
setDepartment :

Specified by:
setDepartment in interface Company
Parameters:
values -

removeDepartment

public void removeDepartment(Department value)
removeDepartment :

Specified by:
removeDepartment in interface Company
Parameters:
value -

clearDepartment

public void clearDepartment()
clearDepartment :

Specified by:
clearDepartment in interface Company

getDepartment

public Collection<Department> getDepartment()
getDepartment :

Specified by:
getDepartment in interface Company
Returns:
Collection

sizeDepartment

public int sizeDepartment()
sizeDepartment :

Specified by:
sizeDepartment in interface Company
Returns:
int

isDepartmentEmpty

public boolean isDepartmentEmpty()
isDepartmentEmpty :

Specified by:
isDepartmentEmpty in interface Company
Returns:
boolean

toString

public String toString()
toString :

Overrides:
toString in class Object
Returns:
String


Copyright © 2004-2010 CodeLutin. All Rights Reserved.