Package org.jboss.resteasy.spi.metadata
Class DefaultResourceClass
- java.lang.Object
-
- org.jboss.resteasy.spi.metadata.DefaultResourceClass
-
- All Implemented Interfaces:
ResourceClass
public class DefaultResourceClass extends Object implements ResourceClass
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Field Summary
Fields Modifier and Type Field Description protected Class<?>clazzprotected ResourceConstructorconstructorprotected FieldParameter[]fieldsprotected Stringpathprotected ResourceLocator[]resourceLocatorsprotected ResourceMethod[]resourceMethodsprotected SetterParameter[]setters
-
Constructor Summary
Constructors Constructor Description DefaultResourceClass(Class<?> clazz, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<?>getClazz()ResourceConstructorgetConstructor()FieldParameter[]getFields()StringgetPath()ResourceLocator[]getResourceLocators()ResourceMethod[]getResourceMethods()SetterParameter[]getSetters()
-
-
-
Field Detail
-
clazz
protected Class<?> clazz
-
fields
protected FieldParameter[] fields
-
setters
protected SetterParameter[] setters
-
resourceMethods
protected ResourceMethod[] resourceMethods
-
resourceLocators
protected ResourceLocator[] resourceLocators
-
constructor
protected ResourceConstructor constructor
-
path
protected String path
-
-
Method Detail
-
getPath
public String getPath()
- Specified by:
getPathin interfaceResourceClass
-
getClazz
public Class<?> getClazz()
- Specified by:
getClazzin interfaceResourceClass
-
getConstructor
public ResourceConstructor getConstructor()
- Specified by:
getConstructorin interfaceResourceClass
-
getFields
public FieldParameter[] getFields()
- Specified by:
getFieldsin interfaceResourceClass
-
getSetters
public SetterParameter[] getSetters()
- Specified by:
getSettersin interfaceResourceClass
-
getResourceMethods
public ResourceMethod[] getResourceMethods()
- Specified by:
getResourceMethodsin interfaceResourceClass
-
getResourceLocators
public ResourceLocator[] getResourceLocators()
- Specified by:
getResourceLocatorsin interfaceResourceClass
-
-