public abstract class RelationImpl<Out extends Entity,In extends Entity> extends ERImpl implements Relation<Out,In>
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Object> |
additionalProperties |
protected Set<String> |
allowedAdditionalKeys
Used to allow to have an additional property starting with '_' or '@'
|
protected PropagationConstraint |
propagationConstraint |
protected Out |
source |
protected In |
target |
NAME, PROPAGATION_CONSTRAINT, SOURCE_PROPERTY, TARGET_PROPERTYHEADER_PROPERTYCLASS_PROPERTY, SUPERCLASSES_PROPERTY| Modifier | Constructor and Description |
|---|---|
protected |
RelationImpl() |
protected |
RelationImpl(Out source,
In target,
PropagationConstraint propagationConstraint) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getAdditionalProperties()
Return all properties.
|
Object |
getAdditionalProperty(String key)
Return the value of the given property.
|
PropagationConstraint |
getPropagationConstraint() |
Out |
getSource() |
In |
getTarget() |
void |
setAdditionalProperties(Map<String,Object> additionalProperties)
Set all properties, replacing existing ones
|
void |
setAdditionalProperty(String key,
Object value)
Set the value of the given property.
|
protected void |
setTarget(In target) |
String |
toString() |
protected PropagationConstraint propagationConstraint
protected RelationImpl()
protected RelationImpl(Out source, In target, PropagationConstraint propagationConstraint)
public Out getSource()
public In getTarget()
protected void setTarget(In target)
public PropagationConstraint getPropagationConstraint()
public Map<String,Object> getAdditionalProperties()
Relationpublic void setAdditionalProperties(Map<String,Object> additionalProperties)
Relationpublic Object getAdditionalProperty(String key)
Relationpublic void setAdditionalProperty(String key, Object value)
RelationCopyright © 2017. All Rights Reserved.