public class DefaultOnlineResource extends ISOMetadata implements OnlineResource
Defined in the sis-metadata
module
identifiers, LOGGER
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 such as "
http://www.statkart.no/isotc211 ". |
String |
getName()
Name of the online resource.
|
String |
getProtocol()
Returns the connection protocol to be used.
|
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)
Returns the connection protocol to be used.
|
getIdentifierMap, getIdentifiers, getStandard
checkWritePermission, clone, collectionType, copyCollection, copyList, copySet, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, singleton, unmodifiable, writeCollection, writeList, writeSet
asMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toString
public 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 OnlineResource
null
.public void setApplicationProfile(String newValue)
newValue
- The new application profile.public String getName()
null
if none.getName
in interface OnlineResource
null
.public void setName(String newValue)
newValue
- The new name, or null
if none.public InternationalString getDescription()
getDescription
in interface OnlineResource
null
.public void setDescription(InternationalString newValue)
newValue
- The new description, or null
if none.public OnLineFunction getFunction()
getFunction
in interface OnlineResource
null
.public void setFunction(OnLineFunction newValue)
newValue
- The new function, or null
if none.public URI getLinkage()
http://www.statkart.no/isotc211
".getLinkage
in interface OnlineResource
null
.public void setLinkage(URI newValue)
http://www.statkart.no/isotc211
".newValue
- The new linkage, or null
if none.public String getProtocol()
getProtocol
in interface OnlineResource
null
.public void setProtocol(String newValue)
newValue
- The new protocol, or null
if none.Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.