public class FacetedMethod extends TypedHolderDefault implements IdentifiedHolder, Debuggable
| Modifier and Type | Method and Description |
|---|---|
static FacetedMethod |
createForAction(Class<?> declaringType,
Method method) |
static FacetedMethod |
createForCollection(Class<?> declaringType,
Method method) |
static FacetedMethod |
createForCollection(Class<?> declaringType,
String collectionName)
Principally for testing purposes.
|
static FacetedMethod |
createForProperty(Class<?> declaringType,
Method method) |
static FacetedMethod |
createForProperty(Class<?> declaringType,
String propertyName)
Principally for testing purposes.
|
void |
debugData(DebugBuilder debug)
Debug details describing the object being investigated
|
static List<FacetedMethodParameter> |
emptyParameterList() |
org.apache.isis.applib.Identifier |
getIdentifier()
Identifier of this feature.
|
Method |
getMethod()
|
Class<?> |
getOwningType()
The
Class that owns this Method (as per
Class.getMethods(), returning the Methods both of this
class and of its superclasses). |
List<FacetedMethodParameter> |
getParameters() |
String |
toString() |
getFeatureType, getType, setTypeaddFacet, addFacet, containsDoOpFacet, containsFacet, getFacet, getFacets, getFacetTypes, removeFacet, removeFacetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddFacet, addFacet, containsDoOpFacet, containsFacet, getFacet, getFacets, getFacetTypes, removeFacet, removeFacetpublic static FacetedMethod createForProperty(Class<?> declaringType, String propertyName)
public static FacetedMethod createForCollection(Class<?> declaringType, String collectionName)
public static FacetedMethod createForProperty(Class<?> declaringType, Method method)
public static FacetedMethod createForCollection(Class<?> declaringType, Method method)
public static FacetedMethod createForAction(Class<?> declaringType, Method method)
public List<FacetedMethodParameter> getParameters()
public static List<FacetedMethodParameter> emptyParameterList()
public Class<?> getOwningType()
Class that owns this Method (as per
Class.getMethods(), returning the Methods both of this
class and of its superclasses).
Note: we don't call this the 'declaring type' because
Class.getDeclaredMethods() does not return methods from
superclasses.
public org.apache.isis.applib.Identifier getIdentifier()
IdentifiedHoldergetIdentifier in interface IdentifiedHolderpublic void debugData(DebugBuilder debug)
DebuggabledebugData in interface DebuggableCopyright © 2010–2014 The Apache Software Foundation. All rights reserved.