java.lang.Object
org.orcid.jaxb.model.v3.release.common.Source
All Implemented Interfaces:
Serializable

public class Source extends Object implements Serializable
Java class for anonymous complex type. The following schema fragment specifies the expected content contained within this class.
See Also:
  • Field Details

    • sourceOrcid

      protected SourceOrcid sourceOrcid
    • sourceClientId

      protected SourceClientId sourceClientId
    • sourceName

      protected SourceName sourceName
    • assertionOriginOrcid

      protected SourceOrcid assertionOriginOrcid
    • assertionOriginClientId

      protected SourceClientId assertionOriginClientId
    • assertionOriginName

      protected SourceName assertionOriginName
  • Constructor Details

    • Source

      public Source()
    • Source

      public Source(String amenderOrcidPath)
  • Method Details

    • getSourceOrcid

      @Deprecated public SourceOrcid getSourceOrcid()
      Deprecated.
      Only use this method if you really need to tell the difference between a source ORCID and a source client ID. Use retrieveSourcePath() instead.
      Returns:
      possible object is SourceOrcid
    • setSourceOrcid

      public void setSourceOrcid(SourceOrcid value)
      Sets the value of the sourceOrcid property.
      Parameters:
      value - allowed object is SourceOrcid
    • getSourceClientId

      @Deprecated public SourceClientId getSourceClientId()
      Deprecated.
      Only use this method if you really need to tell the difference between a source ORCID and a source client ID. Use retrieveSourcePath() instead.
      Returns:
      a SourceClientId object
    • setSourceClientId

      public void setSourceClientId(SourceClientId sourceClientId)
    • getSourceName

      public SourceName getSourceName()
      Gets the value of the sourceName property.
      Returns:
      possible object is SourceName
    • setSourceName

      public void setSourceName(SourceName value)
      Sets the value of the sourceName property.
      Parameters:
      value - allowed object is SourceName
    • getAssertionOriginOrcid

      public SourceOrcid getAssertionOriginOrcid()
    • setAssertionOriginOrcid

      public void setAssertionOriginOrcid(SourceOrcid assertionOriginOrcid)
    • getAssertionOriginClientId

      public SourceClientId getAssertionOriginClientId()
    • setAssertionOriginClientId

      public void setAssertionOriginClientId(SourceClientId assertionOriginClientId)
    • getAssertionOriginName

      public SourceName getAssertionOriginName()
    • setAssertionOriginName

      public void setAssertionOriginName(SourceName assertionOriginName)
    • retrieveSourcePath

      public String retrieveSourcePath()
    • retrieveAssertionOriginPath

      public String retrieveAssertionOriginPath()
    • retriveSourceUri

      public String retriveSourceUri()
    • retriveAssertionOriginUri

      public String retriveAssertionOriginUri()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • forClient

      public static Source forClient(String clientId)
      Returns a source with populated sourceClientId.
      Parameters:
      clientId - - String representation of the clientDetailsId representing the source entity of this source.
      Returns:
      source with populated sourceClientId
    • forClientWithClientOBO

      public static Source forClientWithClientOBO(String clientId, String oboId)
      Returns a source with populated sourceClientId and assertionOriginClientId.
      Parameters:
      clientId - - String representation of the clientDetailsId representing the source entity of this source.
      oboId - - String representation of the assertionOriginClientId for this source.
      Returns:
      source with populated sourceClientId and assertionOriginClientId