/** * PUBLIC: * Set the descriptor not to use the class' full name as the indicator. * The class indicator is used with inheritance to determine the class from a row. * By default a class indicator mapping is required, this can be set to true if usage of the class name is desired. * The field must be of a large enough size to store the fully qualified class name. */ public void dontUseClassNameAsIndicator() { setShouldUseClassNameAsIndicator(false); }
/** * PUBLIC: * Set the descriptor to use the classes full name as the indicator. * The class indicator is used with inheritance to determine the class from a row. * By default a class indicator mapping is required, this can be set to true if usage of the class * name is desired. * The field must be of a large enough size to store the fully qualified class name. */ public void useClassNameAsIndicator() { setShouldUseClassNameAsIndicator(true); } }
setShouldUseClassNameAsIndicator(getParentDescriptor().getInheritancePolicy().shouldUseClassNameAsIndicator());