Class PropertyObjects
java.lang.Object
de.mid.innovator.m2msdk.model.transformation.property.PropertyDescriptorImpl
de.mid.innovator.m2msdk.model.transformation.property.PropertyObjects
- All Implemented Interfaces:
PropertyDescriptorIF,Serializable
- Direct Known Subclasses:
PropertyInnovatorObjects,PropertyJavaBeansObjects
Generic property descriptor to access the navigable objects from a mapping
element.
- Version:
- 10.1.1
- Author:
- jmback
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet a long NLS description of the effect and the behavior of the property descriptor.getKnownNames(MappingElementIF element) Get list of known property names.getValue(MappingElementIF element, ExpressionContext expressionContext) Read value from item.getValues(MappingElementList elements) Read values from items.Methods inherited from class de.mid.innovator.m2msdk.model.transformation.property.PropertyDescriptorImpl
addSubDescriptor, addSubDescriptor, filter, getMetaModel, getPropertyType, getResult, getSubDescriptors, getValue, getValueAsString, isLogged, setValue, toString
-
Constructor Details
-
PropertyObjects
public PropertyObjects() -
PropertyObjects
-
-
Method Details
-
getKnownNames
public ParameterProposalList getKnownNames(MappingElementIF element) 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 classPropertyDescriptorImpl- Parameters:
element- 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 classPropertyDescriptorImpl- Parameters:
element- TODOexpressionContext- context containing the model element and the source and the target and the anchors- Returns:
- items value
- Throws:
M2MExceptionRemoteExceptionRemoteException
-
getValues
Description copied from interface:PropertyDescriptorIFRead values from items.- Specified by:
getValuesin interfacePropertyDescriptorIF- Overrides:
getValuesin classPropertyDescriptorImpl- Parameters:
elements- the elements from which the value should be read.- Returns:
- a list of all values
- 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
-