Package org.orcid.jaxb.model.message
Class Funding
java.lang.Object
org.orcid.jaxb.model.message.Funding
- All Implemented Interfaces:
Serializable,Activity,VisibilityType
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 Summary
FieldsModifier and TypeFieldDescriptionprotected Amountprotected CreatedDateprotected Stringprotected FuzzyDateprotected FundingContributorsprotected FundingExternalIdentifiersprotected LastModifiedDateprotected Organizationprotected OrganizationDefinedFundingSubTypeprotected Stringprotected Sourceprotected FuzzyDateprotected FundingTitleprotected FundingTypeprotected Urlprotected Visibility -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanNote that put-code is not part of hashCode or equals! This is to allow better de-duplication.Gets the value of the endDate property.Gets the value of the startDate property.getTitle()getType()getUrl()inthashCode()Note that put-code is not part of hashCode or equals! This is to allow better de-duplication.booleanisDuplicated(Object obj) Indicates if two funding are ORCID duplicated.voidvoidsetCreatedDate(CreatedDate value) voidsetDescription(String description) voidsetEndDate(FuzzyDate value) Sets the value of the endDate property.voidsetFundingContributors(FundingContributors fundingContributors) voidsetFundingExternalIdentifiers(FundingExternalIdentifiers fundingExternalIdentifiers) voidvoidsetOrganization(Organization organization) voidsetOrganizationDefinedFundingType(OrganizationDefinedFundingSubType organizationDefinedFundingType) voidsetPutCode(String putCode) voidvoidsetStartDate(FuzzyDate value) Sets the value of the startDate property.voidsetTitle(FundingTitle title) voidsetType(FundingType type) voidvoidsetVisibility(Visibility visibility)
-
Field Details
-
type
-
organizationDefinedFundingType
-
title
-
organization
-
description
-
amount
-
url
-
startDate
-
endDate
-
fundingExternalIdentifiers
-
fundingContributors
-
source
-
putCode
-
visibility
-
lastModifiedDate
-
createdDate
-
-
Constructor Details
-
Funding
public Funding()
-
-
Method Details
-
getTitle
-
setTitle
-
getDescription
-
setDescription
-
getType
-
setType
-
getOrganizationDefinedFundingType
-
setOrganizationDefinedFundingType
public void setOrganizationDefinedFundingType(OrganizationDefinedFundingSubType organizationDefinedFundingType) -
getAmount
-
setAmount
-
getUrl
-
setUrl
-
getOrganization
-
setOrganization
-
getSource
-
retrieveSourcePath
- Specified by:
retrieveSourcePathin interfaceActivity
-
setSource
-
getVisibility
- Specified by:
getVisibilityin interfaceVisibilityType
-
setVisibility
- Specified by:
setVisibilityin interfaceVisibilityType
-
getPutCode
- Specified by:
getPutCodein interfaceActivity
-
setPutCode
-
getFundingExternalIdentifiers
-
setFundingExternalIdentifiers
-
getFundingContributors
-
setFundingContributors
-
getStartDate
Gets the value of the startDate property.- Returns:
- possible object is
FuzzyDate
-
setStartDate
Sets the value of the startDate property.- Parameters:
value- allowed object isFuzzyDate
-
getEndDate
Gets the value of the endDate property.- Returns:
- possible object is
FuzzyDate
-
setEndDate
Sets the value of the endDate property.- Parameters:
value- allowed object isFuzzyDate
-
hashCode
public int hashCode()Note that put-code is not part of hashCode or equals! This is to allow better de-duplication. -
getCreatedDate
- Specified by:
getCreatedDatein interfaceActivity
-
setCreatedDate
- Specified by:
setCreatedDatein interfaceActivity
-
getLastModifiedDate
- Specified by:
getLastModifiedDatein interfaceActivity
-
setLastModifiedDate
- Specified by:
setLastModifiedDatein interfaceActivity
-
equals
Note that put-code is not part of hashCode or equals! This is to allow better de-duplication. -
isDuplicated
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
-