public class InspireCitation extends Object implements InspireCapabilities.InspireExtendedCapabilitiesResourceLocator
Modifier and Type | Field and Description |
---|---|
private InspireDateOf |
dateOf |
private List<InspireResourceLocator> |
resourceLocator |
private String |
title |
private Set<String> |
urls |
Constructor and Description |
---|
InspireCitation(String title,
InspireDateOf dateOf)
constructor
|
Modifier and Type | Method and Description |
---|---|
InspireCapabilities.InspireExtendedCapabilitiesResourceLocator |
addResourceLocator(InspireResourceLocator resourceLocator)
Add a the resource locator
|
InspireCitation |
addUrl(String url)
Add the URL
|
InspireDateOf |
getDateOf()
Get the
InspireDateOf |
List<InspireResourceLocator> |
getResourceLocator()
Get the resource locators
|
String |
getTitle()
Get the title
|
Set<String> |
getUrls()
Get the URLs
|
boolean |
isSetDateOf()
Check if the
InspireDateOf is set |
boolean |
isSetResourceLocators()
Check if resource locator is set
|
boolean |
isSetTitle()
Check if the title is set
|
boolean |
isSetUrls()
Check if the URLs are set
|
private void |
setDateOf(InspireDateOf dateOf)
Set the
InspireDateOf |
InspireCapabilities.InspireExtendedCapabilitiesResourceLocator |
setResourceLocator(Collection<InspireResourceLocator> resourceLocator)
Set the the resource locators, clears the existing collection
|
private void |
setTitle(String title)
Set the title
|
InspireCitation |
setUrls(Collection<String> urls)
Set the URLs, clears the existing collection
|
String |
toString() |
private String title
private InspireDateOf dateOf
private List<InspireResourceLocator> resourceLocator
public InspireCitation(String title, InspireDateOf dateOf)
title
- the titledateOf
- the InspireDateOf
public String getTitle()
private void setTitle(String title)
title
- the title to setpublic boolean isSetTitle()
true
, if the title is setpublic InspireDateOf getDateOf()
InspireDateOf
private void setDateOf(InspireDateOf dateOf)
InspireDateOf
dateOf
- the dateOf to setpublic boolean isSetDateOf()
InspireDateOf
is settrue
, if the InspireDateOf
is setpublic InspireCitation setUrls(Collection<String> urls)
urls
- the URLs to setpublic InspireCitation addUrl(String url)
url
- the URL to addpublic boolean isSetUrls()
true
, if URLs are setpublic List<InspireResourceLocator> getResourceLocator()
InspireCapabilities.InspireExtendedCapabilitiesResourceLocator
getResourceLocator
in interface InspireCapabilities.InspireExtendedCapabilitiesResourceLocator
public InspireCapabilities.InspireExtendedCapabilitiesResourceLocator setResourceLocator(Collection<InspireResourceLocator> resourceLocator)
InspireCapabilities.InspireExtendedCapabilitiesResourceLocator
setResourceLocator
in interface InspireCapabilities.InspireExtendedCapabilitiesResourceLocator
resourceLocator
- the resource locators to setpublic InspireCapabilities.InspireExtendedCapabilitiesResourceLocator addResourceLocator(InspireResourceLocator resourceLocator)
InspireCapabilities.InspireExtendedCapabilitiesResourceLocator
addResourceLocator
in interface InspireCapabilities.InspireExtendedCapabilitiesResourceLocator
resourceLocator
- the the resource locator to addpublic boolean isSetResourceLocators()
InspireCapabilities.InspireExtendedCapabilitiesResourceLocator
isSetResourceLocators
in interface InspireCapabilities.InspireExtendedCapabilitiesResourceLocator
true
, if resource locator is setCopyright © 2012-2015 52north.org. All Rights Reserved.