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 -
Method Summary
Modifier and TypeMethodDescriptionaddResourceLocator(InspireResourceLocator resourceLocator) Add a the resource locatorAdd the URLGet theInspireDateOfGet the resource locatorsgetTitle()Get the titlegetUrls()Get the URLsbooleanCheck if theInspireDateOfis setbooleanCheck if resource locator is setbooleanCheck if the title is setbooleanCheck if the URLs are setsetResourceLocator(Collection<InspireResourceLocator> resourceLocator) Set the the resource locators, clears the existing collectionsetUrls(Collection<String> urls) Set the URLs, clears the existing collectiontoString()
-
Constructor Details
-
InspireCitation
constructor- Parameters:
title- the titledateOf- theInspireDateOf
-
-
Method Details
-
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
Get theInspireDateOf- Returns:
- the dateOf
-
isSetDateOf
public boolean isSetDateOf()Check if theInspireDateOfis set- Returns:
true, if theInspireDateOfis set
-
getUrls
Get the URLs- Returns:
- the URLs
-
setUrls
Set the URLs, clears the existing collection- Parameters:
urls- the URLs to set- Returns:
- this
-
addUrl
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
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
-
toString
-