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 Details

    • RepoTestModel

      public RepoTestModel()
  • Method Details

    • getNodeRef

      public String getNodeRef()
    • getNodeRefWithoutVersion

      public 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(String nodeRef)
    • getIdentifier

      public int getIdentifier()
    • setIdentifier

      public void setIdentifier(int identifier)