
org.leialearns.bridge.BridgeFacet Maven / Gradle / Ivy
package org.leialearns.bridge;
/**
* Declares the methods that are needed to be part of a bridge instance. This interface is implemented by:
*
* - Generated near objects
* - Far objects
* - Instances of helpers of type Class.
*
*/
public interface BridgeFacet {
/**
* Returns the {@link org.leialearns.bridge.BridgeFacets BridgeFacets} object that provides access to all facets of a bridge instance.
* @return The BridgeFacets
instance for this facet
*/
BridgeFacets getBridgeFacets();
/**
* Returns an indication whether this facet is part of a bridge instance. Especially far objects can
* (even must) be created before they are part of a bridge instance. As long as no corresponding near
* instance is created, this method returns false
.
* @return An indication whether this facet is part of a bridge instance
*/
boolean hasBridgeFacets();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy