Package org.n52.shetland.inspire
Class InspireCitation
- java.lang.Object
-
- org.n52.shetland.inspire.InspireCitation
-
- All Implemented Interfaces:
InspireCapabilities.InspireExtendedCapabilitiesResourceLocator
- Direct Known Subclasses:
InspireConformityCitation,InspireOriginatingControlledVocabulary
public class InspireCitation extends Object implements InspireCapabilities.InspireExtendedCapabilitiesResourceLocator
Service internal representation of INSPIRE citation- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description InspireCitation(String title, InspireDateOf dateOf)constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InspireCapabilities.InspireExtendedCapabilitiesResourceLocatoraddResourceLocator(InspireResourceLocator resourceLocator)Add a the resource locatorInspireCitationaddUrl(String url)Add the URLInspireDateOfgetDateOf()Get theInspireDateOfList<InspireResourceLocator>getResourceLocator()Get the resource locatorsStringgetTitle()Get the titleSet<String>getUrls()Get the URLsbooleanisSetDateOf()Check if theInspireDateOfis setbooleanisSetResourceLocators()Check if resource locator is setbooleanisSetTitle()Check if the title is setbooleanisSetUrls()Check if the URLs are setInspireCapabilities.InspireExtendedCapabilitiesResourceLocatorsetResourceLocator(Collection<InspireResourceLocator> resourceLocator)Set the the resource locators, clears the existing collectionInspireCitationsetUrls(Collection<String> urls)Set the URLs, clears the existing collectionStringtoString()
-
-
-
Constructor Detail
-
InspireCitation
public InspireCitation(String title, InspireDateOf dateOf)
constructor- Parameters:
title- the titledateOf- theInspireDateOf
-
-
Method Detail
-
getTitle
public String getTitle()
Get the title- Returns:
- the title
-
isSetTitle
public boolean isSetTitle()
Check if the title is set- Returns:
true, if the title is set
-
getDateOf
public InspireDateOf getDateOf()
Get theInspireDateOf- Returns:
- the dateOf
-
isSetDateOf
public boolean isSetDateOf()
Check if theInspireDateOfis set- Returns:
true, if theInspireDateOfis set
-
setUrls
public InspireCitation setUrls(Collection<String> urls)
Set the URLs, clears the existing collection- Parameters:
urls- the URLs to set- Returns:
- this
-
addUrl
public InspireCitation addUrl(String url)
Add the URL- Parameters:
url- the URL to add- Returns:
- this
-
isSetUrls
public boolean isSetUrls()
Check if the URLs are set- Returns:
true, if URLs are set
-
getResourceLocator
public List<InspireResourceLocator> getResourceLocator()
Description copied from interface:InspireCapabilities.InspireExtendedCapabilitiesResourceLocatorGet the resource locators- Specified by:
getResourceLocatorin interfaceInspireCapabilities.InspireExtendedCapabilitiesResourceLocator- Returns:
- the resource locators
-
setResourceLocator
public InspireCapabilities.InspireExtendedCapabilitiesResourceLocator setResourceLocator(Collection<InspireResourceLocator> resourceLocator)
Description copied from interface:InspireCapabilities.InspireExtendedCapabilitiesResourceLocatorSet the the resource locators, clears the existing collection- Specified by:
setResourceLocatorin interfaceInspireCapabilities.InspireExtendedCapabilitiesResourceLocator- Parameters:
resourceLocator- the resource locators to set- Returns:
- this
-
addResourceLocator
public InspireCapabilities.InspireExtendedCapabilitiesResourceLocator addResourceLocator(InspireResourceLocator resourceLocator)
Description copied from interface:InspireCapabilities.InspireExtendedCapabilitiesResourceLocatorAdd a the resource locator- Specified by:
addResourceLocatorin interfaceInspireCapabilities.InspireExtendedCapabilitiesResourceLocator- Parameters:
resourceLocator- the the resource locator to add- Returns:
- this
-
isSetResourceLocators
public boolean isSetResourceLocators()
Description copied from interface:InspireCapabilities.InspireExtendedCapabilitiesResourceLocatorCheck if resource locator is set- Specified by:
isSetResourceLocatorsin interfaceInspireCapabilities.InspireExtendedCapabilitiesResourceLocator- Returns:
true, if resource locator is set
-
-