public abstract class RelationImpl<Out extends Entity,In extends Entity> extends Object implements Relation<Out,In>
| Modifier and Type | Field and Description |
|---|---|
protected Header |
header |
protected RelationProperty |
relationProperty |
protected Out |
source |
protected In |
target |
HEADER_PROPERTY, NAME, RELATION_PROPERTY| Modifier | Constructor and Description |
|---|---|
protected |
RelationImpl(Out source,
In target,
RelationProperty relationProperty) |
protected |
RelationImpl(Out source,
RelationProperty relationProperty)
It responsibility of specialization constructor to set target
|
| Modifier and Type | Method and Description |
|---|---|
Header |
getHeader() |
RelationProperty |
getRelationProperty() |
void |
getRelationProperty(RelationProperty relationProperty) |
Out |
getSource() |
In |
getTarget() |
protected Header header
protected RelationProperty relationProperty
protected RelationImpl(Out source, RelationProperty relationProperty)
source - relationProperty - protected RelationImpl(Out source, In target, RelationProperty relationProperty)
public Header getHeader()
public Out getSource()
public In getTarget()
public RelationProperty getRelationProperty()
public void getRelationProperty(RelationProperty relationProperty)
Copyright © 2016. All Rights Reserved.