Package org.alfresco.utility.model
Class TestModel
java.lang.Object
org.alfresco.utility.model.TestModel
- All Implemented Interfaces:
Model
- Direct Known Subclasses:
CalendarEventModel,CustomAspectModel,CustomAspectPropertiesModel,CustomContentModel,GroupModel,LinkModel,ProcessModel,RepoTestModel,SiteModel,StatusModel,TagModel,TaskModel,UserModel,WikiModel
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TestModel
public TestModel()
-
-
Method Details
-
toInfo
-
toString
-
toJson
Converting object to JSON string- Parameters:
model- The java object model to convert
-
setRandomValuesForAllFields
Sets random values for all fields of a TestModel without specified fields as ignoredFields- Parameters:
testModel- all fields of testModel that need to be setignoredFields- fields to be excluded- Throws:
DataPreparationException- if there is an issue setting the fields.
-