org.opencrx.kernel.contract1.jdo2
Class ContractQueryFilterProperty

java.lang.Object
  extended by org.oasisopen.jdo2.Identifiable
      extended by org.w3c.jdo2.AbstractObject
          extended by org.opencrx.kernel.contract1.jdo2.ContractFilterProperty
              extended by org.opencrx.kernel.contract1.jdo2.ContractQueryFilterProperty
All Implemented Interfaces:
Serializable, AbstractFilterProperty, QueryFilterProperty, SecureObject, ContractFilterProperty, ContractQueryFilterProperty, BasicObject, ContextCapable, ExtentCapable, ViewCapable

public class ContractQueryFilterProperty
extends ContractFilterProperty
implements ContractQueryFilterProperty

Class ContractQueryFilterProperty

See Also:
Serialized Form

Nested Class Summary
static class ContractQueryFilterProperty.Slice
          Slice object hold the ContractQueryFilterProperty's multivalued attributes
 
Nested classes/interfaces inherited from class org.opencrx.kernel.contract1.jdo2.ContractFilterProperty
ContractFilterProperty.Identity
 
Nested classes/interfaces inherited from class org.w3c.jdo2.AbstractObject
org.w3c.jdo2.AbstractObject.EmbeddedList<E>, org.w3c.jdo2.AbstractObject.EmbeddedSet<E>
 
Nested classes/interfaces inherited from interface org.opencrx.kernel.contract1.cci2.ContractFilterProperty
ContractFilterProperty.Identity
 
Field Summary
static List<String> CLASS
          Define the model class org::opencrx::kernel::contract1::ContractQueryFilterProperty
 
Fields inherited from class org.opencrx.kernel.contract1.jdo2.ContractFilterProperty
BASE_CLASS
 
Constructor Summary
ContractQueryFilterProperty()
           
 
Method Summary
 List<Boolean> getBooleanParam()
          Retrieves a list containing all the elements for the attribute booleanParam.
 String getClause()
          Retrieves the value for the attribute clause.
 List<XMLGregorianCalendar> getDateParam()
          Retrieves a list containing all the elements for the attribute dateParam.
 List<Date> getDateTimeParam()
          Retrieves a list containing all the elements for the attribute dateTimeParam.
 List<BigDecimal> getDecimalParam()
          Retrieves a list containing all the elements for the attribute decimalParam.
 String getDescription()
          Retrieves the possibly null value for the optional attribute description.
 List<Integer> getIntegerParam()
          Retrieves a list containing all the elements for the attribute integerParam.
 String getName()
          Retrieves the value for the attribute name.
 List<String> getStringParam()
          Retrieves a list containing all the elements for the attribute stringParam.
 Boolean isActive()
          Retrieves the possibly null value for the optional attribute isActive.
static ContractFilterProperty.Identity newIdentity(Identity contractFilter, QualifierType idType, String id)
           
protected  org.w3c.jdo2.AbstractObject.Slice newSlice(int index)
           
protected  List<String> openmdxjdoGetClass()
          Retrieve the model class
protected  int openmdxjdoGetSize(int field)
           
protected  void openmdxjdoSetSize(int field, int size)
           
static ContractFilterProperty.Identity openmdxjdoToIdentity(ObjectId objectId)
           
 void setActive(Boolean isActive)
          Sets a new value for the attribute isActive.
 void setBooleanParam(boolean... booleanParam)
          Clears booleanParam and adds the given value(s).
 void setClause(String clause)
          Sets a new value for the attribute clause.
 void setDateParam(XMLGregorianCalendar... dateParam)
          Clears dateParam and adds the given value(s).
 void setDateTimeParam(Date... dateTimeParam)
          Clears dateTimeParam and adds the given value(s).
 void setDecimalParam(BigDecimal... decimalParam)
          Clears decimalParam and adds the given value(s).
 void setDescription(String description)
          Sets a new value for the attribute description.
 void setIntegerParam(int... integerParam)
          Clears integerParam and adds the given value(s).
 void setName(String name)
          Sets a new value for the attribute name.
 void setStringParam(String... stringParam)
          Clears stringParam and adds the given value(s).
 
Methods inherited from class org.opencrx.kernel.contract1.jdo2.ContractFilterProperty
addOwningGroup, addToContractFilter, addToContractFilter, checkPermissions, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getContext, getCreatedAt, getCreatedBy, getIdentity, getModifiedAt, getModifiedBy, getOwner, getOwningGroup, getOwningUser, getView, openmdxjdoGetObjectId, openmdxjdoGetSlices, removeAllOwningGroup, removeOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser, setOwningUser
 
Methods inherited from class org.w3c.jdo2.AbstractObject
openmdxjdoClassName, openmdxjdoGetIdentityBuilder, 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, openmdxjdoNewObjectId, openmdxjdoNewObjectId
 
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.SecureObject
addOwningGroup, checkPermissions, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwner, getOwningGroup, getOwningUser, removeAllOwningGroup, removeOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser, setOwningUser
 
Methods inherited from interface org.openmdx.base.cci2.BasicObject
getCreatedAt, getCreatedBy, getModifiedAt, getModifiedBy
 
Methods inherited from interface org.openmdx.base.cci2.ContextCapable
getContext
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.compatibility.view1.cci2.ViewCapable
getView
 

Field Detail

CLASS

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

Constructor Detail

ContractQueryFilterProperty

public ContractQueryFilterProperty()
Method Detail

getDateTimeParam

public final List<Date> getDateTimeParam()
Retrieves a list containing all the elements for the attribute dateTimeParam.

Specified by:
getDateTimeParam in interface QueryFilterProperty
Returns:
A list containing all elements for this attribute.

setDateTimeParam

public void setDateTimeParam(Date... dateTimeParam)
Clears dateTimeParam and adds the given value(s).

This method is equivalent to

   list.clear();
   for(java.util.Date e : attributeName){
     list.add(e);
   }
 

Specified by:
setDateTimeParam in interface QueryFilterProperty
Parameters:
dateTimeParam - value(s) to be added to dateTimeParam

getDateParam

public final List<XMLGregorianCalendar> getDateParam()
Retrieves a list containing all the elements for the attribute dateParam.

Specified by:
getDateParam in interface QueryFilterProperty
Returns:
A list containing all elements for this attribute.

setDateParam

public void setDateParam(XMLGregorianCalendar... dateParam)
Clears dateParam and adds the given value(s).

This method is equivalent to

   list.clear();
   for(javax.xml.datatype.XMLGregorianCalendar e : attributeName){
     list.add(e);
   }
 

Specified by:
setDateParam in interface QueryFilterProperty
Parameters:
dateParam - value(s) to be added to dateParam

getDescription

public final String getDescription()
Retrieves the possibly null value for the optional attribute description.

Specified by:
getDescription in interface AbstractFilterProperty
Returns:
The possibly null value for attribute description.

setDescription

public void setDescription(String description)
Sets a new value for the attribute description.

Specified by:
setDescription in interface AbstractFilterProperty
Parameters:
description - The possibly null new value for attribute description.

getName

public String getName()
Retrieves the value for the attribute name.

Specified by:
getName in interface AbstractFilterProperty
Returns:
The non-null value for attribute name.

setName

public void setName(String name)
Sets a new value for the attribute name.

Specified by:
setName in interface AbstractFilterProperty
Parameters:
name - The non-null new value for attribute name.

getBooleanParam

public final List<Boolean> getBooleanParam()
Retrieves a list containing all the elements for the attribute booleanParam.

Specified by:
getBooleanParam in interface QueryFilterProperty
Returns:
A list containing all elements for this attribute.

setBooleanParam

public void setBooleanParam(boolean... booleanParam)
Clears booleanParam and adds the given value(s).

This method is equivalent to

   list.clear();
   for(boolean e : attributeName){
     list.add(e);
   }
 

Specified by:
setBooleanParam in interface QueryFilterProperty
Parameters:
booleanParam - value(s) to be added to booleanParam

getIntegerParam

public final List<Integer> getIntegerParam()
Retrieves a list containing all the elements for the attribute integerParam.

Specified by:
getIntegerParam in interface QueryFilterProperty
Returns:
A list containing all elements for this attribute.

setIntegerParam

public void setIntegerParam(int... integerParam)
Clears integerParam and adds the given value(s).

This method is equivalent to

   list.clear();
   for(int e : attributeName){
     list.add(e);
   }
 

Specified by:
setIntegerParam in interface QueryFilterProperty
Parameters:
integerParam - value(s) to be added to integerParam

isActive

public final Boolean isActive()
Retrieves the possibly null value for the optional attribute isActive.

Specified by:
isActive in interface AbstractFilterProperty
Returns:
The possibly null value for attribute isActive.

setActive

public void setActive(Boolean isActive)
Sets a new value for the attribute isActive.

Specified by:
setActive in interface AbstractFilterProperty
Parameters:
isActive - The possibly null new value for attribute isActive.

getDecimalParam

public final List<BigDecimal> getDecimalParam()
Retrieves a list containing all the elements for the attribute decimalParam.

Specified by:
getDecimalParam in interface QueryFilterProperty
Returns:
A list containing all elements for this attribute.

setDecimalParam

public void setDecimalParam(BigDecimal... decimalParam)
Clears decimalParam and adds the given value(s).

This method is equivalent to

   list.clear();
   for(java.math.BigDecimal e : attributeName){
     list.add(e);
   }
 

Specified by:
setDecimalParam in interface QueryFilterProperty
Parameters:
decimalParam - value(s) to be added to decimalParam

getStringParam

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

Specified by:
getStringParam in interface QueryFilterProperty
Returns:
A list containing all elements for this attribute.

setStringParam

public void setStringParam(String... stringParam)
Clears stringParam and adds the given value(s).

This method is equivalent to

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

Specified by:
setStringParam in interface QueryFilterProperty
Parameters:
stringParam - value(s) to be added to stringParam

getClause

public String getClause()
Retrieves the value for the attribute clause.

Specified by:
getClause in interface QueryFilterProperty
Returns:
The non-null value for attribute clause.

setClause

public void setClause(String clause)
Sets a new value for the attribute clause.

Specified by:
setClause in interface QueryFilterProperty
Parameters:
clause - The non-null new value for attribute clause.

openmdxjdoGetSize

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

openmdxjdoSetSize

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

newSlice

protected org.w3c.jdo2.AbstractObject.Slice newSlice(int index)
Overrides:
newSlice in class ContractFilterProperty

openmdxjdoGetClass

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

Overrides:
openmdxjdoGetClass in class ContractFilterProperty
Returns:
the model class
See Also:
ContractQueryFilterProperty.CLASS

newIdentity

public static ContractFilterProperty.Identity newIdentity(Identity contractFilter,
                                                          QualifierType idType,
                                                          String id)

openmdxjdoToIdentity

public static ContractFilterProperty.Identity openmdxjdoToIdentity(ObjectId objectId)


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