org.objectweb.jorm.api
Interface PClassMapping.ReferenceConfigurator

Enclosing interface:
PClassMapping

public static interface PClassMapping.ReferenceConfigurator


Method Summary
 PClassMapping getGenClassMapping(java.lang.String sourceclassName, java.lang.String refFieldName, java.lang.String[] genClassNames)
          It retrieves the PClassMapping which must be associated to the field specified in parameter.
 PClassMapping getGenClassMapping(java.lang.String sourceclassName, java.lang.String refFieldName, java.lang.String[] genClassNames, java.lang.String destclassName)
          It retrieves the PClassMapping which must be associated to the field specified in parameter.
 PNameCoder getPNameCoder(java.lang.String sourceclassName, java.lang.String refFieldName, java.lang.String destclassName)
          It retrieves the PNameCoder which must be associated to the field specified in parameter.
 PNameCoder getPNameCoder(java.lang.String sourceclassName, java.lang.String refFieldName, java.lang.String[] genClassNames)
          It retrieves the PNameCoder which should manage the reference.
 

Method Detail

getPNameCoder

public PNameCoder getPNameCoder(java.lang.String sourceclassName,
                                java.lang.String refFieldName,
                                java.lang.String destclassName)
It retrieves the PNameCoder which must be associated to the field specified in parameter.

Parameters:
sourceclassName - is the class name which reference the object.
refFieldName - is the reference field.
destclassName - is the class name of the referenced Object.
Returns:
the PNameCoder to use for the specified field

getPNameCoder

public PNameCoder getPNameCoder(java.lang.String sourceclassName,
                                java.lang.String refFieldName,
                                java.lang.String[] genClassNames)
It retrieves the PNameCoder which should manage the reference.

Parameters:
refFieldName - is the reference field.
sourceclassName - is the class name of the non generic class name which references a begin of the chain of generic Object.
genClassNames - is the list of the generic class name.
Returns:
the PNameCoder to use for the specified field

getGenClassMapping

public PClassMapping getGenClassMapping(java.lang.String sourceclassName,
                                        java.lang.String refFieldName,
                                        java.lang.String[] genClassNames)
It retrieves the PClassMapping which must be associated to the field specified in parameter.

Parameters:
refFieldName - is the reference field.
sourceclassName - is the class name of the non generic class name which references a begin of the chain of generic Object.
genClassNames - is the list of the generic class name.
Returns:
the PClassMapping to use for the specified field

getGenClassMapping

public PClassMapping getGenClassMapping(java.lang.String sourceclassName,
                                        java.lang.String refFieldName,
                                        java.lang.String[] genClassNames,
                                        java.lang.String destclassName)
It retrieves the PClassMapping which must be associated to the field specified in parameter.

Parameters:
refFieldName - is the reference field.
sourceclassName - is the class name of the non generic class name which references a begin of the chain of generic Object.
genClassNames - is the list of the generic class name.
destclassName - is the class name of the referenced Object.
Returns:
the PClassMapping to use for the specified field