@ExperimentalSpi
public interface RelationDescriptor<S extends Relatable,T extends Relatable>
Please do implement ths interface directly, if you need to create your own relation please use
AbstractRelationDescriptor
or
NamedRelationDescriptor
Modifier and Type | Method and Description |
---|---|
String |
getRelationName()
Get relation name.
|
Class<S> |
getSourceClass()
Returns class of source entity of the relation.
|
Class<T> |
getTargetClass()
Returns class of target entity of the relation.
|
String getRelationName()
Class<S> getSourceClass()
Relatable
Copyright © 2003–2020 Atlassian. All rights reserved.