diff --git a/oaipmh-core/src/main/java/info/textgrid/middleware/RecordDelivererAbstract.java b/oaipmh-core/src/main/java/info/textgrid/middleware/RecordDelivererAbstract.java index 09504b04e7b0ff3c2af3db556c8d018cc433c66a..f6a9ba3edd8676b24f117c9efc9303885a0b4e82 100644 --- a/oaipmh-core/src/main/java/info/textgrid/middleware/RecordDelivererAbstract.java +++ b/oaipmh-core/src/main/java/info/textgrid/middleware/RecordDelivererAbstract.java @@ -40,8 +40,7 @@ public abstract class RecordDelivererAbstract implements RecordDelivererInterfac protected String[] languageList; protected String[] publisherList; protected String[] relationList; - // FIXME Why is this commented out? I just adapted beans.xml file. - // protected String[] relationsForWorkList; + protected String[] relationsForWorkList; protected String[] rightList; protected String[] sourceList; protected String[] subjectList; @@ -260,12 +259,12 @@ public abstract class RecordDelivererAbstract implements RecordDelivererInterfac this.relationList = relationsList; } - // /** - // * @param relationsForWorkList - // */ - // public void setRelationsForWork(String[] relationsForWorkList) { - // this.relationsForWorkList = relationsForWorkList; - // } + /** + * @param relationsForWorkList + */ + public void setRelationsForWork(String[] relationsForWorkList) { + this.relationsForWorkList = relationsForWorkList; + } /** * @param rightsList diff --git a/oaipmh-webapp/src/main/webapp/WEB-INF/beans.xml b/oaipmh-webapp/src/main/webapp/WEB-INF/beans.xml index a2ded6a1db15232029c8cfea935d0ea57a41b222..a4c44fa3bd3c1854fe4baab3c0375bbb6a7577b8 100644 --- a/oaipmh-webapp/src/main/webapp/WEB-INF/beans.xml +++ b/oaipmh-webapp/src/main/webapp/WEB-INF/beans.xml @@ -106,10 +106,11 @@ <constructor-arg index="1" value="${dariah}" /> <!-- Properties from abstract class --> - <property name="fields" value="${fields}" /> <property name="workFields" value="${workFields}" /> + <property name="formatField" value="${formatField}" /> + <property name="formatToFilter" value="${formatToFilter}" /> <property name="dateOfObjectCreation" value="${dateOfObjectCreation}" /> <property name="relationToFurtherMetadataObject" @@ -117,12 +118,8 @@ <property name="repositoryObjectURIPrefix" value="${repositoryObjectURIPrefix}" /> <property name="identifierField" value="${identifierField}" /> - <property name="rangeField" value="${rangeField}" /> - <property name="formatField" value="${formatField}" /> - <property name="formatToFilter" value="${formatToFilter}" /> <!-- Properties from DC implementation class --> - <property name="contributor" value="${contributorList}" /> <property name="coverage" value="${coverageList}" /> <property name="creator" value="${creatorList}" />