Class PropertyJavaBeansPropertyMeta
java.lang.Object
de.mid.innovator.m2msdk.model.transformation.property.PropertyDescriptorImpl
de.mid.innovator.m2msdk.model.javabeans.property.PropertyJavaBeansPropertyMeta
- All Implemented Interfaces:
PropertyDescriptorIF,Serializable
- 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.setValue(MappingElementIF el, PropertyValue value) Set value for item.Methods inherited from class de.mid.innovator.m2msdk.model.transformation.property.PropertyDescriptorImpl
addSubDescriptor, addSubDescriptor, filter, getDescription, getMetaModel, getPropertyType, getResult, getSubDescriptors, getValue, getValueAsString, getValues, isLogged, toString
-
Constructor Details
-
PropertyJavaBeansPropertyMeta
public PropertyJavaBeansPropertyMeta() -
PropertyJavaBeansPropertyMeta
-
-
Method Details
-
getKnownNames
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 classPropertyDescriptorImpl- Parameters:
iElement- Mapping element to be treated, maybe null.- Returns:
- List of known property names.
-
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
-
setValue
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)value- to be set- Returns:
- false result, if error; true result, if identically changed; else setted value
-