Class AlternativeExpressionTranslator


public class AlternativeExpressionTranslator extends ItemExpressionTranslator
Special translator for alternative item reference expressions:
        INSERT Address; owner( User.uid | Order.code | Item.PK ) ; ...
        INSERT Product; ...; catalogVersion( catalog( id | name )
 

Technically this translator contains the first pattern and holds one additional translator for each other pattern. Importing one value tries to import using all patterns in order of occurrence. Exporting chooses the first pattern which provides a assignable type (so never put Item.PK in front!).