public class ServiceIdentification extends Description
Constructor and Description |
---|
ServiceIdentification(String title,
String serviceType,
String[] serviceTypeVersion)
Constructor which has got the 'required' attributes for the ServiceIdentification-Section as its
parameters.
|
ServiceIdentification(String title,
String serviceType,
String[] serviceTypeVersion,
String fees,
String[] accessConstraints,
String abstractDescription,
String[] keywords) |
Modifier and Type | Method and Description |
---|---|
String[] |
getAccessConstraints() |
String |
getFees() |
String |
getServiceType() |
String[] |
getServiceTypeVersion() |
protected void |
setAccessConstraints(String[] constraints) |
protected void |
setFees(String fees) |
protected void |
setServiceType(String serviceType) |
protected void |
setServiceTypeVersion(String[] version)
sets the version for this service
|
String |
toXML() |
getAbstractDescription, getKeywords, getTitle, setAbstractDescription, setKeywords, setTitle
public ServiceIdentification(String title, String serviceType, String[] serviceTypeVersion)
title
- the title of the service.serviceType
- service type name normally used for machine-to-machine communication.serviceTypeVersion
- version(s) of the service type supported by the server. IllegalArgumentException
- if parameters are not correct.public String toXML()
public String[] getAccessConstraints()
public String getFees()
public String[] getServiceTypeVersion()
protected void setServiceTypeVersion(String[] version) throws IllegalArgumentException
version
- the version to setIllegalArgumentException
- if version.length == 0 or version[0].equals("").protected void setFees(String fees)
protected void setAccessConstraints(String[] constraints)
constraints
- zero or more (optional) accessConstraints are possiblepublic String getServiceType()
protected void setServiceType(String serviceType) throws IllegalArgumentException
serviceType
- The serviceType to set.IllegalArgumentException
- if serviceType == null or empty.Copyright © 2012–2017 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.