FileDocCategorySizeDatePackage
MetadataMethod.javaAPI DocGlassfish v2 API2899Tue May 22 16:54:26 BST 2007oracle.toplink.essentials.internal.ejb.cmp3.metadata.accessors.objects

MetadataMethod

public class MetadataMethod extends MetadataAccessibleObject
An object to hold onto a valid EJB 3.0 decorated method.
author
Guy Pelletier
since
TopLink 10.1.3/EJB 3.0 Preview

Fields Summary
protected Method
m_setMethod
Constructors Summary
public MetadataMethod(Method method)
INTERNAL:

        super(method);
        
        m_setMethod = MetadataHelper.getSetMethod(method, method.getDeclaringClass());
        
        setName(method.getName());
        setAttributeName(MetadataHelper.getAttributeNameFromMethodName(method.getName()));
        setRelationType(MetadataHelper.getGenericReturnType(method));
    
Methods Summary
public java.lang.StringgetSetMethodName()
INTERNAL:

        return m_setMethod.getName();