use of org.orcid.jaxb.model.v3.dev1.common.Visibility in project ORCID-Source by ORCID.
the class OrcidSecurityManagerTestBase method createResearcherUrl.
protected ResearcherUrl createResearcherUrl(Visibility v, String sourceId) {
ResearcherUrl r = new ResearcherUrl();
r.setUrl(new Url("http://orcid.org/test/" + System.currentTimeMillis()));
r.setVisibility(v);
setSource(r, sourceId);
return r;
}
use of org.orcid.jaxb.model.v3.dev1.common.Visibility in project ORCID-Source by ORCID.
the class OrcidSecurityManagerTestBase method createKeyword.
protected Keyword createKeyword(Visibility v, String sourceId) {
Keyword k = new Keyword();
k.setContent("keyword-" + System.currentTimeMillis());
k.setVisibility(v);
setSource(k, sourceId);
return k;
}
use of org.orcid.jaxb.model.v3.dev1.common.Visibility in project ORCID-Source by ORCID.
the class OrcidSecurityManagerTestBase method createName.
protected Name createName(Visibility v) {
Name name = new Name();
name.setVisibility(v);
name.setCreditName(new CreditName("Credit Name"));
name.setFamilyName(new FamilyName("Family Name"));
name.setGivenNames(new GivenNames("Given Names"));
return name;
}
use of org.orcid.jaxb.model.v3.dev1.common.Visibility in project ORCID-Source by ORCID.
the class OrcidSecurityManagerTestBase method createFundingSummary.
protected FundingSummary createFundingSummary(Visibility v, String sourceId, String extIdValue) {
FundingSummary f = new FundingSummary();
f.setVisibility(v);
setSource(f, sourceId);
ExternalID extId = new ExternalID();
extId.setValue(extIdValue);
ExternalIDs extIds = new ExternalIDs();
extIds.getExternalIdentifier().add(extId);
addSharedExtId(extIds);
f.setExternalIdentifiers(extIds);
return f;
}
use of org.orcid.jaxb.model.v3.dev1.common.Visibility in project ORCID-Source by ORCID.
the class OrcidSecurityManagerTestBase method createDistinctionSummary.
protected DistinctionSummary createDistinctionSummary(Visibility v, String sourceId) {
DistinctionSummary e = new DistinctionSummary();
e.setVisibility(v);
setSource(e, sourceId);
return e;
}
Aggregations