Mercurial > hg > openmind
view src/main/java/org/mpi/openmind/repository/services/utils/AttributeResultEntry.java @ 114:70a02006675c
New clean actions to delete lost floruit_dates and empty references.
author | Robert Casties <casties@mpiwg-berlin.mpg.de> |
---|---|
date | Mon, 26 Aug 2019 16:10:14 +0200 |
parents | 615d27dce9b3 |
children |
line wrap: on
line source
package org.mpi.openmind.repository.services.utils; import org.mpi.openmind.repository.bo.Attribute; import org.mpi.openmind.repository.bo.Entity; public class AttributeResultEntry { public Attribute attribute; public Entity entity; @Override public String toString(){ String s; if(entity != null){ s = "entity[id="+ entity.getId() + ", ownValue=" + entity.getOwnValue() + "]"; }else{ s = "entity[null]"; } if(attribute != null){ s += ", attribute[id=" + attribute.getId() + ", name="+ attribute.getObjectClass() + ", value= " + attribute.getOwnValue() + "]"; }else{ s += "attribute[null]"; } return "AttributeResultEntry= " + s; } }