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
public abstract class RepoTestModel extends TestModel
This is a model from repo that has the following fields: nodeRef and identifier
-
-
Constructor Summary
Constructors Constructor Description RepoTestModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetIdentifier()java.lang.StringgetNodeRef()java.lang.StringgetNodeRefWithoutVersion()Example: 25eb5ef8-50a5-4873-adc5-8edd87e628a4;1.0 will be returned as "25eb5ef8-50a5-4873-adc5-8edd87e628a4" without 1.0voidsetIdentifier(int identifier)voidsetNodeRef(java.lang.String nodeRef)-
Methods inherited from class org.alfresco.utility.model.TestModel
setRandomValuesForAllFields, toInfo, toJson, toString
-
-
-
-
Method Detail
-
getNodeRef
public java.lang.String getNodeRef()
-
getNodeRefWithoutVersion
public java.lang.String 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
public void setNodeRef(java.lang.String nodeRef)
-
getIdentifier
public int getIdentifier()
-
setIdentifier
public void setIdentifier(int identifier)
-
-