|
||||||||||
| 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 |
java.util.Collection |
getAllClassDescriptors()
|
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.Collection getAllClassDescriptors()
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 | |||||||||