Package org.alfresco.utility.model
Class RepoTestModel
java.lang.Object
org.alfresco.utility.model.TestModel
org.alfresco.utility.model.RepoTestModel
- All Implemented Interfaces:
Model
- Direct Known Subclasses:
ContentModel
This is a model from repo that has the following fields: nodeRef and identifier
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintExample: 25eb5ef8-50a5-4873-adc5-8edd87e628a4;1.0 will be returned as "25eb5ef8-50a5-4873-adc5-8edd87e628a4" without 1.0voidsetIdentifier(int identifier) voidsetNodeRef(String nodeRef) Methods inherited from class org.alfresco.utility.model.TestModel
setRandomValuesForAllFields, toInfo, toJson, toString
-
Constructor Details
-
RepoTestModel
public RepoTestModel()
-
-
Method Details
-
getNodeRef
-
getNodeRefWithoutVersion
Example: 25eb5ef8-50a5-4873-adc5-8edd87e628a4;1.0 will be returned as "25eb5ef8-50a5-4873-adc5-8edd87e628a4" without 1.0- Returns:
#getGuid()without version number
-
setNodeRef
-
getIdentifier
public int getIdentifier() -
setIdentifier
public void setIdentifier(int identifier)
-