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

com.tangosol.io.pof.reflect.internal.InvocationStrategy Maven / Gradle / Ivy

There is a newer version: 24.09
Show newest version
/*
 * Copyright (c) 2000, 2020, Oracle and/or its affiliates.
 *
 * Licensed under the Universal Permissive License v 1.0 as shown at
 * http://oss.oracle.com/licenses/upl.
 */
package com.tangosol.io.pof.reflect.internal;

/**
 * An {@link InvocationStrategy} provides an abstraction of the underlying
 * mechanisms used to retrieve and set a property's value.
 *
 * @author hr
 *
 * @since 3.7.1
 *
 * @param   the containing type
 * @param 

the property's type */ public interface InvocationStrategy { /** * Returns the value of the property. * * @param container container of this and all other properties * * @return property value */ public P get(T container); /** * Sets the parameter value to the property. * * @param container container of this and all other sibling properties * @param value new value to assign to the property */ public void set(T container, P value); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy