Class Funding

java.lang.Object
org.orcid.jaxb.model.message.Funding
All Implemented Interfaces:
Serializable, Activity, VisibilityType

public class Funding extends Object implements VisibilityType, Activity, 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="orcid:funding-type" minOccurs="1" maxOccurs="1" />
         <element ref="orcid:organization-defined-type" minOccurs="1" maxOccurs="1" />
                <element ref="orcid:funding-title" minOccurs="0" /> *                                              
                <element ref="orcid:short-description" minOccurs="0"/>                        
                <element ref="orcid:amount" minOccurs="0" maxOccurs="1"/>
                <element ref="orcid:url" minOccurs="0" maxOccurs="1"/>                                
                <element name="start-date" type="orcid:fuzzy-date" minOccurs="0" maxOccurs="1" />
                <element name="end-date" type="orcid:fuzzy-date" minOccurs="0" maxOccurs="1" />                                                                                                
                <element ref="orcid:funding-external-identifiers" minOccurs="0" maxOccurs="1"/>
                <element ref="orcid:funding-contributors" minOccurs="0" maxOccurs="1"/>
                <element ref="orcid:organization" minOccurs="1" maxOccurs="1"/>                                
                <element ref="orcid:source" minOccurs="0"  maxOccurs="1" />
       </sequence>
       <attGroup ref="{http://www.orcid.org/ns/orcid}put-code"/>
       <attGroup ref="{http://www.orcid.org/ns/orcid}visibility"/>
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

  • Constructor Details

    • Funding

      public Funding()
  • Method Details

    • getTitle

      public FundingTitle getTitle()
    • setTitle

      public void setTitle(FundingTitle title)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getType

      public FundingType getType()
    • setType

      public void setType(FundingType type)
    • getOrganizationDefinedFundingType

      public OrganizationDefinedFundingSubType getOrganizationDefinedFundingType()
    • setOrganizationDefinedFundingType

      public void setOrganizationDefinedFundingType(OrganizationDefinedFundingSubType organizationDefinedFundingType)
    • getAmount

      public Amount getAmount()
    • setAmount

      public void setAmount(Amount amount)
    • getUrl

      public Url getUrl()
    • setUrl

      public void setUrl(Url url)
    • getOrganization

      public Organization getOrganization()
    • setOrganization

      public void setOrganization(Organization organization)
    • getSource

      public Source getSource()
    • retrieveSourcePath

      public String retrieveSourcePath()
      Specified by:
      retrieveSourcePath in interface Activity
    • setSource

      public void setSource(Source source)
    • getVisibility

      public Visibility getVisibility()
      Specified by:
      getVisibility in interface VisibilityType
    • setVisibility

      public void setVisibility(Visibility visibility)
      Specified by:
      setVisibility in interface VisibilityType
    • getPutCode

      public String getPutCode()
      Specified by:
      getPutCode in interface Activity
    • setPutCode

      public void setPutCode(String putCode)
    • getFundingExternalIdentifiers

      public FundingExternalIdentifiers getFundingExternalIdentifiers()
    • setFundingExternalIdentifiers

      public void setFundingExternalIdentifiers(FundingExternalIdentifiers fundingExternalIdentifiers)
    • getFundingContributors

      public FundingContributors getFundingContributors()
    • setFundingContributors

      public void setFundingContributors(FundingContributors fundingContributors)
    • getStartDate

      public FuzzyDate getStartDate()
      Gets the value of the startDate property.
      Returns:
      possible object is FuzzyDate
    • setStartDate

      public void setStartDate(FuzzyDate value)
      Sets the value of the startDate property.
      Parameters:
      value - allowed object is FuzzyDate
    • getEndDate

      public FuzzyDate getEndDate()
      Gets the value of the endDate property.
      Returns:
      possible object is FuzzyDate
    • setEndDate

      public void setEndDate(FuzzyDate value)
      Sets the value of the endDate property.
      Parameters:
      value - allowed object is FuzzyDate
    • hashCode

      public int hashCode()
      Note that put-code is not part of hashCode or equals! This is to allow better de-duplication.
      Overrides:
      hashCode in class Object
    • getCreatedDate

      public CreatedDate getCreatedDate()
      Specified by:
      getCreatedDate in interface Activity
    • setCreatedDate

      public void setCreatedDate(CreatedDate value)
      Specified by:
      setCreatedDate in interface Activity
    • getLastModifiedDate

      public LastModifiedDate getLastModifiedDate()
      Specified by:
      getLastModifiedDate in interface Activity
    • setLastModifiedDate

      public void setLastModifiedDate(LastModifiedDate value)
      Specified by:
      setLastModifiedDate in interface Activity
    • equals

      public boolean equals(Object obj)
      Note that put-code is not part of hashCode or equals! This is to allow better de-duplication.
      Overrides:
      equals in class Object
    • isDuplicated

      public boolean isDuplicated(Object obj)
      Indicates if two funding are ORCID duplicated. Two fundings will be duplicated if they have the same type, title, organization, description and amount
      Parameters:
      obj - - object to check for duplication
      Returns:
      true if the two fundings are duplicated according to ORCID requirements