Class Funding
java.lang.Object
org.orcid.jaxb.model.v3.release.record.Funding
- All Implemented Interfaces:
Serializable,Filterable,OrganizationHolder,VisibilityType,Activity,ExternalIdentifiersAwareActivity,SourceAware
public class Funding
extends Object
implements Filterable, Serializable, OrganizationHolder, SourceAware, ExternalIdentifiersAwareActivity
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Amountprotected FundingContributorsprotected CreatedDateprotected Stringprotected FuzzyDateprotected ExternalIDsprotected LastModifiedDateprotected Organizationprotected OrganizationDefinedFundingSubTypeprotected Stringprotected Longprotected 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.getPath()Gets the value of the path 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.voidvoidsetContributors(FundingContributors fundingContributors) voidsetCreatedDate(CreatedDate value) voidsetDescription(String description) voidsetEndDate(FuzzyDate value) Sets the value of the endDate property.voidsetExternalIdentifiers(ExternalIDs externalIdentifiers) voidvoidsetOrganization(Organization organization) voidsetOrganizationDefinedType(OrganizationDefinedFundingSubType organizationDefinedFundingType) voidSets the value of the path property.voidsetPutCode(Long putCode) voidvoidsetStartDate(FuzzyDate value) Sets the value of the startDate property.voidsetTitle(FundingTitle title) voidsetType(FundingType type) voidvoidsetVisibility(Visibility visibility)
-
Field Details
-
type
-
organizationDefinedType
-
title
-
organization
-
description
-
amount
-
url
-
startDate
-
endDate
-
externalIdentifiers
-
contributors
-
source
-
lastModifiedDate
-
createdDate
-
putCode
-
path
-
visibility
-
-
Constructor Details
-
Funding
public Funding()
-
-
Method Details
-
getTitle
-
setTitle
-
getDescription
-
setDescription
-
getType
-
setType
-
getOrganizationDefinedType
-
setOrganizationDefinedType
public void setOrganizationDefinedType(OrganizationDefinedFundingSubType organizationDefinedFundingType) -
getAmount
-
setAmount
-
getUrl
-
setUrl
-
getOrganization
- Specified by:
getOrganizationin interfaceOrganizationHolder
-
setOrganization
- Specified by:
setOrganizationin interfaceOrganizationHolder
-
getSource
- Specified by:
getSourcein interfaceSourceAware
-
retrieveSourcePath
- Specified by:
retrieveSourcePathin interfaceFilterable
-
setSource
- Specified by:
setSourcein interfaceSourceAware
-
getVisibility
- Specified by:
getVisibilityin interfaceVisibilityType
-
setVisibility
- Specified by:
setVisibilityin interfaceVisibilityType
-
getPutCode
- Specified by:
getPutCodein interfaceActivity
-
setPutCode
- Specified by:
setPutCodein interfaceActivity
-
getExternalIdentifiers
- Specified by:
getExternalIdentifiersin interfaceExternalIdentifiersAwareActivity
-
setExternalIdentifiers
-
getPath
Gets the value of the path property. -
setPath
Sets the value of the path property. -
getContributors
-
setContributors
-
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
-