/** * Returns true if this class does not use the "none" strategy (including * if it has a null strategy, and therefore is probably in the process of * being mapped). */ public boolean isMapped() { if (!super.isMapped()) return false; if (_strategy != null) return _strategy != NoneClassStrategy.getInstance(); return !NoneClassStrategy.ALIAS.equals(_info.getStrategy()); }
/** * Returns true if this class does not use the "none" strategy (including * if it has a null strategy, and therefore is probably in the process of * being mapped). */ public boolean isMapped() { if (!super.isMapped()) return false; if (_strategy != null) return _strategy != NoneClassStrategy.getInstance(); return !NoneClassStrategy.ALIAS.equals(_info.getStrategy()); }
/** * Returns true if this class does not use the "none" strategy (including * if it has a null strategy, and therefore is probably in the process of * being mapped). */ public boolean isMapped() { if (!super.isMapped()) return false; if (_strategy != null) return _strategy != NoneClassStrategy.getInstance(); return !NoneClassStrategy.ALIAS.equals(_info.getStrategy()); }
/** * Returns true if this class does not use the "none" strategy (including * if it has a null strategy, and therefore is probably in the process of * being mapped). */ public boolean isMapped() { if (!super.isMapped()) return false; if (_strategy != null) return _strategy != NoneClassStrategy.getInstance(); return !NoneClassStrategy.ALIAS.equals(_info.getStrategy()); }
/** * Returns true if this class does not use the "none" strategy (including * if it has a null strategy, and therefore is probably in the process of * being mapped). */ public boolean isMapped() { if (!super.isMapped()) return false; if (_strategy != null) return _strategy != NoneClassStrategy.getInstance(); return !NoneClassStrategy.ALIAS.equals(_info.getStrategy()); }
/** * Instantiate the given class' named strategy, or return null if no * named strategy. */ protected ClassStrategy namedStrategy(ClassMapping cls) { String name = cls.getMappingInfo().getStrategy(); return instantiateClassStrategy(name, cls); }
/** * Instantiate the given class' named strategy, or return null if no * named strategy. */ protected ClassStrategy namedStrategy(ClassMapping cls) { String name = cls.getMappingInfo().getStrategy(); return instantiateClassStrategy(name, cls); }
/** * Instantiate the given class' named strategy, or return null if no * named strategy. */ protected ClassStrategy namedStrategy(ClassMapping cls) { String name = cls.getMappingInfo().getStrategy(); return instantiateClassStrategy(name, cls); }
/** * Instantiate the given class' named strategy, or return null if no * named strategy. */ protected ClassStrategy namedStrategy(ClassMapping cls) { String name = cls.getMappingInfo().getStrategy(); return instantiateClassStrategy(name, cls); }
/** * Instantiate the given class' named strategy, or return null if no * named strategy. */ protected ClassStrategy namedStrategy(ClassMapping cls) { String name = cls.getMappingInfo().getStrategy(); return instantiateClassStrategy(name, cls); }