Interface Department
- All Superinterfaces:
ListenableBean,ListenableTopiaEntity,Serializable,TopiaEntity
- All Known Implementing Classes:
DepartmentAbstract,DepartmentImpl
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from interface org.nuiton.topia.persistence.TopiaEntity
AGGREGATE, COMPOSITE, PROPERTY_TOPIA_CREATE_DATE, PROPERTY_TOPIA_ID, PROPERTY_TOPIA_VERSION, TOPIA_CREATE_DATE, TOPIA_ID, TOPIA_VERSION -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAllProduct(Iterable<Product> product) voidaddProduct(Product product) voidbooleancontainsProduct(Product product) getName()getProductByTopiaId(String topiaId) booleanbooleanvoidremoveProduct(Product product) voidsetCompany(Company company) voidvoidvoidsetProduct(Collection<Product> product) intMethods inherited from interface org.nuiton.topia.persistence.event.ListenableBean
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListenerMethods inherited from interface org.nuiton.topia.persistence.event.ListenableTopiaEntity
addPostReadListener, addPostReadListener, addPostWriteListener, addPostWriteListener, addPreReadListener, addPreReadListener, addPreWriteListener, addPreWriteListener, removePostReadListener, removePostReadListener, removePostWriteListener, removePostWriteListener, removePreReadListener, removePreReadListener, removePreWriteListener, removePreWriteListenerMethods inherited from interface org.nuiton.topia.persistence.TopiaEntity
accept, getTopiaCreateDate, getTopiaId, getTopiaVersion, isDeleted, isPersisted, notifyDeleted, setTopiaCreateDate, setTopiaId, setTopiaVersion
-
Field Details
-
PROPERTY_NAME
- See Also:
-
PROPERTY_LEADER
- See Also:
-
PROPERTY_COMPANY
- See Also:
-
PROPERTY_PRODUCT
- See Also:
-
-
Method Details
-
setName
-
getName
String getName() -
setLeader
-
getLeader
Employe getLeader() -
setCompany
-
getCompany
Company getCompany() -
addProduct
-
addAllProduct
-
setProduct
-
removeProduct
-
clearProduct
void clearProduct() -
getProduct
Collection<Product> getProduct() -
getProductByTopiaId
-
getProductTopiaIds
Collection<String> getProductTopiaIds() -
sizeProduct
int sizeProduct() -
isProductEmpty
boolean isProductEmpty() -
isProductNotEmpty
boolean isProductNotEmpty() -
containsProduct
-