org.opencrx.kernel.contract1.jpa3
Class TotalAmountFilterProperty

java.lang.Object
  extended by org.w3c.jpa3.AbstractObject
      extended by org.opencrx.kernel.contract1.jpa3.ContractFilterProperty
          extended by org.opencrx.kernel.contract1.jpa3.TotalAmountFilterProperty
All Implemented Interfaces:
Serializable, AbstractFilterProperty, AttributeFilterProperty, SecureObject, ContractAttributeFilterProperty, ContractFilterProperty, TotalAmountFilterProperty, BasicObject, ContextCapable, Creatable, ExtentCapable, Modifiable

public class TotalAmountFilterProperty
extends ContractFilterProperty
implements TotalAmountFilterProperty

Class TotalAmountFilterProperty

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.w3c.jpa3.AbstractObject
org.w3c.jpa3.AbstractObject.AbstractStateAccessor, org.w3c.jpa3.AbstractObject.EmbeddedList<E>, org.w3c.jpa3.AbstractObject.EmbeddedSet<E>, org.w3c.jpa3.AbstractObject.ObjectState, org.w3c.jpa3.AbstractObject.SlicedList<E,S>, org.w3c.jpa3.AbstractObject.SlicedMap<E,S>, org.w3c.jpa3.AbstractObject.SlicedSet<E,S>
 
Nested classes/interfaces inherited from interface org.opencrx.kernel.contract1.cci2.ContractFilterProperty
ContractFilterProperty.Identity
 
Field Summary
 
Fields inherited from class org.opencrx.kernel.contract1.jpa3.ContractFilterProperty
createdAt, identity, modifiedAt
 
Constructor Summary
TotalAmountFilterProperty()
          Constructor
 
Method Summary
 short getFilterOperator()
          Retrieves the value for the attribute filterOperator.
 short getFilterQuantor()
          Retrieves the value for the attribute filterQuantor.
 List<BigDecimal> getTotalAmount()
          Retrieves a list containing all the elements for the attribute totalAmount.
 void setFilterOperator(short filterOperator)
          Sets a new value for the attribute filterOperator.
 void setFilterQuantor(short filterQuantor)
          Sets a new value for the attribute filterQuantor.
 void setTotalAmount(BigDecimal... totalAmount)
          Clears totalAmount and adds the given value(s).
 
Methods inherited from class org.opencrx.kernel.contract1.jpa3.ContractFilterProperty
addOwningGroup, checkPermissions, getAccessGrantedByParent_Id, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getContext, getCreatedAt, getCreatedBy, getDescription, getIdentity, getModifiedAt, getModifiedBy, getName, getOpenmdxjdoIdentity, getOwner, getOwningGroup_Id, getOwningGroup, getOwningUser_Id, getOwningUser, isActive, openmdxjdoGetSlices, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setActive, setContractFilter_Id, setContractFilter, setDescription, setName, setOpenmdxjdoIdentity, setOwner, setOwningUser_Id, setOwningUser, setOwningUser
 
Methods inherited from class org.w3c.jpa3.AbstractObject
openmdxjdoMakeDirty, openmdxjdoSetArray, openmdxjdoSetCollection, openmdxjdoToArray, openmdxjdoToArray
 
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, setOwner, 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
 

Constructor Detail

TotalAmountFilterProperty

public TotalAmountFilterProperty()
Constructor

Method Detail

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.

getTotalAmount

public List<BigDecimal> getTotalAmount()
Retrieves a list containing all the elements for the attribute totalAmount.

Specified by:
getTotalAmount in interface TotalAmountFilterProperty
Returns:
A list containing all elements for this attribute.

setTotalAmount

public void setTotalAmount(BigDecimal... totalAmount)
Clears totalAmount and adds the given value(s).

This method is equivalent to

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

Specified by:
setTotalAmount in interface TotalAmountFilterProperty
Parameters:
totalAmount - value(s) to be added to totalAmount


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