Class PropertyFunctionDefinition
java.lang.Object
de.mid.innovator.m2msdk.model.transformation.property.PropertyDescriptorImpl
de.mid.innovator.m2msdk.model.transformation.property.PropertyListBase
de.mid.innovator.m2msdk.model.transformation.property.PropertyFunctionDefinition
- All Implemented Interfaces:
PropertyDescriptorIF,Serializable
Select an element from the list of the first descriptor which complies the
second descriptor. The first descriptor has to return a list and the second
has to return a boolean. For each element of the list of the first descriptor
the second descriptor is evaluated and if true, the element is returned.
- Version:
- 11.4
- Author:
- jna
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetValue(MappingElementIF element, ExpressionContext ec) Read value from item.setValue(MappingElementIF el, PropertyValue iValue) Set value for item.Methods inherited from class de.mid.innovator.m2msdk.model.transformation.property.PropertyDescriptorImpl
addSubDescriptor, addSubDescriptor, filter, getDescription, getKnownNames, getMetaModel, getPropertyType, getResult, getSubDescriptors, getValue, getValueAsString, getValues, isLogged, toString
-
Constructor Details
-
PropertyFunctionDefinition
public PropertyFunctionDefinition() -
PropertyFunctionDefinition
-
-
Method Details
-
setValue
public OperationResult setValue(MappingElementIF el, PropertyValue iValue) throws M2MException, RemoteException Description copied from interface:PropertyDescriptorIFSet value for item.- Specified by:
setValuein interfacePropertyDescriptorIF- Overrides:
setValuein classPropertyDescriptorImpl- Parameters:
el- item where to set the property (maybe null, meaning to set the value of the descriptor itself)iValue- to be set- Returns:
- false result, if error; true result, if identically changed; else setted value
- Throws:
M2MException- exception while settingRemoteException
-
getValue
public PropertyValue getValue(MappingElementIF element, ExpressionContext ec) throws M2MException, RemoteException Description copied from interface:PropertyDescriptorIFRead value from item.- Specified by:
getValuein interfacePropertyDescriptorIF- Overrides:
getValuein classPropertyDescriptorImpl- Parameters:
element- TODOec- context containing the model element and the source and the target and the anchors- Returns:
- items value
- Throws:
M2MExceptionRemoteExceptionRemoteException
-