|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.portals.graffito.jcr.mapper.model.MappingDescriptor
public class MappingDescriptor
This class match to the complete xml mapping files.
it contains mainly a collection of ClassDescriptor
| Constructor Summary | |
|---|---|
MappingDescriptor()
|
|
| Method Summary | |
|---|---|
void |
addClassDescriptor(ClassDescriptor classDescriptor)
Add a new ClassDescriptor |
ClassDescriptor |
getClassDescriptorByName(java.lang.String className)
Get the classdescriptor to used for the class |
ClassDescriptor |
getClassDescriptorByNodeType(java.lang.String nodeType)
|
java.util.Map |
getClassDescriptorsByClassName()
Get all class descriptors by class name |
java.util.Map |
getClassDescriptorsByNodeType()
Get all class descriptors by class name |
Mapper |
getMapper()
|
void |
setMapper(Mapper parentMapper)
|
void |
setPackage(java.lang.String pckgName)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MappingDescriptor()
| Method Detail |
|---|
public void setPackage(java.lang.String pckgName)
public void addClassDescriptor(ClassDescriptor classDescriptor)
classDescriptor - The class descriptor to addpublic ClassDescriptor getClassDescriptorByName(java.lang.String className)
className - the class name
public ClassDescriptor getClassDescriptorByNodeType(java.lang.String nodeType)
public java.util.Map getClassDescriptorsByClassName()
public java.util.Map getClassDescriptorsByNodeType()
public Mapper getMapper()
public void setMapper(Mapper parentMapper)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||