org.openxma.dsl.reference.model.impl
Class CategoryImpl
java.lang.Object
org.openxma.dsl.reference.base.model.impl.BaseEntityImpl
org.openxma.dsl.reference.model.impl.CategoryImpl
- All Implemented Interfaces:
- BaseEntity, Category
@Component(value="categoryPrototype")
@Scope(value="prototype")
public class CategoryImpl
- extends BaseEntityImpl
- implements Category
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
CategoryImpl
public CategoryImpl()
setName
public void setName(java.lang.String name)
- Specified by:
setName in interface Category
getName
public java.lang.String getName()
- Specified by:
getName in interface Category
setDisplayName
public void setDisplayName(java.lang.String displayName)
- Specified by:
setDisplayName in interface Category
getDisplayName
public java.lang.String getDisplayName()
- Specified by:
getDisplayName in interface Category
getParentCategory
public Category getParentCategory()
- Specified by:
getParentCategory in interface Category
setParentCategory
public void setParentCategory(Category parentCategory)
- Specified by:
setParentCategory in interface Category
getSubCategories
public java.util.Set<Category> getSubCategories()
- Specified by:
getSubCategories in interface Category
hasSubCategories
public boolean hasSubCategories()
- Specified by:
hasSubCategories in interface Category
addSubCategories
public void addSubCategories(Category subCategories)
- Specified by:
addSubCategories in interface Category
removeSubCategories
public void removeSubCategories(Category subCategories)
- Specified by:
removeSubCategories in interface Category
removeAllSubCategories
public void removeAllSubCategories()
- Specified by:
removeAllSubCategories in interface Category
getProducts
public java.util.Set<Product> getProducts()
- Specified by:
getProducts in interface Category
hasProducts
public boolean hasProducts()
- Specified by:
hasProducts in interface Category
addProducts
public void addProducts(Product products)
- Specified by:
addProducts in interface Category
removeProducts
public void removeProducts(Product products)
- Specified by:
removeProducts in interface Category
removeAllProducts
public void removeAllProducts()
- Specified by:
removeAllProducts in interface Category
toString
public java.lang.String toString()
- Overrides:
toString in class BaseEntityImpl
Copyright © 2010. All Rights Reserved.