Skip to content

Commit

Permalink
fix #17
Browse files Browse the repository at this point in the history
  • Loading branch information
pasqLisena committed Jul 31, 2018
1 parent 5c534a3 commit ce715eb
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,19 @@ public class F14_IndividualWork extends DoremusResource {

public F14_IndividualWork(Omu omu) {
super(omu);
this.resource.addProperty(RDF.type, FRBROO.F14_Individual_Work);
this.resource.addProperty(RDF.type, FRBROO.F14_Individual_Work)
.addProperty(MUS.U94_has_work_type, "musical work");
parseRecord();
}

public F14_IndividualWork(Omu omu, String identifier) {
super(omu, identifier);
this.resource.addProperty(RDF.type, FRBROO.F14_Individual_Work);
this.resource.addProperty(RDF.type, FRBROO.F14_Individual_Work)
.addProperty(MUS.U94_has_work_type, "musical work");
parseRecord();
}

private void parseRecord(){
private void parseRecord() {
// derivation type
OmuTypeMusicalDoc.byOmu(this.record.getId())
.stream()
Expand Down

0 comments on commit ce715eb

Please sign in to comment.