Package org.alfresco.rest.model
Class RestFormModel
java.lang.Object
org.alfresco.utility.model.TestModel
org.alfresco.rest.model.RestFormModel
- All Implemented Interfaces:
IModelAssertion<RestFormModel>,IRestModel<RestFormModel>,org.alfresco.utility.model.Model
public class RestFormModel
extends org.alfresco.utility.model.TestModel
implements IRestModel<RestFormModel>
Handles single representation of a Start Form Model * "entry": { "allowedValues": [ "1", "2", "3" ], "qualifiedName": "{http://www.alfresco.org/model/bpm/1.0}workflowPriority", "defaultValue": "2", "dataType": "d:int", "name": "bpm_workflowPriority", "title": "Workflow Priority", "required": false } Created by Claudia Agache on 10/18/2016.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]getName()getTitle()onModel()voidsetAllowedValues(String[] allowedValues) voidsetDataType(String dataType) voidsetDefaultValue(String defaultValue) voidvoidsetQualifiedName(String qualifiedName) voidsetRequired(String required) voidMethods inherited from class org.alfresco.utility.model.TestModel
setRandomValuesForAllFields, toInfo, toJson, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.alfresco.rest.core.assertion.IModelAssertion
and, assertThat
-
Constructor Details
-
RestFormModel
public RestFormModel()
-
-
Method Details
-
onModel
- Specified by:
onModelin interfaceIRestModel<RestFormModel>
-
getAllowedValues
-
setAllowedValues
-
getQualifiedName
-
setQualifiedName
-
getDefaultValue
-
setDefaultValue
-
getDataType
-
setDataType
-
getName
-
setName
-
getTitle
-
setTitle
-
getRequired
-
setRequired
-