public class ResourceParameter extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ResourceParameter.KIND |
Modifier and Type | Field and Description |
---|---|
static ResourceParameter |
ENTITY_PARAM |
static ResourceParameter |
MAX_ITEMS_PARAM |
static ResourceParameter |
PROPS_PARAM |
static ResourceParameter |
RELATIONS_PARAM |
static ResourceParameter |
RELATIONSHIP_PARAM |
static ResourceParameter |
SKIP_PARAM |
static ResourceParameter |
WHERE_PARAM |
Modifier and Type | Method and Description |
---|---|
Class<?> |
getDataType() |
String |
getDescription() |
String |
getName() |
ResourceParameter.KIND |
getParamType() |
String |
getTitle() |
boolean |
isAllowMultiple() |
boolean |
isRequired() |
String |
toString() |
protected static ResourceParameter |
valueOf(String name,
String title,
String description,
boolean required,
ResourceParameter.KIND kind,
boolean allowMultiple,
Class<?> dataType)
Creates a new ResourceParameter.
|
public static final ResourceParameter ENTITY_PARAM
public static final ResourceParameter RELATIONSHIP_PARAM
public static final ResourceParameter SKIP_PARAM
public static final ResourceParameter MAX_ITEMS_PARAM
public static final ResourceParameter PROPS_PARAM
public static final ResourceParameter RELATIONS_PARAM
public static final ResourceParameter WHERE_PARAM
protected static ResourceParameter valueOf(String name, String title, String description, boolean required, ResourceParameter.KIND kind, boolean allowMultiple, Class<?> dataType)
name
- - name used in the requesttitle
- - a short descriptiondescription
- - a long descriptionrequired
- - is it mandatory?kind
- - The kind of parameter it isallowMultiple
- - Can allow multiple values?dataType
- - The expected data type of the parameterpublic String getName()
public boolean isRequired()
public String getTitle()
public String getDescription()
public Class<?> getDataType()
public boolean isAllowMultiple()
public ResourceParameter.KIND getParamType()
Copyright © 2005–2017 Alfresco Software. All rights reserved.