Class OrcidMessage

java.lang.Object
org.orcid.jaxb.model.message.OrcidMessage
All Implemented Interfaces:
Serializable

public class OrcidMessage extends Object implements Serializable
Java class for anonymous complex type. The following schema fragment specifies the expected content contained within this class.
 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://www.orcid.org/ns/orcid}message-version"/>
         <choice>
           <element ref="{http://www.orcid.org/ns/orcid}orcid-profile"/>
           <element ref="{http://www.orcid.org/ns/orcid}orcid-search-results"/>
           <element ref="{http://www.orcid.org/ns/orcid}error-desc"/>
         </choice>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

  • Constructor Details

    • OrcidMessage

      public OrcidMessage()
    • OrcidMessage

      public OrcidMessage(OrcidProfile orcidProfile)
  • Method Details

    • getMessageVersion

      public String getMessageVersion()
      Gets the value of the messageVersion property.
      Returns:
      possible object is String
    • setMessageVersion

      public void setMessageVersion(String value)
      Sets the value of the messageVersion property.
      Parameters:
      value - allowed object is String
    • getOrcidProfile

      public OrcidProfile getOrcidProfile()
      Gets the value of the orcidProfile property.
      Returns:
      possible object is OrcidProfile
    • setOrcidProfile

      public void setOrcidProfile(OrcidProfile value)
      Sets the value of the orcidProfile property.
      Parameters:
      value - allowed object is OrcidProfile
    • getOrcidSearchResults

      public OrcidSearchResults getOrcidSearchResults()
      Gets the value of the orcidSearchResults property.
      Returns:
      possible object is OrcidSearchResults
    • setOrcidSearchResults

      public void setOrcidSearchResults(OrcidSearchResults value)
      Sets the value of the orcidSearchResults property.
      Parameters:
      value - allowed object is OrcidSearchResults
    • getErrorDesc

      public ErrorDesc getErrorDesc()
      Gets the value of the errorDesc property.
      Returns:
      possible object is ErrorDesc
    • setErrorDesc

      public void setErrorDesc(ErrorDesc value)
      Sets the value of the errorDesc property.
      Parameters:
      value - allowed object is ErrorDesc
    • toSource

      public Source toSource()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toXmlString

      public String toXmlString()
      Returns:
      A string of valid XML
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public static OrcidMessage unmarshall(String orcidMessageString)
    • unmarshall

      public static OrcidMessage unmarshall(Reader reader)