* The MetadataResults object has a complex primary key consisting of groupId, artifactId, and version.
* This also means that none of those fields may be null. however, that doesn't eliminate the
* ability to have an empty string in place of a null.
*/
MetadataResultsKey key = new MetadataResultsKey();
key.groupId = StringUtils.defaultString( metadata.getGroupId(), "" );
key.artifactId = StringUtils.defaultString( metadata.getArtifactId(), "" );
key.version = StringUtils.defaultString( metadata.getBaseVersion(), "" );
return (MetadataResults) getObjectByKey( MetadataResults.class, key );