diff src/main/java/de/mpiwg/itgroup/ismi/entry/beans/CodexEditorTemplate.java @ 111:22a18bfc66b0

new completion that uses ALIASes: AbstractListenerObject. was_copied_in in WITNESS form can use PLACE aliases now. some cleanup.
author casties
date Fri, 09 Dec 2016 21:18:27 +0100
parents 71efad4fe975
children
line wrap: on
line diff
--- a/src/main/java/de/mpiwg/itgroup/ismi/entry/beans/CodexEditorTemplate.java	Thu Dec 08 16:05:18 2016 +0100
+++ b/src/main/java/de/mpiwg/itgroup/ismi/entry/beans/CodexEditorTemplate.java	Fri Dec 09 21:18:27 2016 +0100
@@ -80,12 +80,12 @@
 	 * @param country
 	 */
 	public void setCountry(Entity country){
-		this.getCountryLo().setEntityAndAttribute0(country);
+		this.getCountryLo().setEntityAndAttribute(country);
 		this.restrictByCountry(country);
 	}
 	
 	public void setCity(Entity city) {
-		this.getCityLo().setEntityAndAttribute0(city);
+		this.getCityLo().setEntityAndAttribute(city);
 		this.restrictByCity(city);
 		
 		List<Entity> list = getWrapper().getTargetsForSourceRelation(city, is_part_of, PLACE, 1);
@@ -96,7 +96,7 @@
 	}
 
 	public void setRepository(Entity repository) {
-		this.getRepositoryLo().setEntityAndAttribute0(repository);
+		this.getRepositoryLo().setEntityAndAttribute(repository);
 		this.restrictByRepository(repository);
 		
 		List<Entity> list = getWrapper().getTargetsForSourceRelation(repository, is_in, PLACE, 5);
@@ -107,7 +107,7 @@
 	}
 	
 	public void setCollection(Entity collection) {
-		this.getCollectionLo().setEntityAndAttribute0(collection);
+		this.getCollectionLo().setEntityAndAttribute(collection);
 		this.restrictByCollection(collection);
 		
 		List<Entity> repoList = getWrapper().getTargetsForSourceRelation(collection, is_part_of, REPOSITORY, 1);
@@ -222,7 +222,7 @@
 				if(ent != null){
 					String ct = ent.getObjectClass();
 					if (ct.equals(CODEX)) {
-						this.getCodexLo().setEntityAndAttribute0(ent);
+						this.getCodexLo().setEntityAndAttribute(ent);
 						Attribute identifier = getWrapper().getAttributeByName(ent.getId(), "identifier");
 						
 						if(identifier != null){