Package org.alfresco.rest.model
Class RestNodeAssociationTypeModel
java.lang.Object
org.alfresco.utility.model.TestModel
org.alfresco.rest.model.RestNodeAssociationTypeModel
- All Implemented Interfaces:
IModelAssertion<RestNodeAssociationTypeModel>,IRestModel<RestNodeAssociationTypeModel>,org.alfresco.utility.model.Model
public class RestNodeAssociationTypeModel
extends org.alfresco.utility.model.TestModel
implements IRestModel<RestNodeAssociationTypeModel>
Represents an association between two nodes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanonModel()voidsetAssocType(String assocType) voidsetPrimary(boolean isPrimary) Methods 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
-
RestNodeAssociationTypeModel
public RestNodeAssociationTypeModel()
-
-
Method Details
-
onModel
- Specified by:
onModelin interfaceIRestModel<RestNodeAssociationTypeModel>
-
getAssocType
-
setAssocType
-
isPrimary
public boolean isPrimary() -
setPrimary
public void setPrimary(boolean isPrimary)
-