Class PDependencyImp
- java.lang.Object
-
- org.processmining.partialorder.models.dependency.PDependencyImp
-
- All Implemented Interfaces:
Dependency<java.lang.Integer>,PDependency
- Direct Known Subclasses:
PDependencyDataAware
public class PDependencyImp extends java.lang.Object implements PDependency
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanisDirectprotected intpreIndexprotected inttargetIndexprotected RelationTypetype
-
Constructor Summary
Constructors Constructor Description PDependencyImp(int sourceId, int targetId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RelationTypegetRelationType()java.lang.IntegergetSource()java.lang.IntegergetTarget()booleanisDirect()voidsetDirect(boolean b)voidsetRelationType(RelationType type)
-
-
-
Field Detail
-
preIndex
protected int preIndex
-
targetIndex
protected int targetIndex
-
isDirect
protected boolean isDirect
-
type
protected RelationType type
-
-
Method Detail
-
isDirect
public boolean isDirect()
- Specified by:
isDirectin interfaceDependency<java.lang.Integer>
-
setDirect
public void setDirect(boolean b)
- Specified by:
setDirectin interfaceDependency<java.lang.Integer>
-
getSource
public java.lang.Integer getSource()
- Specified by:
getSourcein interfaceDependency<java.lang.Integer>
-
getTarget
public java.lang.Integer getTarget()
- Specified by:
getTargetin interfaceDependency<java.lang.Integer>
-
getRelationType
public RelationType getRelationType()
- Specified by:
getRelationTypein interfacePDependency
-
setRelationType
public void setRelationType(RelationType type)
- Specified by:
setRelationTypein interfacePDependency
-
-