@ExperimentalSpi public abstract class AbstractRelationDescriptor<S extends Relatable,T extends Relatable> extends Object implements RelationDescriptor<S,T>
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractRelationDescriptor(String relationName) |
protected |
AbstractRelationDescriptor(String relationName,
Class<S> sourceClass,
Class<T> targetClass) |
| Modifier and Type | Method and Description |
|---|---|
protected Class |
getGenericTypeArgs(int i) |
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.
|
protected AbstractRelationDescriptor(String relationName)
public Class<S> getSourceClass()
RelationDescriptorRelatablegetSourceClass in interface RelationDescriptor<S extends Relatable,T extends Relatable>public Class<T> getTargetClass()
RelationDescriptorRelatablegetTargetClass in interface RelationDescriptor<S extends Relatable,T extends Relatable>public String getRelationName()
RelationDescriptorgetRelationName in interface RelationDescriptor<S extends Relatable,T extends Relatable>protected Class getGenericTypeArgs(int i)
Copyright © 2003–2020 Atlassian. All rights reserved.