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
|
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.SecureObject |
addOwningGroup, checkPermissions, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwner, getOwningGroup, getOwningUser, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwner, setOwningUser, setOwningUser |
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.