public abstract class RelationImpl<S extends Resource,T extends Entity> extends RelationElementImpl<S,T> implements Relation<S,T>
| 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 |
header, source, targetNAME, PROPAGATION_CONSTRAINTSOURCE_PROPERTY, TARGET_PROPERTYHEADER_PROPERTYCLASS_PROPERTY, DATETIME_PATTERN, SUPERCLASSES_PROPERTY| Modifier | Constructor and Description |
|---|---|
protected |
RelationImpl() |
protected |
RelationImpl(S source,
T target,
PropagationConstraint propagationConstraint) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getAdditionalProperties() |
Object |
getAdditionalProperty(String key) |
PropagationConstraint |
getPropagationConstraint() |
void |
setAdditionalProperties(Map<String,Object> additionalProperties) |
void |
setAdditionalProperty(String key,
Object value) |
getHeader, getSource, getTarget, setHeader, setSource, setTargettoStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetSource, getTarget, setSource, setTargetgetHeadersetHeaderprotected PropagationConstraint propagationConstraint
protected RelationImpl()
protected RelationImpl(S source, T target, PropagationConstraint propagationConstraint)
public PropagationConstraint getPropagationConstraint()
public Map<String,Object> getAdditionalProperties()
getAdditionalProperties in interface SchemaMixedElementgetAdditionalProperties in interface Relation<S extends Resource,T extends Entity>public void setAdditionalProperties(Map<String,Object> additionalProperties)
setAdditionalProperties in interface SchemaMixedElementsetAdditionalProperties in interface Relation<S extends Resource,T extends Entity>public Object getAdditionalProperty(String key)
getAdditionalProperty in interface SchemaMixedElementgetAdditionalProperty in interface Relation<S extends Resource,T extends Entity>public void setAdditionalProperty(String key, Object value)
setAdditionalProperty in interface SchemaMixedElementsetAdditionalProperty in interface Relation<S extends Resource,T extends Entity>Copyright © 2020. All Rights Reserved.