Class AbstractRelationDescriptor<S extends Relatable,T extends Relatable>

java.lang.Object
com.atlassian.confluence.api.model.relations.AbstractRelationDescriptor<S,T>
All Implemented Interfaces:
RelationDescriptor<S,T>
Direct Known Subclasses:
CollaboratorRelationDescriptor, CumulativeContributorRelationDescriptor, FavouriteRelationDescriptor, LikeRelationDescriptor, NamedRelationDescriptor, TouchedRelationDescriptor

@ExperimentalSpi public abstract class AbstractRelationDescriptor<S extends Relatable,T extends Relatable> extends Object implements RelationDescriptor<S,T>
Relation descriptor, which should be used as a base class for all custom relation descriptors. It is also very important to set-up correct type values (the custom relation is applicable for), as they (along with relation name) define a relation type, and are used for validation, in relation search queries etc.
Since:
5.9