@Test public void testCreate() throws Exception { final OcDublinCore source = randomDc(); final OcDublinCoreBuilder target = OcDublinCoreBuilder.create(source); run(OcDublinCore.class, new OcDublinCore() { @Override public Option<String> getAbstract() { assertEquals("abstract copy", source.getAbstract(), target.abstrakt); return null; } @Override public Option<String> getAccessRights() { assertEquals("accessRights copy", source.getAccessRights(), target.accessRights); return null; } @Override public Option<String> getAccrualMethod() { assertEquals("accrualMethod copy", source.getAccrualMethod(), target.accrualMethod); return null; } @Override public Option<String> getAccrualPeriodicity() { assertEquals("accrualPeriodicity copy", source.getAccrualPeriodicity(), target.accrualPeriodicity); return null; } @Override public Option<String> getAccrualPolicy() { assertEquals("accrualPolicy copy", source.getAccrualPolicy(), target.accrualPolicy); return null; } @Override public Option<String> getAlternative() { assertEquals("alternative copy", source.getAlternative(), target.alternative); return null; } @Override public Option<String> getAudience() { assertEquals("audience copy", source.getAudience(), target.audience); return null; } @Override public Option<String> getAvailable() { assertEquals("available copy", source.getAvailable(), target.available); return null; } @Override public Option<String> getBibliographicCitation() { assertEquals("bibliographicCitation copy", source.getBibliographicCitation(), target.bibliographicCitation); return null; } @Override public Option<String> getConformsTo() { assertEquals("conformsTo copy", source.getConformsTo(), target.conformsTo); return null; } @Override public Option<String> getContributor() { assertEquals("contributor copy", source.getContributor(), target.contributor); return null; } @Override public Option<String> getCoverage() { assertEquals("coverage copy", source.getCoverage(), target.coverage); return null; } @Override public Date getCreated() { assertEquals("created copy", source.getCreated(), target.created.getOrElseNull()); return null; } @Override public Option<String> getCreator() { assertEquals("creator copy", source.getCreator(), target.creator); return null; } @Override public Option<Date> getDate() { assertEquals("date copy", source.getDate(), target.date); return null; } @Override public Option<Date> getDateAccepted() { assertEquals("dateAccepted copy", source.getDateAccepted(), target.dateAccepted); return null; } @Override public Option<Date> getDateCopyrighted() { assertEquals("dateCopyrighted copy", source.getDateCopyrighted(), target.dateCopyrighted); return null; } @Override public Option<Date> getDateSubmitted() { assertEquals("dateSubmitted copy", source.getDateSubmitted(), target.dateSubmitted); return null; } @Override public Option<String> getDescription() { assertEquals("description copy", source.getDescription(), target.description); return null; } @Override public Option<String> getEducationLevel() { assertEquals("educationLevel copy", source.getEducationLevel(), target.educationLevel); return null; } @Override public Option<Long> getExtent() { assertEquals("extent copy", source.getExtent(), target.extent); return null; } @Override public Option<String> getFormat() { assertEquals("format copy", source.getFormat(), target.format); return null; } @Override public Option<String> getHasFormat() { assertEquals("hasFormat copy", source.getHasFormat(), target.hasFormat); return null; } @Override public Option<String> getHasPart() { assertEquals("hasPart copy", source.getHasPart(), target.hasPart); return null; } @Override public Option<String> getHasVersion() { assertEquals("hasVersion copy", source.getHasVersion(), target.hasVersion); return null; } @Override public Option<String> getIdentifier() { assertEquals("identifier copy", source.getIdentifier(), target.identifier); return null; } @Override public Option<String> getInstructionalMethod() { assertEquals("instructionalMethod copy", source.getInstructionalMethod(), target.instructionalMethod); return null; } @Override public Option<String> getIsFormatOf() { assertEquals("isFormatOf copy", source.getIsFormatOf(), target.isFormatOf); return null; } @Override public Option<String> getIsPartOf() { assertEquals("isPartOf copy", source.getIsPartOf(), target.isPartOf); return null; } @Override public Option<String> getIsReferencedBy() { assertEquals("isReferencedBy copy", source.getIsReferencedBy(), target.isReferencedBy); return null; } @Override public Option<String> getIsReplacedBy() { assertEquals("isReplacedBy copy", source.getIsReplacedBy(), target.isReplacedBy); return null; } @Override public Option<String> getIsRequiredBy() { assertEquals("isRequiredBy copy", source.getIsRequiredBy(), target.isRequiredBy); return null; } @Override public Option<String> getIssued() { assertEquals("issued copy", source.getIssued(), target.issued); return null; } @Override public Option<String> getIsVersionOf() { assertEquals("isVersionOf copy", source.getIsVersionOf(), target.isVersionOf); return null; } @Override public Option<String> getLanguage() { assertEquals("language copy", source.getLanguage(), target.language); return null; } @Override public Option<String> getLicense() { assertEquals("license copy", source.getLicense(), target.license); return null; } @Override public Option<String> getMediator() { assertEquals("mediator copy", source.getMediator(), target.mediator); return null; } @Override public Option<String> getMedium() { assertEquals("medium copy", source.getMedium(), target.medium); return null; } @Override public Option<String> getModified() { assertEquals("modified copy", source.getModified(), target.modified); return null; } @Override public Option<String> getProvenance() { assertEquals("provenance copy", source.getProvenance(), target.provenance); return null; } @Override public Option<String> getPublisher() { assertEquals("publisher copy", source.getPublisher(), target.publisher); return null; } @Override public Option<String> getReferences() { assertEquals("references copy", source.getReferences(), target.references); return null; } @Override public Option<String> getRelation() { assertEquals("relation copy", source.getRelation(), target.relation); return null; } @Override public Option<String> getReplaces() { assertEquals("replaces copy", source.getReplaces(), target.replaces); return null; } @Override public Option<String> getRequires() { assertEquals("requires copy", source.getRequires(), target.requires); return null; } @Override public Option<String> getRights() { assertEquals("rights copy", source.getRights(), target.rights); return null; } @Override public Option<String> getRightsHolder() { assertEquals("rightsHolder copy", source.getRightsHolder(), target.rightsHolder); return null; } @Override public Option<String> getSource() { assertEquals("source copy", source.getSource(), target.source); return null; } @Override public Option<String> getSpatial() { assertEquals("spatial copy", source.getSpatial(), target.spatial); return null; } @Override public Option<String> getSubject() { assertEquals("subject copy", source.getSubject(), target.subject); return null; } @Override public Option<String> getTableOfContents() { assertEquals("tableOfContents copy", source.getTableOfContents(), target.tableOfContents); return null; } @Override public Option<String> getTemporal() { assertEquals("temporal copy", source.getTemporal(), target.temporal); return null; } @Override public String getTitle() { assertEquals("title copy", source.getTitle(), target.title.getOrElseNull()); return null; } @Override public Option<String> getType() { assertEquals("type copy", source.getType(), target.type); return null; } @Override public Option<String> getValid() { assertEquals("valid copy", source.getValid(), target.valid); return null; } }); }
public static OcDublinCoreBuilder create(final OcDublinCore source) { final OcDublinCoreBuilder target = new OcDublinCoreBuilder(); target.abstrakt = source.getAbstract(); target.accessRights = source.getAccessRights(); target.accrualMethod = source.getAccrualMethod(); target.accrualPeriodicity = source.getAccrualPeriodicity(); target.accrualPolicy = source.getAccrualPolicy(); target.alternative = source.getAlternative(); target.audience = source.getAudience(); target.available = source.getAvailable(); target.bibliographicCitation = source.getBibliographicCitation(); target.conformsTo = source.getConformsTo(); target.contributor = source.getContributor(); target.coverage = source.getCoverage(); target.created = some(source.getCreated()); target.creator = source.getCreator(); target.date = source.getDate(); target.dateAccepted = source.getDateAccepted(); target.dateCopyrighted = source.getDateCopyrighted(); target.dateSubmitted = source.getDateSubmitted(); target.description = source.getDescription(); target.educationLevel = source.getEducationLevel(); target.extent = source.getExtent(); target.format = source.getFormat(); target.hasFormat = source.getHasFormat(); target.hasPart = source.getHasPart(); target.hasVersion = source.getHasVersion(); target.identifier = source.getIdentifier(); target.instructionalMethod = source.getInstructionalMethod(); target.isFormatOf = source.getIsFormatOf(); target.isPartOf = source.getIsPartOf(); target.isReferencedBy = source.getIsReferencedBy(); target.isReplacedBy = source.getIsReplacedBy(); target.isRequiredBy = source.getIsRequiredBy(); target.issued = source.getIssued(); target.isVersionOf = source.getIsVersionOf(); target.language = source.getLanguage(); target.license = source.getLicense(); target.mediator = source.getMediator(); target.medium = source.getMedium(); target.modified = source.getModified(); target.provenance = source.getProvenance(); target.publisher = source.getPublisher(); target.references = source.getReferences(); target.relation = source.getRelation(); target.replaces = source.getReplaces(); target.requires = source.getRequires(); target.rights = source.getRights(); target.rightsHolder = source.getRightsHolder(); target.source = source.getSource(); target.spatial = source.getSpatial(); target.subject = source.getSubject(); target.tableOfContents = source.getTableOfContents(); target.temporal = source.getTemporal(); target.title = some(source.getTitle()); target.type = source.getType(); target.valid = source.getValid(); return target; }
OcDublinCoreBuilder implements OcDublinCore { public static OcDublinCoreBuilder create(final OcDublinCore source) { final OcDublinCoreBuilder target = new OcDublinCoreBuilder(); target.abstrakt = source.getAbstract(); target.accessRights = source.getAccessRights(); target.accrualMethod = source.getAccrualMethod(); target.accrualPeriodicity = source.getAccrualPeriodicity(); target.accrualPolicy = source.getAccrualPolicy(); target.alternative = source.getAlternative(); target.audience = source.getAudience(); target.available = source.getAvailable(); target.bibliographicCitation = source.getBibliographicCitation(); target.conformsTo = source.getConformsTo(); target.contributor = source.getContributor(); target.coverage = source.getCoverage(); target.created = some(source.getCreated()); target.creator = source.getCreator(); target.date = source.getDate(); target.dateAccepted = source.getDateAccepted(); target.dateCopyrighted = source.getDateCopyrighted(); target.dateSubmitted = source.getDateSubmitted(); target.description = source.getDescription(); target.educationLevel = source.getEducationLevel(); target.extent = source.getExtent(); target.format = source.getFormat(); target.hasFormat = source.getHasFormat(); target.hasPart = source.getHasPart(); target.hasVersion = source.getHasVersion(); target.identifier = source.getIdentifier(); target.instructionalMethod = source.getInstructionalMethod(); target.isFormatOf = source.getIsFormatOf(); target.isPartOf = source.getIsPartOf(); target.isReferencedBy = source.getIsReferencedBy(); target.isReplacedBy = source.getIsReplacedBy(); target.isRequiredBy = source.getIsRequiredBy(); target.issued = source.getIssued(); target.isVersionOf = source.getIsVersionOf(); target.language = source.getLanguage(); target.license = source.getLicense(); target.mediator = source.getMediator(); target.medium = source.getMedium(); target.modified = source.getModified(); target.provenance = source.getProvenance(); target.publisher = source.getPublisher(); target.references = source.getReferences(); target.relation = source.getRelation(); target.replaces = source.getReplaces(); target.requires = source.getRequires(); target.rights = source.getRights(); target.rightsHolder = source.getRightsHolder(); target.source = source.getSource(); target.spatial = source.getSpatial(); target.subject = source.getSubject(); target.tableOfContents = source.getTableOfContents(); target.temporal = source.getTemporal(); target.title = some(source.getTitle()); target.type = source.getType(); target.valid = source.getValid(); return target; } }
OcDublinCoreBuilder implements OcDublinCore { public static OcDublinCoreBuilder create(final OcDublinCore source) { final OcDublinCoreBuilder target = new OcDublinCoreBuilder(); target.abstrakt = source.getAbstract(); target.accessRights = source.getAccessRights(); target.accrualMethod = source.getAccrualMethod(); target.accrualPeriodicity = source.getAccrualPeriodicity(); target.accrualPolicy = source.getAccrualPolicy(); target.alternative = source.getAlternative(); target.audience = source.getAudience(); target.available = source.getAvailable(); target.bibliographicCitation = source.getBibliographicCitation(); target.conformsTo = source.getConformsTo(); target.contributor = source.getContributor(); target.coverage = source.getCoverage(); target.created = some(source.getCreated()); target.creator = source.getCreator(); target.date = source.getDate(); target.dateAccepted = source.getDateAccepted(); target.dateCopyrighted = source.getDateCopyrighted(); target.dateSubmitted = source.getDateSubmitted(); target.description = source.getDescription(); target.educationLevel = source.getEducationLevel(); target.extent = source.getExtent(); target.format = source.getFormat(); target.hasFormat = source.getHasFormat(); target.hasPart = source.getHasPart(); target.hasVersion = source.getHasVersion(); target.identifier = source.getIdentifier(); target.instructionalMethod = source.getInstructionalMethod(); target.isFormatOf = source.getIsFormatOf(); target.isPartOf = source.getIsPartOf(); target.isReferencedBy = source.getIsReferencedBy(); target.isReplacedBy = source.getIsReplacedBy(); target.isRequiredBy = source.getIsRequiredBy(); target.issued = source.getIssued(); target.isVersionOf = source.getIsVersionOf(); target.language = source.getLanguage(); target.license = source.getLicense(); target.mediator = source.getMediator(); target.medium = source.getMedium(); target.modified = source.getModified(); target.provenance = source.getProvenance(); target.publisher = source.getPublisher(); target.references = source.getReferences(); target.relation = source.getRelation(); target.replaces = source.getReplaces(); target.requires = source.getRequires(); target.rights = source.getRights(); target.rightsHolder = source.getRightsHolder(); target.source = source.getSource(); target.spatial = source.getSpatial(); target.subject = source.getSubject(); target.tableOfContents = source.getTableOfContents(); target.temporal = source.getTemporal(); target.title = some(source.getTitle()); target.type = source.getType(); target.valid = source.getValid(); return target; }  }
OcDublinCoreBuilder implements OcDublinCore { public static OcDublinCoreBuilder create(final OcDublinCore source) { final OcDublinCoreBuilder target = new OcDublinCoreBuilder(); target.abstrakt = source.getAbstract(); target.accessRights = source.getAccessRights(); target.accrualMethod = source.getAccrualMethod(); target.accrualPeriodicity = source.getAccrualPeriodicity(); target.accrualPolicy = source.getAccrualPolicy(); target.alternative = source.getAlternative(); target.audience = source.getAudience(); target.available = source.getAvailable(); target.bibliographicCitation = source.getBibliographicCitation(); target.conformsTo = source.getConformsTo(); target.contributor = source.getContributor(); target.coverage = source.getCoverage(); target.created = some(source.getCreated()); target.creator = source.getCreator(); target.date = source.getDate(); target.dateAccepted = source.getDateAccepted(); target.dateCopyrighted = source.getDateCopyrighted(); target.dateSubmitted = source.getDateSubmitted(); target.description = source.getDescription(); target.educationLevel = source.getEducationLevel(); target.extent = source.getExtent(); target.format = source.getFormat(); target.hasFormat = source.getHasFormat(); target.hasPart = source.getHasPart(); target.hasVersion = source.getHasVersion(); target.identifier = source.getIdentifier(); target.instructionalMethod = source.getInstructionalMethod(); target.isFormatOf = source.getIsFormatOf(); target.isPartOf = source.getIsPartOf(); target.isReferencedBy = source.getIsReferencedBy(); target.isReplacedBy = source.getIsReplacedBy(); target.isRequiredBy = source.getIsRequiredBy(); target.issued = source.getIssued(); target.isVersionOf = source.getIsVersionOf(); target.language = source.getLanguage(); target.license = source.getLicense(); target.mediator = source.getMediator(); target.medium = source.getMedium(); target.modified = source.getModified(); target.provenance = source.getProvenance(); target.publisher = source.getPublisher(); target.references = source.getReferences(); target.relation = source.getRelation(); target.replaces = source.getReplaces(); target.requires = source.getRequires(); target.rights = source.getRights(); target.rightsHolder = source.getRightsHolder(); target.source = source.getSource(); target.spatial = source.getSpatial(); target.subject = source.getSubject(); target.tableOfContents = source.getTableOfContents(); target.temporal = source.getTemporal(); target.title = some(source.getTitle()); target.type = source.getType(); target.valid = source.getValid(); return target; }  static OcDublinCoreBuilder create(final OcDublinCore source); OcDublinCoreBuilder setAbstract(Option<String> a); OcDublinCoreBuilder setAccessRights(Option<String> a); OcDublinCoreBuilder setAccrualMethod(Option<String> a); OcDublinCoreBuilder setAccrualPeriodicity(Option<String> a); OcDublinCoreBuilder setAccrualPolicy(Option<String> a); OcDublinCoreBuilder setAlternative(Option<String> a); OcDublinCoreBuilder setAudience(Option<String> a); OcDublinCoreBuilder setAvailable(Option<String> a); OcDublinCoreBuilder setBibliographicCitation(Option<String> a); OcDublinCoreBuilder setConformsTo(Option<String> a); OcDublinCoreBuilder setContributor(Option<String> a); OcDublinCoreBuilder setCoverage(Option<String> a); OcDublinCoreBuilder setCreated(Option<Date> a); OcDublinCoreBuilder setCreator(Option<String> a); OcDublinCoreBuilder setDate(Option<Date> a); OcDublinCoreBuilder setDateAccepted(Option<Date> a); OcDublinCoreBuilder setDateCopyrighted(Option<Date> a); OcDublinCoreBuilder setDateSubmitted(Option<Date> a); OcDublinCoreBuilder setDescription(Option<String> a); OcDublinCoreBuilder setEducationLevel(Option<String> a); OcDublinCoreBuilder setExtent(Option<Long> a); OcDublinCoreBuilder setFormat(Option<String> a); OcDublinCoreBuilder setHasFormat(Option<String> a); OcDublinCoreBuilder setHasPart(Option<String> a); OcDublinCoreBuilder setHasVersion(Option<String> a); OcDublinCoreBuilder setIdentifier(Option<String> a); OcDublinCoreBuilder setInstructionalMethod(Option<String> a); OcDublinCoreBuilder setIsFormatOf(Option<String> a); OcDublinCoreBuilder setIsPartOf(Option<String> a); OcDublinCoreBuilder setIsReferencedBy(Option<String> a); OcDublinCoreBuilder setIsReplacedBy(Option<String> a); OcDublinCoreBuilder setIsRequiredBy(Option<String> a); OcDublinCoreBuilder setIssued(Option<String> a); OcDublinCoreBuilder setIsVersionOf(Option<String> a); OcDublinCoreBuilder setLanguage(Option<String> a); OcDublinCoreBuilder setLicense(Option<String> a); OcDublinCoreBuilder setMediator(Option<String> a); OcDublinCoreBuilder setMedium(Option<String> a); OcDublinCoreBuilder setModified(Option<String> a); OcDublinCoreBuilder setProvenance(Option<String> a); OcDublinCoreBuilder setPublisher(Option<String> a); OcDublinCoreBuilder setReferences(Option<String> a); OcDublinCoreBuilder setRelation(Option<String> a); OcDublinCoreBuilder setReplaces(Option<String> a); OcDublinCoreBuilder setRequires(Option<String> a); OcDublinCoreBuilder setRights(Option<String> a); OcDublinCoreBuilder setRightsHolder(Option<String> a); OcDublinCoreBuilder setSource(Option<String> a); OcDublinCoreBuilder setSpatial(Option<String> a); OcDublinCoreBuilder setSubject(Option<String> a); OcDublinCoreBuilder setTableOfContents(Option<String> a); OcDublinCoreBuilder setTemporal(Option<String> a); OcDublinCoreBuilder setTitle(Option<String> a); OcDublinCoreBuilder setType(Option<String> a); OcDublinCoreBuilder setValid(Option<String> a); OcDublinCoreBuilder setAbstract(String a); OcDublinCoreBuilder setAccessRights(String a); OcDublinCoreBuilder setAccrualMethod(String a); OcDublinCoreBuilder setAccrualPeriodicity(String a); OcDublinCoreBuilder setAccrualPolicy(String a); OcDublinCoreBuilder setAlternative(String a); OcDublinCoreBuilder setAudience(String a); OcDublinCoreBuilder setAvailable(String a); OcDublinCoreBuilder setBibliographicCitation(String a); OcDublinCoreBuilder setConformsTo(String a); OcDublinCoreBuilder setContributor(String a); OcDublinCoreBuilder setCoverage(String a); OcDublinCoreBuilder setCreated(Date a); OcDublinCoreBuilder setCreator(String a); OcDublinCoreBuilder setDate(Date a); OcDublinCoreBuilder setDateAccepted(Date a); OcDublinCoreBuilder setDateCopyrighted(Date a); OcDublinCoreBuilder setDateSubmitted(Date a); OcDublinCoreBuilder setDescription(String a); OcDublinCoreBuilder setEducationLevel(String a); OcDublinCoreBuilder setExtent(Long a); OcDublinCoreBuilder setFormat(String a); OcDublinCoreBuilder setHasFormat(String a); OcDublinCoreBuilder setHasPart(String a); OcDublinCoreBuilder setHasVersion(String a); OcDublinCoreBuilder setIdentifier(String a); OcDublinCoreBuilder setInstructionalMethod(String a); OcDublinCoreBuilder setIsFormatOf(String a); OcDublinCoreBuilder setIsPartOf(String a); OcDublinCoreBuilder setIsReferencedBy(String a); OcDublinCoreBuilder setIsReplacedBy(String a); OcDublinCoreBuilder setIsRequiredBy(String a); OcDublinCoreBuilder setIssued(String a); OcDublinCoreBuilder setIsVersionOf(String a); OcDublinCoreBuilder setLanguage(String a); OcDublinCoreBuilder setLicense(String a); OcDublinCoreBuilder setMediator(String a); OcDublinCoreBuilder setMedium(String a); OcDublinCoreBuilder setModified(String a); OcDublinCoreBuilder setProvenance(String a); OcDublinCoreBuilder setPublisher(String a); OcDublinCoreBuilder setReferences(String a); OcDublinCoreBuilder setRelation(String a); OcDublinCoreBuilder setReplaces(String a); OcDublinCoreBuilder setRequires(String a); OcDublinCoreBuilder setRights(String a); OcDublinCoreBuilder setRightsHolder(String a); OcDublinCoreBuilder setSource(String a); OcDublinCoreBuilder setSpatial(String a); OcDublinCoreBuilder setSubject(String a); OcDublinCoreBuilder setTableOfContents(String a); OcDublinCoreBuilder setTemporal(String a); OcDublinCoreBuilder setTitle(String a); OcDublinCoreBuilder setType(String a); OcDublinCoreBuilder setValid(String a); @Override Option<String> getAbstract(); @Override Option<String> getAccessRights(); @Override Option<String> getAccrualMethod(); @Override Option<String> getAccrualPeriodicity(); @Override Option<String> getAccrualPolicy(); @Override Option<String> getAlternative(); @Override Option<String> getAudience(); @Override Option<String> getAvailable(); @Override Option<String> getBibliographicCitation(); @Override Option<String> getConformsTo(); @Override Option<String> getContributor(); @Override Option<String> getCoverage(); @Override Date getCreated(); @Override Option<String> getCreator(); @Override Option<Date> getDate(); @Override Option<Date> getDateAccepted(); @Override Option<Date> getDateCopyrighted(); @Override Option<Date> getDateSubmitted(); @Override Option<String> getDescription(); @Override Option<String> getEducationLevel(); @Override Option<Long> getExtent(); @Override Option<String> getFormat(); @Override Option<String> getHasFormat(); @Override Option<String> getHasPart(); @Override Option<String> getHasVersion(); @Override Option<String> getIdentifier(); @Override Option<String> getInstructionalMethod(); @Override Option<String> getIsFormatOf(); @Override Option<String> getIsPartOf(); @Override Option<String> getIsReferencedBy(); @Override Option<String> getIsReplacedBy(); @Override Option<String> getIsRequiredBy(); @Override Option<String> getIssued(); @Override Option<String> getIsVersionOf(); @Override Option<String> getLanguage(); @Override Option<String> getLicense(); @Override Option<String> getMediator(); @Override Option<String> getMedium(); @Override Option<String> getModified(); @Override Option<String> getProvenance(); @Override Option<String> getPublisher(); @Override Option<String> getReferences(); @Override Option<String> getRelation(); @Override Option<String> getReplaces(); @Override Option<String> getRequires(); @Override Option<String> getRights(); @Override Option<String> getRightsHolder(); @Override Option<String> getSource(); @Override Option<String> getSpatial(); @Override Option<String> getSubject(); @Override Option<String> getTableOfContents(); @Override Option<String> getTemporal(); @Override String getTitle(); @Override Option<String> getType(); @Override Option<String> getValid(); }
OcDublinCoreBuilder implements OcDublinCore { public static OcDublinCoreBuilder create(final OcDublinCore source) { final OcDublinCoreBuilder target = new OcDublinCoreBuilder(); target.abstrakt = source.getAbstract(); target.accessRights = source.getAccessRights(); target.accrualMethod = source.getAccrualMethod(); target.accrualPeriodicity = source.getAccrualPeriodicity(); target.accrualPolicy = source.getAccrualPolicy(); target.alternative = source.getAlternative(); target.audience = source.getAudience(); target.available = source.getAvailable(); target.bibliographicCitation = source.getBibliographicCitation(); target.conformsTo = source.getConformsTo(); target.contributor = source.getContributor(); target.coverage = source.getCoverage(); target.created = some(source.getCreated()); target.creator = source.getCreator(); target.date = source.getDate(); target.dateAccepted = source.getDateAccepted(); target.dateCopyrighted = source.getDateCopyrighted(); target.dateSubmitted = source.getDateSubmitted(); target.description = source.getDescription(); target.educationLevel = source.getEducationLevel(); target.extent = source.getExtent(); target.format = source.getFormat(); target.hasFormat = source.getHasFormat(); target.hasPart = source.getHasPart(); target.hasVersion = source.getHasVersion(); target.identifier = source.getIdentifier(); target.instructionalMethod = source.getInstructionalMethod(); target.isFormatOf = source.getIsFormatOf(); target.isPartOf = source.getIsPartOf(); target.isReferencedBy = source.getIsReferencedBy(); target.isReplacedBy = source.getIsReplacedBy(); target.isRequiredBy = source.getIsRequiredBy(); target.issued = source.getIssued(); target.isVersionOf = source.getIsVersionOf(); target.language = source.getLanguage(); target.license = source.getLicense(); target.mediator = source.getMediator(); target.medium = source.getMedium(); target.modified = source.getModified(); target.provenance = source.getProvenance(); target.publisher = source.getPublisher(); target.references = source.getReferences(); target.relation = source.getRelation(); target.replaces = source.getReplaces(); target.requires = source.getRequires(); target.rights = source.getRights(); target.rightsHolder = source.getRightsHolder(); target.source = source.getSource(); target.spatial = source.getSpatial(); target.subject = source.getSubject(); target.tableOfContents = source.getTableOfContents(); target.temporal = source.getTemporal(); target.title = some(source.getTitle()); target.type = source.getType(); target.valid = source.getValid(); return target; }  static OcDublinCoreBuilder create(final OcDublinCore source); OcDublinCoreBuilder setAbstract(Option<String> a); OcDublinCoreBuilder setAccessRights(Option<String> a); OcDublinCoreBuilder setAccrualMethod(Option<String> a); OcDublinCoreBuilder setAccrualPeriodicity(Option<String> a); OcDublinCoreBuilder setAccrualPolicy(Option<String> a); OcDublinCoreBuilder setAlternative(Option<String> a); OcDublinCoreBuilder setAudience(Option<String> a); OcDublinCoreBuilder setAvailable(Option<String> a); OcDublinCoreBuilder setBibliographicCitation(Option<String> a); OcDublinCoreBuilder setConformsTo(Option<String> a); OcDublinCoreBuilder setContributor(Option<String> a); OcDublinCoreBuilder setCoverage(Option<String> a); OcDublinCoreBuilder setCreated(Option<Date> a); OcDublinCoreBuilder setCreator(Option<String> a); OcDublinCoreBuilder setDate(Option<Date> a); OcDublinCoreBuilder setDateAccepted(Option<Date> a); OcDublinCoreBuilder setDateCopyrighted(Option<Date> a); OcDublinCoreBuilder setDateSubmitted(Option<Date> a); OcDublinCoreBuilder setDescription(Option<String> a); OcDublinCoreBuilder setEducationLevel(Option<String> a); OcDublinCoreBuilder setExtent(Option<Long> a); OcDublinCoreBuilder setFormat(Option<String> a); OcDublinCoreBuilder setHasFormat(Option<String> a); OcDublinCoreBuilder setHasPart(Option<String> a); OcDublinCoreBuilder setHasVersion(Option<String> a); OcDublinCoreBuilder setIdentifier(Option<String> a); OcDublinCoreBuilder setInstructionalMethod(Option<String> a); OcDublinCoreBuilder setIsFormatOf(Option<String> a); OcDublinCoreBuilder setIsPartOf(Option<String> a); OcDublinCoreBuilder setIsReferencedBy(Option<String> a); OcDublinCoreBuilder setIsReplacedBy(Option<String> a); OcDublinCoreBuilder setIsRequiredBy(Option<String> a); OcDublinCoreBuilder setIssued(Option<String> a); OcDublinCoreBuilder setIsVersionOf(Option<String> a); OcDublinCoreBuilder setLanguage(Option<String> a); OcDublinCoreBuilder setLicense(Option<String> a); OcDublinCoreBuilder setMediator(Option<String> a); OcDublinCoreBuilder setMedium(Option<String> a); OcDublinCoreBuilder setModified(Option<String> a); OcDublinCoreBuilder setProvenance(Option<String> a); OcDublinCoreBuilder setPublisher(Option<String> a); OcDublinCoreBuilder setReferences(Option<String> a); OcDublinCoreBuilder setRelation(Option<String> a); OcDublinCoreBuilder setReplaces(Option<String> a); OcDublinCoreBuilder setRequires(Option<String> a); OcDublinCoreBuilder setRights(Option<String> a); OcDublinCoreBuilder setRightsHolder(Option<String> a); OcDublinCoreBuilder setSource(Option<String> a); OcDublinCoreBuilder setSpatial(Option<String> a); OcDublinCoreBuilder setSubject(Option<String> a); OcDublinCoreBuilder setTableOfContents(Option<String> a); OcDublinCoreBuilder setTemporal(Option<String> a); OcDublinCoreBuilder setTitle(Option<String> a); OcDublinCoreBuilder setType(Option<String> a); OcDublinCoreBuilder setValid(Option<String> a); OcDublinCoreBuilder setAbstract(String a); OcDublinCoreBuilder setAccessRights(String a); OcDublinCoreBuilder setAccrualMethod(String a); OcDublinCoreBuilder setAccrualPeriodicity(String a); OcDublinCoreBuilder setAccrualPolicy(String a); OcDublinCoreBuilder setAlternative(String a); OcDublinCoreBuilder setAudience(String a); OcDublinCoreBuilder setAvailable(String a); OcDublinCoreBuilder setBibliographicCitation(String a); OcDublinCoreBuilder setConformsTo(String a); OcDublinCoreBuilder setContributor(String a); OcDublinCoreBuilder setCoverage(String a); OcDublinCoreBuilder setCreated(Date a); OcDublinCoreBuilder setCreator(String a); OcDublinCoreBuilder setDate(Date a); OcDublinCoreBuilder setDateAccepted(Date a); OcDublinCoreBuilder setDateCopyrighted(Date a); OcDublinCoreBuilder setDateSubmitted(Date a); OcDublinCoreBuilder setDescription(String a); OcDublinCoreBuilder setEducationLevel(String a); OcDublinCoreBuilder setExtent(Long a); OcDublinCoreBuilder setFormat(String a); OcDublinCoreBuilder setHasFormat(String a); OcDublinCoreBuilder setHasPart(String a); OcDublinCoreBuilder setHasVersion(String a); OcDublinCoreBuilder setIdentifier(String a); OcDublinCoreBuilder setInstructionalMethod(String a); OcDublinCoreBuilder setIsFormatOf(String a); OcDublinCoreBuilder setIsPartOf(String a); OcDublinCoreBuilder setIsReferencedBy(String a); OcDublinCoreBuilder setIsReplacedBy(String a); OcDublinCoreBuilder setIsRequiredBy(String a); OcDublinCoreBuilder setIssued(String a); OcDublinCoreBuilder setIsVersionOf(String a); OcDublinCoreBuilder setLanguage(String a); OcDublinCoreBuilder setLicense(String a); OcDublinCoreBuilder setMediator(String a); OcDublinCoreBuilder setMedium(String a); OcDublinCoreBuilder setModified(String a); OcDublinCoreBuilder setProvenance(String a); OcDublinCoreBuilder setPublisher(String a); OcDublinCoreBuilder setReferences(String a); OcDublinCoreBuilder setRelation(String a); OcDublinCoreBuilder setReplaces(String a); OcDublinCoreBuilder setRequires(String a); OcDublinCoreBuilder setRights(String a); OcDublinCoreBuilder setRightsHolder(String a); OcDublinCoreBuilder setSource(String a); OcDublinCoreBuilder setSpatial(String a); OcDublinCoreBuilder setSubject(String a); OcDublinCoreBuilder setTableOfContents(String a); OcDublinCoreBuilder setTemporal(String a); OcDublinCoreBuilder setTitle(String a); OcDublinCoreBuilder setType(String a); OcDublinCoreBuilder setValid(String a); @Override Option<String> getAbstract(); @Override Option<String> getAccessRights(); @Override Option<String> getAccrualMethod(); @Override Option<String> getAccrualPeriodicity(); @Override Option<String> getAccrualPolicy(); @Override Option<String> getAlternative(); @Override Option<String> getAudience(); @Override Option<String> getAvailable(); @Override Option<String> getBibliographicCitation(); @Override Option<String> getConformsTo(); @Override Option<String> getContributor(); @Override Option<String> getCoverage(); @Override Date getCreated(); @Override Option<String> getCreator(); @Override Option<Date> getDate(); @Override Option<Date> getDateAccepted(); @Override Option<Date> getDateCopyrighted(); @Override Option<Date> getDateSubmitted(); @Override Option<String> getDescription(); @Override Option<String> getEducationLevel(); @Override Option<Long> getExtent(); @Override Option<String> getFormat(); @Override Option<String> getHasFormat(); @Override Option<String> getHasPart(); @Override Option<String> getHasVersion(); @Override Option<String> getIdentifier(); @Override Option<String> getInstructionalMethod(); @Override Option<String> getIsFormatOf(); @Override Option<String> getIsPartOf(); @Override Option<String> getIsReferencedBy(); @Override Option<String> getIsReplacedBy(); @Override Option<String> getIsRequiredBy(); @Override Option<String> getIssued(); @Override Option<String> getIsVersionOf(); @Override Option<String> getLanguage(); @Override Option<String> getLicense(); @Override Option<String> getMediator(); @Override Option<String> getMedium(); @Override Option<String> getModified(); @Override Option<String> getProvenance(); @Override Option<String> getPublisher(); @Override Option<String> getReferences(); @Override Option<String> getRelation(); @Override Option<String> getReplaces(); @Override Option<String> getRequires(); @Override Option<String> getRights(); @Override Option<String> getRightsHolder(); @Override Option<String> getSource(); @Override Option<String> getSpatial(); @Override Option<String> getSubject(); @Override Option<String> getTableOfContents(); @Override Option<String> getTemporal(); @Override String getTitle(); @Override Option<String> getType(); @Override Option<String> getValid();  }