org.nuiton.topiatest
Interface Department

All Superinterfaces:
org.nuiton.topia.persistence.TopiaEntity
All Known Implementing Classes:
DepartmentAbstract, DepartmentImpl

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


Field Summary
static String COMPANY
           
static String LEADER
           
static String NAME
           
static String PRODUCT
           
 
Fields inherited from interface org.nuiton.topia.persistence.TopiaEntity
TOPIA_CREATE_DATE, TOPIA_ID, TOPIA_VERSION
 
Method Summary
 void addAllProduct(Collection<Product> product)
          addAllProduct :
 void addProduct(Product product)
          addProduct :
 void clearProduct()
          clearProduct :
 Company getCompany()
          getCompany :
 Employe getLeader()
          getLeader :
 String getName()
          getName :
 Collection<Product> getProduct()
          getProduct :
 Product getProductByTopiaId(String topiaId)
          getProductByTopiaId : Recupère l'attribut product à partir de son topiaId
 boolean isProductEmpty()
          isProductEmpty : Retourne true si la collection product est vide.
 void removeProduct(Product product)
          removeProduct :
 void setCompany(Company company)
          setCompany :
 void setLeader(Employe leader)
          setLeader :
 void setName(String name)
          setName :
 void setProduct(Collection<Product> product)
          setProduct :
 int sizeProduct()
          sizeProduct : Retourne le nombre d'éléments de la collection product
 
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

LEADER

static final String LEADER
See Also:
Constant Field Values

COMPANY

static final String COMPANY
See Also:
Constant Field Values

PRODUCT

static final String PRODUCT
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

setLeader

void setLeader(Employe leader)
setLeader :

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

getLeader

Employe getLeader()
getLeader :

Returns:
Employe

setCompany

void setCompany(Company company)
setCompany :

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

getCompany

Company getCompany()
getCompany :

Returns:
Company

addProduct

void addProduct(Product product)
addProduct :

Parameters:
product - L'instance de product à ajouter

addAllProduct

void addAllProduct(Collection<Product> product)
addAllProduct :

Parameters:
product - Les instances de product à ajouter

setProduct

void setProduct(Collection<Product> product)
setProduct :

Parameters:
product - La Collection de product à ajouter

removeProduct

void removeProduct(Product product)
removeProduct :

Parameters:
product - Vide la Collection de product

clearProduct

void clearProduct()
clearProduct :


getProduct

Collection<Product> getProduct()
getProduct :

Returns:
Collection

getProductByTopiaId

Product getProductByTopiaId(String topiaId)
getProductByTopiaId : Recupère l'attribut product à partir de son topiaId

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

sizeProduct

int sizeProduct()
sizeProduct : Retourne le nombre d'éléments de la collection product

Returns:
int

isProductEmpty

boolean isProductEmpty()
isProductEmpty : Retourne true si la collection product est vide.

Returns:
boolean


Copyright © 2004-2010 CodeLutin. All Rights Reserved.