@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()
RelationDescriptor
Relatable
getSourceClass
in interface RelationDescriptor<S extends Relatable,T extends Relatable>
public Class<T> getTargetClass()
RelationDescriptor
Relatable
getTargetClass
in interface RelationDescriptor<S extends Relatable,T extends Relatable>
public String getRelationName()
RelationDescriptor
getRelationName
in interface RelationDescriptor<S extends Relatable,T extends Relatable>
protected Class getGenericTypeArgs(int i)
Copyright © 2003–2017 Atlassian. All rights reserved.