public class DefaultOnlineResource extends ISOMetadata implements OnlineResource
CI_OnlineResource
└─linkage……………… Location (address) for on-line access using a Uniform Resource Locator address or similar addressing scheme.Limitations:
XML instead.Defined in the sis-metadata module
identifiers| Constructor and Description |
|---|
DefaultOnlineResource()
Creates an initially empty on line resource.
|
DefaultOnlineResource(OnlineResource object)
Constructs a new instance initialized with the values from the specified metadata object.
|
DefaultOnlineResource(URI linkage)
Creates an on line resource initialized to the given URI.
|
| Modifier and Type | Method and Description |
|---|---|
static DefaultOnlineResource |
castOrCopy(OnlineResource object)
Returns a SIS metadata implementation with the values of the given arbitrary implementation.
|
String |
getApplicationProfile()
Returns the name of an application profile that can be used with the online resource.
|
InternationalString |
getDescription()
Returns the detailed text description of what the online resource is/does.
|
OnLineFunction |
getFunction()
Returns the code for function performed by the online resource.
|
URI |
getLinkage()
Returns the location (address) for on-line access using a Uniform Resource Locator address or
similar addressing scheme.
|
String |
getName()
Name of the online resource.
|
String |
getProtocol()
Returns the connection protocol to be used.
|
String |
getProtocolRequest()
Returns the request used to access the resource depending on the protocol.
|
void |
setApplicationProfile(String newValue)
Sets the name of an application profile that can be used with the online resource.
|
void |
setDescription(InternationalString newValue)
Sets the detailed text description of what the online resource is/does.
|
void |
setFunction(OnLineFunction newValue)
Sets the code for function performed by the online resource.
|
void |
setLinkage(URI newValue)
Sets the location (address) for on-line access using a Uniform Resource Locator address or
similar addressing scheme such as "
http://www.statkart.no/isotc211". |
void |
setName(String newValue)
Sets the name of the online resource.
|
void |
setProtocol(String newValue)
Sets the connection protocol to be used.
|
void |
setProtocolRequest(String newValue)
Sets the request to be used.
|
freeze, getIdentifierMap, getIdentifiers, getStandardcheckWritePermission, clone, collectionType, copyCollection, copyList, copySet, isModifiable, nonNullCollection, nonNullList, nonNullSet, singleton, unmodifiable, writeCollection, writeList, writeSetasMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toStringpublic DefaultOnlineResource()
public DefaultOnlineResource(URI linkage)
linkage - the location for on-line access using a Uniform Resource Locator address,
or null if none.public DefaultOnlineResource(OnlineResource object)
object - the metadata to copy values from, or null if none.castOrCopy(OnlineResource)public static DefaultOnlineResource castOrCopy(OnlineResource object)
null, then this method returns null.DefaultOnlineResource, then it is returned unchanged.DefaultOnlineResource instance is created using the
copy constructor
and returned. Note that this is a shallow copy operation, since the other
metadata contained in the given object are not recursively copied.object - the object to get as a SIS implementation, or null if none.null if the argument was null.public String getApplicationProfile()
null if none.getApplicationProfile in interface OnlineResourcenull.public void setApplicationProfile(String newValue)
newValue - the new application profile.public String getName()
null if none.
String to InternationalString in GeoAPI 4.0.
getName in interface OnlineResourcenull.public void setName(String newValue)
String to InternationalString in GeoAPI 4.0.
newValue - the new name, or null if none.public InternationalString getDescription()
getDescription in interface OnlineResourcenull.public void setDescription(InternationalString newValue)
newValue - the new description, or null if none.public OnLineFunction getFunction()
getFunction in interface OnlineResourcenull.public void setFunction(OnLineFunction newValue)
newValue - the new function, or null if none.public URI getLinkage()
getLinkage in interface OnlineResourcenull.public void setLinkage(URI newValue)
http://www.statkart.no/isotc211".newValue - the new linkage, or null if none.public String getProtocol()
getProtocol in interface OnlineResourcenull.public void setProtocol(String newValue)
newValue - the new protocol, or null if none.@UML(identifier="protocolRequest", obligation=OPTIONAL, specification=ISO_19115) public String getProtocolRequest()
<GetFeature service="WFS" version="2.0.0"
outputFormat="application/gml+xml;verson=3.2"
xmlns="(…snip…)">
<Query typeNames="Roads"/>
</GetFeature>
public void setProtocolRequest(String newValue)
newValue - the new request, or null if none.Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.