public void setConfiguration(Configuration conf) { _conf = (OpenJPAConfiguration) conf; _log = _conf.getLog(OpenJPAConfiguration.LOG_METADATA); _filterRegisteredClasses = _conf.getCompatibilityInstance().getFilterPCRegistryClasses(); }
/** * Set a value from the given String after validating. * * @param str can be null to set the Specification to null. * If non-null, then the String must be in Specification format * @see Specification#create(String) */ @Override public void setString(String str) { this.set(str == null ? null : new Specification(str)); }
/** * Get the name of the Specification only (not the version or other * information) or an empty String if not set. * */ public String getSpecification() { Specification spec = getSpecificationInstance(); return spec == null ? "" : spec.getName(); }
public void setNonDefaultMappingAllowed(OpenJPAConfiguration conf) { _isNonDefaultMappingAllowed = conf.getCompatibilityInstance(). isNonDefaultMappingAllowed(); } }
public void setAbstractMappingUniDirectional(OpenJPAConfiguration conf) { _isAbstractMappingUniDirectional = conf.getCompatibilityInstance().isAbstractMappingUniDirectional(); }
String getConnectionInfo(OpenJPAConfiguration conf) { String result = conf.getConnectionURL(); if (result == null) { result = conf.getConnectionDriverName(); String props = conf.getConnectionProperties(); if (props != null) result += "(" + props + ")"; } return result; }
public BrokerFactoryValue() { super(KEY, false); setAliases(_aliases); } }
public MetaDataRepository getMetaDataRepositoryInstance() { if (metaRepository == null) metaRepository = newMetaDataRepositoryInstance(); return metaRepository; }
public void setConfiguration(Configuration conf) { _conf = (OpenJPAConfiguration) conf; _log = _conf.getLog(OpenJPAConfiguration.LOG_METADATA); _filterRegisteredClasses = _conf.getCompatibilityInstance().getFilterPCRegistryClasses(); }
/** * Get the name of the Specification only (not the version or other * information) or an empty String if not set. * */ public String getSpecification() { Specification spec = getSpecificationInstance(); return spec == null ? "" : spec.getName(); }
public void setNonDefaultMappingAllowed(OpenJPAConfiguration conf) { _isNonDefaultMappingAllowed = conf.getCompatibilityInstance(). isNonDefaultMappingAllowed(); }
public void setAbstractMappingUniDirectional(OpenJPAConfiguration conf) { _isAbstractMappingUniDirectional = conf.getCompatibilityInstance().isAbstractMappingUniDirectional(); }
/** * Set a value from the given String after validating. * * @param str can be null to set the Specification to null. * If non-null, then the String must be in Specification format * @see Specification#create(String) */ @Override public void setString(String str) { this.set(str == null ? null : new Specification(str)); }
public void setConfiguration(Configuration conf) { _conf = (OpenJPAConfiguration) conf; _log = _conf.getLog(OpenJPAConfiguration.LOG_METADATA); _filterRegisteredClasses = _conf.getCompatibilityInstance().getFilterPCRegistryClasses(); }
/** * Get the name of the Specification only (not the version or other * information) or an empty String if not set. * */ public String getSpecification() { Specification spec = getSpecificationInstance(); return spec == null ? "" : spec.getName(); }
public void setNonDefaultMappingAllowed(OpenJPAConfiguration conf) { _isNonDefaultMappingAllowed = conf.getCompatibilityInstance(). isNonDefaultMappingAllowed(); } }
/** * Set a value from the given String after validating. * * @param str can be null to set the Specification to null. * If non-null, then the String must be in Specification format * @see Specification#create(String) */ @Override public void setString(String str) { this.set(str == null ? null : new Specification(str)); }
public void setConfiguration(Configuration conf) { _conf = (OpenJPAConfiguration) conf; _log = _conf.getLog(OpenJPAConfiguration.LOG_METADATA); _filterRegisteredClasses = _conf.getCompatibilityInstance().getFilterPCRegistryClasses(); }
/** * Get the name of the Specification only (not the version or other * information) or an empty String if not set. * */ public String getSpecification() { Specification spec = getSpecificationInstance(); return spec == null ? "" : spec.getName(); }
/** * Set a value from the given String after validating. * * @param str can be null to set the Specification to null. * If non-null, then the String must be in Specification format * @see Specification#create(String) */ @Override public void setString(String str) { this.set(str == null ? null : new Specification(str)); }