/** * INTERNAL: Helper method to return a string value if specified, otherwise returns the default * value. */ protected Integer getValue(Integer value, Integer defaultValue) { return org.eclipse.persistence.internal.jpa.metadata.MetadataHelper.getValue( value, defaultValue); }
/** * INTERNAL: Helper method to return a string value if specified, otherwise returns the default * value. */ protected String getValue(String value, String defaultValue) { return org.eclipse.persistence.internal.jpa.metadata.MetadataHelper.getValue( value, defaultValue); }
/** * INTERNAL: Helper method to return a field name from a candidate field name and a default field * name. * * <p>Requires the context from where this method is called to output the correct logging message * when defaulting the field name. * * <p>In some cases, both the name and defaultName could be "" or null, therefore, don't log a * message and return name. */ protected String getName(String name, String defaultName, String context) { return org.eclipse.persistence.internal.jpa.metadata.MetadataHelper.getName( name, defaultName, context, getLogger(), getAnnotatedElementName()); }