Class PropertyOptionEvaluation
java.lang.Object
de.mid.innovator.m2msdk.model.transformation.property.PropertyDescriptorImpl
de.mid.innovator.m2msdk.model.transformation.property.PropertyOption
de.mid.innovator.m2msdk.model.transformation.property.PropertyOptionEvaluation
- All Implemented Interfaces:
PropertyDescriptorIF,Serializable
Property descriptor for reading from and writing to the OptionModel. Can be
used as string variables. This descriptor ignores the given MappingElement.
The value of the option is parsed as expression.
- Version:
- 10.1.1
- Author:
- mah
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetKnownNames(MappingElementIF iElement) Get list of known property names.getValue(MappingElementIF element, ExpressionContext expressionContext) Read value from item.Methods inherited from class de.mid.innovator.m2msdk.model.transformation.property.PropertyOption
getDescription, setValueMethods inherited from class de.mid.innovator.m2msdk.model.transformation.property.PropertyDescriptorImpl
addSubDescriptor, addSubDescriptor, filter, getMetaModel, getPropertyType, getResult, getSubDescriptors, getValue, getValueAsString, getValues, isLogged, toString
-
Constructor Details
-
PropertyOptionEvaluation
public PropertyOptionEvaluation() -
PropertyOptionEvaluation
-
-
Method Details
-
getKnownNames
public ParameterProposalList getKnownNames(MappingElementIF iElement) throws M2MException, RemoteException Description copied from interface:PropertyDescriptorIFGet list of known property names. Even with a known name, a property descriptor may fail for getting or setting a value!- Specified by:
getKnownNamesin interfacePropertyDescriptorIF- Overrides:
getKnownNamesin classPropertyOption- Parameters:
iElement- Mapping element to be treated, maybe null.- Returns:
- List of known property names.
- Throws:
M2MExceptionRemoteExceptionRemoteException
-
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 classPropertyOption- Parameters:
element- TODOexpressionContext- context containing the model element and the source and the target and the anchors- Returns:
- items value
- Throws:
M2MExceptionRemoteExceptionRemoteException
-