org.alfresco.service.cmr.action
Interface ParameterDefinition

All Known Implementing Classes:
ParameterDefinitionImpl

public interface ParameterDefinition

Parameter definition interface.


Method Summary
 java.lang.String getDisplayLabel()
          Get the display label of the parameter.
 java.lang.String getName()
          Get the name of the parameter.
 java.lang.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?
 

Method Detail

getName

java.lang.String getName()
Get the name of the parameter.

This is unique and is used to identify the parameter.

Returns:
the parameter name

getType

org.alfresco.service.namespace.QName getType()
Get the type of parameter

Returns:
the parameter type qname

isMultiValued

boolean isMultiValued()
Is multi-valued?


isMandatory

boolean isMandatory()
Indicates whether the parameter is mandatory or not.

If a parameter is mandatory it means that the value can not be null.

Returns:
true if the parameter is mandatory, false otherwise

getDisplayLabel

java.lang.String getDisplayLabel()
Get the display label of the parameter.

Returns:
the parameter display label

getParameterConstraintName

java.lang.String getParameterConstraintName()
Gets the parameter constraint name, null if none set.

Returns:
the parameter constraint name


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.