All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.search.mapper.pojo.model.PojoModelProperty Maven / Gradle / Ivy

The newest version!
/*
 * SPDX-License-Identifier: Apache-2.0
 * Copyright Red Hat Inc. and Hibernate Authors
 */
package org.hibernate.search.mapper.pojo.model;

import java.util.Collection;

import org.hibernate.search.util.common.annotation.Incubating;

/**
 * A model element representing a property bound to a bridge.
 *
 * @see org.hibernate.search.mapper.pojo.bridge.PropertyBridge
 */
@Incubating
public interface PojoModelProperty extends PojoModelCompositeElement {

	/**
	 * @return The name of this property.
	 */
	String name();

	/**
	 * @param markerType A type of marker.
	 * @param  The type of returned markers.
	 * @return A collection of markers with the given type found on this property.
	 */
	 Collection markers(Class markerType);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy