Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * Hibernate OGM, Domain model persistence for NoSQL datastores
  *
  * License: GNU Lesser General Public License (LGPL), version 2.1 or later
  * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
  */
 package org.hibernate.ogm.options.navigation.source.impl;
 
A source for option values. Implementations retrieve option values e.g. using annotations, API invocations or configuration values.

Author(s):
Gunnar Morling
public interface OptionValueSource {

Returns an org.hibernate.ogm.options.container.impl.OptionsContainer with global-level options.

Returns:
an option container with the global-level options; may be empty but never null
Returns an org.hibernate.ogm.options.container.impl.OptionsContainer with the entity-level options of the given type.

Parameters:
entityType the type to retrieve the options from
Returns:
an option container with the options of the given type; may be empty but never null
Returns an org.hibernate.ogm.options.container.impl.OptionsContainer with the property-level options of the given property.

Parameters:
entityType type declaring the property to retrieve the options from
propertyName name of the property to retrieve the options from
Returns:
an option container with options of the given property; may be empty but never null
	OptionsContainer getPropertyOptions(Class<?> entityTypeString propertyName);
New to GrepCode? Check out our FAQ X