/** * 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(); }
/** * 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(); }
/** * 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(); }
/** * 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(); }
/** * If a Compatibility instance is associated with the Specification, * we will configure this Compatibility instance instead of instantiating a * new one so that the compatibility flags set in compliance with the * Specification can be preserved. */ public Compatibility getCompatibilityInstance() { if (compatibilityPlugin.get() == null) { Specification spec = getSpecificationInstance(); Compatibility comp = spec != null ? spec.getCompatibility() : null; if (comp == null) compatibilityPlugin.instantiate(Compatibility.class, this); else compatibilityPlugin.configure(comp, this); } return (Compatibility) compatibilityPlugin.get(); }
/** * If a Compatibility instance is associated with the Specification, * we will configure this Compatibility instance instead of instantiating a * new one so that the compatibility flags set in compliance with the * Specification can be preserved. */ public Compatibility getCompatibilityInstance() { if (compatibilityPlugin.get() == null) { Specification spec = getSpecificationInstance(); Compatibility comp = spec != null ? spec.getCompatibility() : null; if (comp == null) compatibilityPlugin.instantiate(Compatibility.class, this); else compatibilityPlugin.configure(comp, this); } return (Compatibility) compatibilityPlugin.get(); }
/** * If a Compatibility instance is associated with the Specification, * we will configure this Compatibility instance instead of instantiating a * new one so that the compatibility flags set in compliance with the * Specification can be preserved. */ public Compatibility getCompatibilityInstance() { if (compatibilityPlugin.get() == null) { Specification spec = getSpecificationInstance(); Compatibility comp = spec != null ? spec.getCompatibility() : null; if (comp == null) compatibilityPlugin.instantiate(Compatibility.class, this); else compatibilityPlugin.configure(comp, this); } return (Compatibility) compatibilityPlugin.get(); }
/** * If a Compatibility instance is associated with the Specification, * we will configure this Compatibility instance instead of instantiating a * new one so that the compatibility flags set in compliance with the * Specification can be preserved. */ public Compatibility getCompatibilityInstance() { if (compatibilityPlugin.get() == null) { Specification spec = getSpecificationInstance(); Compatibility comp = spec != null ? spec.getCompatibility() : null; if (comp == null) compatibilityPlugin.instantiate(Compatibility.class, this); else compatibilityPlugin.configure(comp, this); } return (Compatibility) compatibilityPlugin.get(); }