public abstract class AbstractRelationship extends Object implements Relationship
Modifier and Type | Field and Description |
---|---|
protected Set<RelationshipElement<?>> |
sources |
protected RelationshipElement<?> |
target |
Constructor and Description |
---|
AbstractRelationship() |
Modifier and Type | Method and Description |
---|---|
protected void |
addExpressionTransform(RelationshipElement<?> source,
TExpression expression) |
void |
addSource(RelationshipElement<?> source) |
void |
addSource(RelationshipElement<?> source,
boolean inferStar) |
EffectType |
getEffectType() |
String |
getFunction() |
long |
getId() |
String |
getPartition() |
Long |
getProcedureId() |
Process |
getProcess() |
Collection<RelationshipElement<?>> |
getSources() |
String |
getSqlComment() |
String |
getSqlHash() |
RelationshipElement<?> |
getTarget() |
boolean |
isShowStarRelation() |
void |
setEffectType(EffectType effectType) |
void |
setFunction(String function) |
void |
setPartition(String partition) |
void |
setProcedureId(Long procedureId) |
void |
setProcess(Process process) |
void |
setShowStarRelation(boolean showStarRelation) |
void |
setTarget(RelationshipElement<?> target) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRelationshipType
protected RelationshipElement<?> target
protected Set<RelationshipElement<?>> sources
public AbstractRelationship()
public long getId()
public RelationshipElement<?> getTarget()
getTarget
in interface Relationship
public void setTarget(RelationshipElement<?> target)
public Collection<RelationshipElement<?>> getSources()
getSources
in interface Relationship
public void addSource(RelationshipElement<?> source)
public void addSource(RelationshipElement<?> source, boolean inferStar)
protected void addExpressionTransform(RelationshipElement<?> source, TExpression expression)
public EffectType getEffectType()
getEffectType
in interface Relationship
public void setEffectType(EffectType effectType)
public String getFunction()
getFunction
in interface Relationship
public void setFunction(String function)
public boolean isShowStarRelation()
isShowStarRelation
in interface Relationship
public void setShowStarRelation(boolean showStarRelation)
public Process getProcess()
public void setProcess(Process process)
public String getSqlHash()
public String getSqlComment()
public String getPartition()
public void setPartition(String partition)
public Long getProcedureId()
public void setProcedureId(Long procedureId)