org.objectweb.jorm.api
Interface PClassMappingCtrl
public interface PClassMappingCtrl
- P. Dechamboux
void | setClassPNameCoder(PNameCoder pnc) - It assigns the PNameCoder to use for the class.
|
void | setGenClassMapping(String fn, PClassMapping pcm) - It assigns the GenClassMapping used to manage the reference hold by a
field whose type is a JORM class.
|
void | setGenClassMapping(PClassMapping pcm) - It assigns the GenClassMapping used to manage the reference hold by a
field whose type is a JORM gen class.
|
void | setPNameCoder(String fn, PNameCoder pnc) - It assigns the PNameCoder used to manage the reference hold by a
field whose type is a JORM class.
|
void | setPNameCoder(PNameCoder pnc) - It assigns the PNameCoder used to manage the references hold by a
generic class instance whose mapping is described by this PClassMapping.
|
void | setProjectName(String projectname) - Assignes the project name to a PClassMapping.
|
setClassPNameCoder
public void setClassPNameCoder(PNameCoder pnc)
throws PException
It assigns the PNameCoder to use for the class. This PNamingContext
manages also the sub classes.
setGenClassMapping
public void setGenClassMapping(String fn,
PClassMapping pcm)
throws UnsupportedOperationException
It assigns the GenClassMapping used to manage the reference hold by a
field whose type is a JORM class.
setGenClassMapping
public void setGenClassMapping(PClassMapping pcm)
throws UnsupportedOperationException
It assigns the GenClassMapping used to manage the reference hold by a
field whose type is a JORM gen class.
setPNameCoder
public void setPNameCoder(String fn,
PNameCoder pnc)
throws PException,
UnsupportedOperationException
It assigns the PNameCoder used to manage the reference hold by a
field whose type is a JORM class.
It should verify that the name structure for this reference is supported
by the corresponding naming context.
fn
- The name of the involved field.pnc
- The PNameCoder to be associated to this field for
managing the reference it may hold.
setPNameCoder
public void setPNameCoder(PNameCoder pnc)
throws PException,
UnsupportedOperationException
It assigns the PNameCoder used to manage the references hold by a
generic class instance whose mapping is described by this PClassMapping.
It should verify that the name structure for this reference is supported
by the corresponding naming context.
pnc
- The PNameCoder to be associated to this generic class
PClassMapping for managing its reference elements.
setProjectName
public void setProjectName(String projectname)
Assignes the project name to a PClassMapping.
projectname
- to be assigned