mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Big honkin' merge from head. Sheesh!
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3617 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -43,6 +43,11 @@ public class ParameterDefinitionImpl implements ParameterDefinition, Serializabl
|
||||
*/
|
||||
private QName type;
|
||||
|
||||
/**
|
||||
* Is this a multi-valued parameter?
|
||||
*/
|
||||
private boolean isMultiValued;
|
||||
|
||||
/**
|
||||
* The display label
|
||||
*/
|
||||
@@ -70,8 +75,30 @@ public class ParameterDefinitionImpl implements ParameterDefinition, Serializabl
|
||||
this.type = type;
|
||||
this.displayLabel = displayLabel;
|
||||
this.isMandatory = isMandatory;
|
||||
this.isMultiValued = false;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
* @param name the name of the parameter
|
||||
* @param type the type of the parameter
|
||||
* @param displayLabel the display label
|
||||
*/
|
||||
public ParameterDefinitionImpl(
|
||||
String name,
|
||||
QName type,
|
||||
boolean isMandatory,
|
||||
String displayLabel,
|
||||
boolean isMultiValued)
|
||||
{
|
||||
this.name = name;
|
||||
this.type = type;
|
||||
this.displayLabel = displayLabel;
|
||||
this.isMandatory = isMandatory;
|
||||
this.isMultiValued = isMultiValued;
|
||||
}
|
||||
|
||||
/**
|
||||
* @see org.alfresco.service.cmr.action.ParameterDefinition#getName()
|
||||
*/
|
||||
@@ -96,6 +123,14 @@ public class ParameterDefinitionImpl implements ParameterDefinition, Serializabl
|
||||
return this.isMandatory;
|
||||
}
|
||||
|
||||
/**
|
||||
* @see org.alfresco.service.cmr.action.ParameterDefinition#isMultiValued()
|
||||
*/
|
||||
public boolean isMultiValued()
|
||||
{
|
||||
return this.isMultiValued;
|
||||
}
|
||||
|
||||
/**
|
||||
* @see org.alfresco.service.cmr.action.ParameterDefinition#getDisplayLabel()
|
||||
*/
|
||||
|
Reference in New Issue
Block a user