This commit is contained in:
Ben Bosman
2019-10-02 10:37:33 +02:00
parent 85b88b05a6
commit 53ff1afea5

View File

@@ -211,6 +211,8 @@ public class RelationshipMetadataServiceImpl implements RelationshipMetadataServ
return resultingMetadataValueList; return resultingMetadataValueList;
} }
//This method will construct a RelationshipMetadataValue object with proper schema, element, qualifier,
//authority, item, place and useForPlace based on the key String parameter passed along to it
private RelationshipMetadataValue constructRelationshipMetadataValue(Context context, Item item, private RelationshipMetadataValue constructRelationshipMetadataValue(Context context, Item item,
Integer relationshipId, int place, Integer relationshipId, int place,
String key, String key,
@@ -257,6 +259,7 @@ public class RelationshipMetadataServiceImpl implements RelationshipMetadataServ
} }
//This method will update a RelationshipMetadataValue object with authority info and relation to the item
private RelationshipMetadataValue constructResultingMetadataValue(Item item, String value, private RelationshipMetadataValue constructResultingMetadataValue(Item item, String value,
RelationshipMetadataValue metadataValue, RelationshipMetadataValue metadataValue,
Integer relationshipId) { Integer relationshipId) {