Commit 33a3a54f authored by lafabregue's avatar lafabregue

fix to constraint export

parent 5e1c5c78
......@@ -29,7 +29,7 @@ public class CannotLinkConstraint extends Constraint {
@Override
public String toString() {
return Constraint.CANNOT_LINK_TYPE+";"+firstIndex+";"+secondIndex;
return firstIndex+";"+secondIndex+";"+getType();
}
/**
......
......@@ -34,7 +34,7 @@ public class ClusterDiameterConstraint extends Constraint {
@Override
public String toString() {
return getType()+";"+diameter;
return diameter+";"+getType();
}
@Override
......
......@@ -40,7 +40,7 @@ public class LabelConstraint extends Constraint {
@Override
public String toString() {
return Constraint.LABEL_TYPE+";"+index+";"+classID;
return index+";"+classID+";"+getType();
}
@Override
......
......@@ -29,7 +29,7 @@ public class MustLinkConstraint extends Constraint {
@Override
public String toString() {
return Constraint.MUST_LINK_TYPE+";"+firstIndex+";"+secondIndex;
return firstIndex+";"+secondIndex+";"+getType();
}
/**
......
......@@ -49,7 +49,7 @@ public class NbClusterConstraint extends Constraint {
@Override
public String toString() {
return getType()+";"+minBoundry+";"+maxBoundry;
return minBoundry+";"+maxBoundry+";"+getType();
}
@Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment