|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.ocm.mapper.model.MappingDescriptor
public class MappingDescriptor
MappingDescriptor is an helper class used to access to the ClassDescriptor
| Constructor Summary | |
|---|---|
MappingDescriptor()
|
|
| Method Summary | |
|---|---|
void |
addClassDescriptor(ClassDescriptor classDescriptor)
Add a new ClassDescriptor |
Collection |
getAllClassDescriptors()
|
ClassDescriptor |
getClassDescriptorByName(String className)
Get the classdescriptor to used for the class |
ClassDescriptor |
getClassDescriptorByNodeType(String nodeType)
|
Map |
getClassDescriptorsByClassName()
Get all class descriptors by class name |
Map |
getClassDescriptorsByNodeType()
Get all class descriptors by class name |
Mapper |
getMapper()
|
void |
setMapper(Mapper parentMapper)
|
void |
setPackage(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(String pckgName)
public void addClassDescriptor(ClassDescriptor classDescriptor)
classDescriptor - The class descriptor to addpublic ClassDescriptor getClassDescriptorByName(String className)
className - the class name
public ClassDescriptor getClassDescriptorByNodeType(String nodeType)
public Collection getAllClassDescriptors()
public Map getClassDescriptorsByClassName()
public 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 | |||||||||