Package org.orcid.jaxb.model.message
Class Affiliation
java.lang.Object
org.orcid.jaxb.model.message.Affiliation
- 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 name="type" type="{http://www.orcid.org/ns/orcid}affiliation-type"/>
<element name="department-name" type="{http://www.orcid.org/ns/orcid}non-empty-string" minOccurs="0"/>
<element name="role-title" type="{http://www.orcid.org/ns/orcid}non-empty-string" minOccurs="0"/>
<element name="start-date" type="{http://www.orcid.org/ns/orcid}fuzzy-date" minOccurs="0"/>
<element name="end-date" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/>
<element ref="{http://www.orcid.org/ns/orcid}organization"/>
<element ref="{http://www.orcid.org/ns/orcid}source" minOccurs="0"/>
</sequence>
<attGroup ref="{http://www.orcid.org/ns/orcid}visibility"/>
<attGroup ref="{http://www.orcid.org/ns/orcid}put-code"/>
</restriction>
</complexContent>
</complexType>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CreatedDateprotected Stringprotected FuzzyDateprotected LastModifiedDateprotected Organizationprotected Stringprotected Stringprotected Sourceprotected FuzzyDateprotected AffiliationTypeprotected 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 departmentName property.Gets the value of the endDate property.Gets the value of the organization property.Gets the value of the putCode property.Gets the value of the roleTitle property.Gets the value of the source property.Gets the value of the startDate property.getType()Gets the value of the type property.Gets the value of the visibility property.inthashCode()Note that put-code is not part of hashCode or equals! This is to allow better de-duplication.voidsetCreatedDate(CreatedDate value) voidsetDepartmentName(String value) Sets the value of the departmentName property.voidsetEndDate(FuzzyDate value) Sets the value of the endDate property.voidvoidsetOrganization(Organization value) Sets the value of the organization property.voidsetPutCode(String value) Sets the value of the putCode property.voidsetRoleTitle(String value) Sets the value of the roleTitle property.voidSets the value of the source property.voidsetStartDate(FuzzyDate value) Sets the value of the startDate property.voidsetType(AffiliationType value) Sets the value of the type property.voidsetVisibility(Visibility value) Sets the value of the visibility property.
-
Field Details
-
type
-
departmentName
-
roleTitle
-
startDate
-
endDate
-
organization
-
source
-
visibility
-
putCode
-
lastModifiedDate
-
createdDate
-
-
Constructor Details
-
Affiliation
public Affiliation()
-
-
Method Details
-
getType
Gets the value of the type property.- Returns:
- possible object is
AffiliationType
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isAffiliationType
-
getDepartmentName
Gets the value of the departmentName property.- Returns:
- possible object is
String
-
setDepartmentName
Sets the value of the departmentName property.- Parameters:
value- allowed object isString
-
getRoleTitle
Gets the value of the roleTitle property.- Returns:
- possible object is
String
-
setRoleTitle
Sets the value of the roleTitle property.- Parameters:
value- allowed object isString
-
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
-
getOrganization
Gets the value of the organization property.- Returns:
- possible object is
Organization
-
setOrganization
Sets the value of the organization property.- Parameters:
value- allowed object isOrganization
-
getSource
Gets the value of the source property.- Returns:
- possible object is
Source
-
setSource
Sets the value of the source property.- Parameters:
value- allowed object isSource
-
getVisibility
Gets the value of the visibility property.- Specified by:
getVisibilityin interfaceVisibilityType- Returns:
- possible object is
Visibility
-
setVisibility
Sets the value of the visibility property.- Specified by:
setVisibilityin interfaceVisibilityType- Parameters:
value- allowed object isVisibility
-
getPutCode
Gets the value of the putCode property.- Specified by:
getPutCodein interfaceActivity- Returns:
- possible object is
String
-
setPutCode
Sets the value of the putCode property.- Parameters:
value- allowed object isString
-
retrieveSourcePath
- Specified by:
retrieveSourcePathin interfaceActivity
-
getCreatedDate
- Specified by:
getCreatedDatein interfaceActivity
-
setCreatedDate
- Specified by:
setCreatedDatein interfaceActivity
-
getLastModifiedDate
- Specified by:
getLastModifiedDatein interfaceActivity
-
setLastModifiedDate
- Specified by:
setLastModifiedDatein interfaceActivity
-
hashCode
public int hashCode()Note that put-code is not part of hashCode or equals! This is to allow better de-duplication. -
equals
Note that put-code is not part of hashCode or equals! This is to allow better de-duplication.
-