org.objectweb.jorm.api
Interface PClassMapping.ReferenceConfigurator

Enclosing class:
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.
 PNamingContext getPNameManager(java.lang.String sourceclassName, java.lang.String refFieldName, java.lang.String destclassName)
          It retrieves the PNamingContext which must be associated to the field specified in parameter.
 PNamingContext getPNameManager(java.lang.String sourceclassName, java.lang.String refFieldName, java.lang.String[] genClassNames)
          It retrieves the PNamingContext which should manage the reference.
 boolean isCodingOnly(java.lang.String className, java.lang.String refFieldName)
          It retrieves a boolean to indicate if the binding must resolve or not the reference field.
 

Method Detail

isCodingOnly

public boolean isCodingOnly(java.lang.String className,
                            java.lang.String refFieldName)
It retrieves a boolean to indicate if the binding must resolve or not the reference field.
Parameters:
className - is the class name of the referenced Object.
refFieldName - is the reference field.
Returns:
the codingOnly value

getPNameManager

public PNamingContext getPNameManager(java.lang.String sourceclassName,
                                      java.lang.String refFieldName,
                                      java.lang.String destclassName)
It retrieves the PNamingContext 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 PNamingContext to use for the specified field

getPNameManager

public PNamingContext getPNameManager(java.lang.String sourceclassName,
                                      java.lang.String refFieldName,
                                      java.lang.String[] genClassNames)
It retrieves the PNamingContext 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 PNamingContext 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