Class PropertyComposite
java.lang.Object
de.mid.innovator.m2msdk.model.transformation.property.PropertyDescriptorImpl
de.mid.innovator.m2msdk.model.transformation.property.PropertyComposite
- All Implemented Interfaces:
PropertyDescriptorIF,Serializable
Generic property descriptor to apply a second property descriptor on the
result of the first property descriptor. This also works for a list of
elements as result of first descriptor but the second property descriptor has to accept a list as input type, e.g. ListSize.
- Version:
- 10.1.1
- Author:
- jmback
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a subordinated property descriptor to this property descriptor.getValue(MappingElementIF element, ExpressionContext expressionContext) Read value from item.toString()Methods inherited from class de.mid.innovator.m2msdk.model.transformation.property.PropertyDescriptorImpl
addSubDescriptor, filter, getDescription, getKnownNames, getMetaModel, getPropertyType, getResult, getSubDescriptors, getValue, getValueAsString, getValues, isLogged, setValue
-
Constructor Details
-
PropertyComposite
public PropertyComposite() -
PropertyComposite
-
-
Method Details
-
getValue
public PropertyValue getValue(MappingElementIF element, ExpressionContext expressionContext) throws M2MException, RemoteException Description copied from interface:PropertyDescriptorIFRead value from item.- Specified by:
getValuein interfacePropertyDescriptorIF- Overrides:
getValuein classPropertyDescriptorImpl- Parameters:
element- TODOexpressionContext- context containing the model element and the source and the target and the anchors- Returns:
- items value
- Throws:
M2MExceptionRemoteExceptionRemoteException
-
addSubDescriptor
Description copied from interface:PropertyDescriptorIFAdd a subordinated property descriptor to this property descriptor.- Specified by:
addSubDescriptorin interfacePropertyDescriptorIF- Overrides:
addSubDescriptorin classPropertyDescriptorImpl- Parameters:
sub- Property descriptor which has to be evaluated for evaluating this descriptor- Throws:
AbortException- critical errorRemoteExceptionRemoteException
-
toString
- Overrides:
toStringin classPropertyDescriptorImpl
-