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 TypeMethodDescriptionand()booleanonModel()voidsetAssocType(String assocType) voidsetPrimary(boolean isPrimary) Methods inherited from class org.alfresco.utility.model.TestModel
setRandomValuesForAllFields, toInfo, toJson, toString
-
Constructor Details
-
RestNodeAssociationTypeModel
public RestNodeAssociationTypeModel()
-
-
Method Details
-
assertThat
- Specified by:
assertThatin interfaceIModelAssertion<RestNodeAssociationTypeModel>
-
and
- Specified by:
andin interfaceIModelAssertion<RestNodeAssociationTypeModel>
-
onModel
- Specified by:
onModelin interfaceIRestModel<RestNodeAssociationTypeModel>
-
getAssocType
-
setAssocType
-
isPrimary
public boolean isPrimary() -
setPrimary
public void setPrimary(boolean isPrimary)
-