Class PropertyFile
java.lang.Object
de.mid.innovator.m2msdk.model.transformation.property.PropertyDescriptorImpl
de.mid.innovator.m2msdk.model.transformation.property.PropertyFile
- All Implemented Interfaces:
PropertyDescriptorIF,Serializable
File from file name.
Example usage: Property("fileAttachment")=File("c:/app_updater.log")
- Version:
- 15.2.1
- Author:
- jmback
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPropertyFile(SessionInterface iSession, MetaModel iMM) PropertyFile(SessionInterface iSession, MetaModel iMM, String iValue) -
Method Summary
Modifier and TypeMethodDescriptionGet a long NLS description of the effect and the behavior of the property descriptor.getValue(MappingElementIF element, ExpressionContext ec) Read value from item.toString()Methods inherited from class de.mid.innovator.m2msdk.model.transformation.property.PropertyDescriptorImpl
addSubDescriptor, addSubDescriptor, filter, getKnownNames, getMetaModel, getPropertyType, getResult, getSubDescriptors, getValue, getValueAsString, getValues, isLogged, setValue
-
Constructor Details
-
PropertyFile
public PropertyFile() -
PropertyFile
-
PropertyFile
-
-
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
-
getDescription
Description copied from interface:PropertyDescriptorIFGet a long NLS description of the effect and the behavior of the property descriptor.- Specified by:
getDescriptionin interfacePropertyDescriptorIF- Overrides:
getDescriptionin classPropertyDescriptorImpl- Returns:
- long NLS string with description for user
-
toString
- Overrides:
toStringin classPropertyDescriptorImpl
-