public class Static extends Object
Modifier and Type | Method and Description |
---|---|
static BridgeFacets |
getFacets(Object bridgeFacet)
Returns the
BridgeFacets container object for the given bridge facet. |
static <FT extends FarObject<NT>,NT> |
getFarObject(NT nearObject,
Class<FT> farType)
Returns the far object that corresponds to the given near object in a type safe way.
|
static FarObject<?> |
getFarObject(Object nearObject)
Returns the far object that corresponds to the given near object.
|
public static BridgeFacets getFacets(Object bridgeFacet)
BridgeFacets
container object for the given bridge facet.bridgeFacet
- The facet of the bridge objectpublic static <FT extends FarObject<NT>,NT> FT getFarObject(NT nearObject, Class<FT> farType)
nearObject
- The near objectfarType
- The type of the far objectBridgeFacets.getFarObject()
public static FarObject<?> getFarObject(Object nearObject)
nearObject
- The near objectBridgeFacets.getFarObject()
Copyright © 2013. All Rights Reserved.