org.openxma.dsl.reference.model.impl
Class CategoryImpl

java.lang.Object
  extended by org.openxma.dsl.reference.base.model.impl.BaseEntityImpl
      extended by 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


Constructor Summary
CategoryImpl()
           
 
Method Summary
 void addProducts(Product products)
           
 void addSubCategories(Category subCategories)
           
 java.lang.String getDisplayName()
           
 java.lang.String getName()
           
 Category getParentCategory()
           
 java.util.Set<Product> getProducts()
           
 java.util.Set<Category> getSubCategories()
           
 boolean hasProducts()
           
 boolean hasSubCategories()
           
 void removeAllProducts()
           
 void removeAllSubCategories()
           
 void removeProducts(Product products)
           
 void removeSubCategories(Category subCategories)
           
 void setDisplayName(java.lang.String displayName)
           
 void setName(java.lang.String name)
           
 void setParentCategory(Category parentCategory)
           
 java.lang.String toString()
           
 
Methods inherited from class org.openxma.dsl.reference.base.model.impl.BaseEntityImpl
equals, getOid, getVersion, hashCode, setOid, setVersion
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.openxma.dsl.reference.base.model.BaseEntity
getOid, getVersion
 

Constructor Detail

CategoryImpl

public CategoryImpl()
Method Detail

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.