org.opencrx.kernel.contract1.cci2
Interface ContractStateFilterProperty

All Superinterfaces:
AbstractFilterProperty, AttributeFilterProperty, BasicObject, ContextCapable, ContractAttributeFilterProperty, ContractFilterProperty, Creatable, ExtentCapable, Modifiable, SecureObject
All Known Subinterfaces:
ContractStateFilterProperty
All Known Implementing Classes:
ContractStateFilterProperty

public interface ContractStateFilterProperty
extends ContractAttributeFilterProperty

Class ContractStateFilterProperty


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.opencrx.kernel.contract1.cci2.ContractFilterProperty
ContractFilterProperty.Identity
 
Method Summary
 List<Short> getContractState()
          Retrieves a list containing all the elements for the attribute contractState.
 void setContractState(short... contractState)
          Clears contractState and adds the given value(s).
 
Methods inherited from interface org.opencrx.kernel.base.cci2.AttributeFilterProperty
getFilterOperator, getFilterQuantor, setFilterOperator, setFilterQuantor
 
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
 

Method Detail

getContractState

List<Short> getContractState()
Retrieves a list containing all the elements for the attribute contractState.

Returns:
A list containing all elements for this attribute.

setContractState

void setContractState(short... contractState)
Clears contractState and adds the given value(s).

This method is equivalent to

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

Parameters:
contractState - value(s) to be added to contractState


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