cz.cuni.versatile.api.relops
Interface Many2ManyMapping

All Superinterfaces:
PropertyMapping

public interface Many2ManyMapping
extends PropertyMapping

The most generic property mapping as described in PropertyMapping API. It implements n:m arity map - a complex transformation between two sets of properties.

Author:
Jaroslav Gergic

Method Summary
 Property[] getDomain()
          Returns an ordered list of properties which form a domain of this mapping.
 Property[] getRange()
          Returns an ordered list of properties which form a range of this mapping.
 java.lang.Object[] mapValue(java.lang.Object[] dom)
          Executes the actual transformation - a mapping.
 
Methods inherited from interface cz.cuni.versatile.api.relops.PropertyMapping
getDomainSet, getRangeSet, getReverse, providesReverse
 

Method Detail

getDomain

public Property[] getDomain()
Returns an ordered list of properties which form a domain of this mapping.

Returns:
an ordered list of domain properties
See Also:
PropertyMapping.getDomainSet()

getRange

public Property[] getRange()
Returns an ordered list of properties which form a range of this mapping.

Returns:
an ordered list of range properties

mapValue

public java.lang.Object[] mapValue(java.lang.Object[] dom)
Executes the actual transformation - a mapping.

Parameters:
dom - an ordered list of domain properties values (the order must correspond to the getDomain() method)
Returns:
an ordered list of range properties values (the order must corresponds to the getRange() method)