public class ParameterDefinitionImpl extends Object implements ParameterDefinition, Serializable
| Constructor and Description |
|---|
ParameterDefinitionImpl(String name,
org.alfresco.service.namespace.QName type,
boolean isMandatory,
String displayLabel)
Constructor
|
ParameterDefinitionImpl(String name,
org.alfresco.service.namespace.QName type,
boolean isMandatory,
String displayLabel,
boolean isMultiValued)
Constructor
|
ParameterDefinitionImpl(String name,
org.alfresco.service.namespace.QName type,
boolean isMandatory,
String displayLabel,
boolean isMultiValued,
String parameterConstraintName)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayLabel()
Get the display label of the parameter.
|
String |
getName()
Get the name of the parameter.
|
String |
getParameterConstraintName()
Gets the parameter constraint name, null if none set.
|
org.alfresco.service.namespace.QName |
getType()
Get the type of parameter
|
boolean |
isMandatory()
Indicates whether the parameter is mandatory or not.
|
boolean |
isMultiValued()
Is multi-valued?
|
public ParameterDefinitionImpl(String name, org.alfresco.service.namespace.QName type, boolean isMandatory, String displayLabel)
name - the name of the parametertype - the type of the parameterdisplayLabel - the display labelpublic ParameterDefinitionImpl(String name, org.alfresco.service.namespace.QName type, boolean isMandatory, String displayLabel, boolean isMultiValued)
name - the name of the parametertype - the type of the parameterdisplayLabel - the display labelpublic ParameterDefinitionImpl(String name, org.alfresco.service.namespace.QName type, boolean isMandatory, String displayLabel, boolean isMultiValued, String parameterConstraintName)
name - Stringtype - QNameisMandatory - booleandisplayLabel - StringisMultiValued - booleanparameterConstraintName - Stringpublic String getName()
ParameterDefinitionThis is unique and is used to identify the parameter.
getName in interface ParameterDefinitionParameterDefinition.getName()public org.alfresco.service.namespace.QName getType()
ParameterDefinitiongetType in interface ParameterDefinitionParameterDefinition.getType()public boolean isMandatory()
ParameterDefinitionIf a parameter is mandatory it means that the value can not be null.
isMandatory in interface ParameterDefinitionParameterDefinition.isMandatory()public boolean isMultiValued()
ParameterDefinitionisMultiValued in interface ParameterDefinitionParameterDefinition.isMultiValued()public String getDisplayLabel()
ParameterDefinitiongetDisplayLabel in interface ParameterDefinitionParameterDefinition.getDisplayLabel()public String getParameterConstraintName()
ParameterDefinitiongetParameterConstraintName in interface ParameterDefinitionParameterDefinition.getParameterConstraintName()Copyright © 2005–2018 Alfresco Software. All rights reserved.