public class ResourceParameter
extends java.lang.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 |
---|---|
java.lang.Class |
getDataType() |
java.lang.String |
getDescription() |
java.lang.String |
getName() |
ResourceParameter.KIND |
getParamType() |
java.lang.String |
getTitle() |
boolean |
isAllowMultiple() |
boolean |
isRequired() |
java.lang.String |
toString() |
protected static ResourceParameter |
valueOf(java.lang.String name,
java.lang.String title,
java.lang.String description,
boolean required,
ResourceParameter.KIND kind,
boolean allowMultiple,
java.lang.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(java.lang.String name, java.lang.String title, java.lang.String description, boolean required, ResourceParameter.KIND kind, boolean allowMultiple, java.lang.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 java.lang.String getName()
public boolean isRequired()
public java.lang.String getTitle()
public java.lang.String getDescription()
public java.lang.Class getDataType()
public boolean isAllowMultiple()
public ResourceParameter.KIND getParamType()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2005 - 2013 Alfresco Software, Inc. All Rights Reserved.