Fixed wrong criteria string format
FEA: ItEr76S04BugFixing
This commit is contained in:
parent
76dce94860
commit
937e2711d0
2 changed files with 3 additions and 4 deletions
|
|
@ -320,7 +320,7 @@ public class Criterion extends IntegrationEntity implements ICriterion,
|
|||
}
|
||||
|
||||
public String getCompleteName() {
|
||||
return type.getName() + " :: " + name;
|
||||
return name + "(" + type.getName() + ")";
|
||||
}
|
||||
|
||||
public boolean isActive() {
|
||||
|
|
|
|||
|
|
@ -81,8 +81,7 @@ public class CriterionBandboxFinder extends BandboxFinder implements IBandboxFin
|
|||
@Transactional(readOnly = true)
|
||||
public String objectToString(Object obj) {
|
||||
Criterion criterion = (Criterion) obj;
|
||||
return criterion.getType().getName() + " :: "
|
||||
+ getNamesHierarchy(criterion, new String());
|
||||
return criterion.getCompleteName();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
@ -117,7 +116,7 @@ public class CriterionBandboxFinder extends BandboxFinder implements IBandboxFin
|
|||
Criterion parent = criterion.getParent();
|
||||
if(parent != null){
|
||||
etiqueta = getNamesHierarchy(parent,etiqueta);
|
||||
etiqueta = etiqueta.concat(" -> ");
|
||||
etiqueta = etiqueta.concat(" > ");
|
||||
}
|
||||
return etiqueta.concat(criterion.getName());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue