org.opencrx.kernel.product1.jpa3
Class CategoryFilterProperty

java.lang.Object
  extended by org.oasisopen.jdo2.Identifiable
      extended by org.w3c.jpa3.AbstractObject
          extended by org.opencrx.kernel.product1.jpa3.ProductFilterProperty
              extended by org.opencrx.kernel.product1.jpa3.CategoryFilterProperty
All Implemented Interfaces:
Serializable, AbstractFilterProperty, AttributeFilterProperty, SecureObject, CategoryFilterProperty, ProductAttributeFilterProperty, ProductFilterProperty, AspectCapable, BasicObject, ContextCapable, Creatable, ExtentCapable, Modifiable

public class CategoryFilterProperty
extends ProductFilterProperty
implements CategoryFilterProperty

Class CategoryFilterProperty

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.w3c.jpa3.AbstractObject
org.w3c.jpa3.AbstractObject.EmbeddedList<E>, org.w3c.jpa3.AbstractObject.EmbeddedSet<E>, org.w3c.jpa3.AbstractObject.Slice
 
Nested classes/interfaces inherited from interface org.opencrx.kernel.product1.cci2.ProductFilterProperty
ProductFilterProperty.Identity
 
Field Summary
static List<String> CLASS
          Define the model class org::opencrx::kernel::product1::CategoryFilterProperty
 
Fields inherited from class org.opencrx.kernel.product1.jpa3.ProductFilterProperty
BASE_CLASS
 
Constructor Summary
CategoryFilterProperty()
          Constructor
 
Method Summary
 List<String> getCategory()
          Retrieves a list containing all the elements for the attribute category.
 short getFilterOperator()
          Retrieves the value for the attribute filterOperator.
 short getFilterQuantor()
          Retrieves the value for the attribute filterQuantor.
protected  org.w3c.jpa3.AbstractObject.Slice newCategoryFilterProperty$Slice(int index)
           
protected  List<String> openmdxjdoGetClass()
          Retrieve the model class
protected  int openmdxjdoGetSize(int field)
           
protected  void openmdxjdoSetSize(int field, int size)
           
 void setCategory(String... category)
          Clears category and adds the given value(s).
 void setFilterOperator(short filterOperator)
          Sets a new value for the attribute filterOperator.
 void setFilterQuantor(short filterQuantor)
          Sets a new value for the attribute filterQuantor.
 
Methods inherited from class org.opencrx.kernel.product1.jpa3.ProductFilterProperty
addOwningGroup, checkPermissions, getAccessGrantedByParent_Id, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getContext, getCreatedAt, getCreatedBy, getDescription, getIdentity, getModifiedAt, getModifiedBy, getName, getOwner, getOwningGroup_Id, getOwningGroup, getOwningUser_Id, getOwningUser, isActive, newProductFilterProperty$Slice, openmdxjdoGetObjectId, openmdxjdoGetSlices, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setActive, setDescription, setName, setOwningUser_Id, setOwningUser, setOwningUser, setProductFilter_Id, setProductFilter
 
Methods inherited from class org.w3c.jpa3.AbstractObject
openmdxjdoClassName, openmdxjdoGetList, openmdxjdoGetObjectsByParent, openmdxjdoGetSet, openmdxjdoGetSparseArray, openmdxjdoNewMap, openmdxjdoNewSlice, openmdxjdoSetArray, openmdxjdoSetCollection, openmdxjdoToArray, openmdxjdoToArray, openmdxjdoValidateElement
 
Methods inherited from class org.oasisopen.jdo2.Identifiable
jdoClass, modelClasses, openmdxjdoGetObject, openmdxjdoGetObjectById, openmdxjdoGetObjectId, openmdxjdoGetObjectSet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opencrx.kernel.base.cci2.AbstractFilterProperty
getDescription, getName, isActive, setActive, setDescription, setName
 
Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject
addOwningGroup, checkPermissions, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwner, getOwningGroup, getOwningUser, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser, setOwningUser
 
Methods inherited from interface org.openmdx.base.cci2.ContextCapable
getContext
 
Methods inherited from interface org.openmdx.base.cci2.Creatable
getCreatedAt, getCreatedBy
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.base.cci2.Modifiable
getModifiedAt, getModifiedBy
 

Field Detail

CLASS

public static final List<String> CLASS
Define the model class org::opencrx::kernel::product1::CategoryFilterProperty

Constructor Detail

CategoryFilterProperty

public CategoryFilterProperty()
Constructor

Method Detail

getCategory

public final List<String> getCategory()
Retrieves a list containing all the elements for the attribute category.

Specified by:
getCategory in interface CategoryFilterProperty
Returns:
A list containing all elements for this attribute.

setCategory

public void setCategory(String... category)
Clears category and adds the given value(s).

This method is equivalent to

   list.clear();
   for(java.lang.String e : attributeName){
     list.add(e);
   }
 

Specified by:
setCategory in interface CategoryFilterProperty
Parameters:
category - value(s) to be added to category

getFilterQuantor

public short getFilterQuantor()
Retrieves the value for the attribute filterQuantor.

Specified by:
getFilterQuantor in interface AttributeFilterProperty
Returns:
The non-null value for attribute filterQuantor.

setFilterQuantor

public void setFilterQuantor(short filterQuantor)
Sets a new value for the attribute filterQuantor.

Specified by:
setFilterQuantor in interface AttributeFilterProperty
Parameters:
filterQuantor - The non-null new value for attribute filterQuantor.

getFilterOperator

public short getFilterOperator()
Retrieves the value for the attribute filterOperator.

Specified by:
getFilterOperator in interface AttributeFilterProperty
Returns:
The non-null value for attribute filterOperator.

setFilterOperator

public void setFilterOperator(short filterOperator)
Sets a new value for the attribute filterOperator.

Specified by:
setFilterOperator in interface AttributeFilterProperty
Parameters:
filterOperator - The non-null new value for attribute filterOperator.

openmdxjdoGetSize

protected int openmdxjdoGetSize(int field)
Overrides:
openmdxjdoGetSize in class ProductFilterProperty

openmdxjdoSetSize

protected void openmdxjdoSetSize(int field,
                                 int size)
Overrides:
openmdxjdoSetSize in class ProductFilterProperty

newCategoryFilterProperty$Slice

protected org.w3c.jpa3.AbstractObject.Slice newCategoryFilterProperty$Slice(int index)

openmdxjdoGetClass

protected List<String> openmdxjdoGetClass()
Retrieve the model class

Overrides:
openmdxjdoGetClass in class ProductFilterProperty
Returns:
the model class
See Also:
CategoryFilterProperty.CLASS


This software is published under the BSD license. Copyright © 2003-2009, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.