public abstract class RelationImpl<Out extends Entity,In extends Entity> extends BaseRelationImpl<Out,In> 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 |
source, targetNAME, PROPAGATION_CONSTRAINTSOURCE_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() |
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.
|
getSource, getTarget, setSource, setTargetgetHeader, setHeader, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetSource, getTarget, setSource, setTargetgetHeaderprotected PropagationConstraint propagationConstraint
protected RelationImpl()
protected RelationImpl(Out source, In target, PropagationConstraint propagationConstraint)
public PropagationConstraint getPropagationConstraint()
public Map<String,Object> getAdditionalProperties()
Relationpublic void setAdditionalProperties(Map<String,Object> additionalProperties)
Relationpublic Object getAdditionalProperty(String key)
RelationCopyright © 2019. All Rights Reserved.