Search in sources :

Example 6 with SourceName

use of org.orcid.jaxb.model.message.SourceName in project ORCID-Source by ORCID.

the class OrcidMessageUtil method setSourceName.

public void setSourceName(Funding element) {
    if (element.getSource() != null && element.getSource().retrieveSourcePath() != null) {
        SourceName sourceName = getSourceName(element.getSource().retrieveSourcePath());
        element.getSource().setSourceName(sourceName);
    }
}
Also used : SourceName(org.orcid.jaxb.model.message.SourceName)

Example 7 with SourceName

use of org.orcid.jaxb.model.message.SourceName in project ORCID-Source by ORCID.

the class OrcidMessageUtil method setSourceName.

public void setSourceName(OtherName element) {
    if (element.getSource() != null && element.getSource().retrieveSourcePath() != null) {
        SourceName sourceName = getSourceName(element.getSource().retrieveSourcePath());
        element.getSource().setSourceName(sourceName);
    }
}
Also used : SourceName(org.orcid.jaxb.model.message.SourceName)

Example 8 with SourceName

use of org.orcid.jaxb.model.message.SourceName in project ORCID-Source by ORCID.

the class OrcidMessageUtil method setSourceName.

public void setSourceName(Affiliation element) {
    if (element.getSource() != null && element.getSource().retrieveSourcePath() != null) {
        SourceName sourceName = getSourceName(element.getSource().retrieveSourcePath());
        element.getSource().setSourceName(sourceName);
    }
}
Also used : SourceName(org.orcid.jaxb.model.message.SourceName)

Example 9 with SourceName

use of org.orcid.jaxb.model.message.SourceName in project ORCID-Source by ORCID.

the class OrcidMessageUtil method setSourceName.

public void setSourceName(Address element) {
    if (element.getCountry() != null && element.getCountry().getSource() != null && element.getCountry().getSource().retrieveSourcePath() != null) {
        SourceName sourceName = getSourceName(element.getCountry().getSource().retrieveSourcePath());
        element.getCountry().getSource().setSourceName(sourceName);
    }
}
Also used : SourceName(org.orcid.jaxb.model.message.SourceName)

Aggregations

SourceName (org.orcid.jaxb.model.message.SourceName)9 Date (java.util.Date)1 OrcidHistory (org.orcid.jaxb.model.message.OrcidHistory)1 Source (org.orcid.jaxb.model.message.Source)1 SourceClientId (org.orcid.jaxb.model.message.SourceClientId)1 SourceOrcid (org.orcid.jaxb.model.message.SourceOrcid)1 SubmissionDate (org.orcid.jaxb.model.message.SubmissionDate)1 ClientDetailsEntity (org.orcid.persistence.jpa.entities.ClientDetailsEntity)1 Authentication (org.springframework.security.core.Authentication)1 OAuth2Authentication (org.springframework.security.oauth2.provider.OAuth2Authentication)1 OAuth2Request (org.springframework.security.oauth2.provider.OAuth2Request)1