Class PropertyFix
java.lang.Object
de.mid.innovator.m2msdk.model.transformation.property.PropertyDescriptorImpl
de.mid.innovator.m2msdk.model.transformation.property.PropertyFix
- All Implemented Interfaces:
PropertyDescriptorIF,Serializable
- Direct Known Subclasses:
PropertyError
Generic property descriptor for constant values.
- Version:
- 10.1.1
- Author:
- jmback
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPropertyFix(SessionInterface iSession, MetaModel iMM) PropertyFix(SessionInterface iSession, MetaModel iMM, String iValue) -
Method Summary
Modifier and TypeMethodDescriptiongetValue(MappingElementIF element, ExpressionContext ec) Read value from item.setValue(MappingElementIF el, PropertyValue iValue) Set value for item.toString()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
-
Constructor Details
-
PropertyFix
public PropertyFix() -
PropertyFix
-
PropertyFix
-
-
Method Details
-
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
-
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
-
toString
- Overrides:
toStringin classPropertyDescriptorImpl
-