public class DefaultServiceIdentification extends AbstractIdentification implements ServiceIdentification
Limitations:
XML instead.Defined in the sis-metadata module
identifiers, LOGGER| Constructor and Description |
|---|
DefaultServiceIdentification()
Constructs an initially empty service identification.
|
DefaultServiceIdentification(GenericName serviceType,
Citation citation,
CharSequence abstracts)
Constructs a service identification initialized to the specified values.
|
DefaultServiceIdentification(ServiceIdentification object)
Constructs a new instance initialized with the values from the specified metadata object.
|
| Modifier and Type | Method and Description |
|---|---|
static DefaultServiceIdentification |
castOrCopy(ServiceIdentification object)
Returns a SIS metadata implementation with the values of the given arbitrary implementation.
|
StandardOrderProcess |
getAccessProperties()
Returns information about the availability of the service.
|
Collection<DefaultOperationChainMetadata> |
getContainsChain()
Provides information about the chain applied by the service.
|
Collection<DefaultOperationMetadata> |
getContainsOperations()
Provides information about the operations that comprise the service.
|
Collection<DefaultCoupledResource> |
getCoupledResources()
Returns further description(s) of the data coupling in the case of tightly coupled services.
|
CodeList<?> |
getCouplingType()
Returns type of coupling between service and associated data (if exist).
|
Collection<Citation> |
getOperatedDatasets()
Returns the reference(s) to the resource on which the service operates.
|
Collection<DataIdentification> |
getOperatesOn()
Provides information on the resources that the service operates on.
|
Collection<Citation> |
getProfiles()
Returns the profile(s) to which the service adheres.
|
Collection<Citation> |
getServiceStandards()
Returns the standard(s) to which the service adheres.
|
GenericName |
getServiceType()
Returns a service type name.
|
Collection<String> |
getServiceTypeVersions()
Returns the versions of the service.
|
void |
setAccessProperties(StandardOrderProcess newValue)
Sets information about the availability of the service.
|
void |
setContainsChain(Collection<? extends DefaultOperationChainMetadata> newValues)
Sets the information about the chain applied by the service.
|
void |
setContainsOperations(Collection<? extends DefaultOperationMetadata> newValues)
Sets information(s) about the operations that comprise the service.
|
void |
setCoupledResources(Collection<? extends DefaultCoupledResource> newValues)
Sets further description(s) of the data coupling in the case of tightly coupled services.
|
void |
setCouplingType(CodeList<?> newValue)
Sets the type of coupling between service and associated data.
|
void |
setOperatedDatasets(Collection<? extends Citation> newValues)
Sets the reference(s) to the resource on which the service operates.
|
void |
setOperatesOn(Collection<? extends DataIdentification> newValues)
Sets the information on the resources that the service operates on.
|
void |
setProfiles(Collection<? extends Citation> newValues)
Sets the profile(s) to which the service adheres.
|
void |
setServiceStandards(Collection<? extends Citation> newValues)
Sets the standard(s) to which the service adheres.
|
void |
setServiceType(GenericName newValue)
Sets the service type name.
|
void |
setServiceTypeVersions(Collection<? extends String> newValues)
Sets the versions of the service.
|
castOrCopy, getAbstract, getAdditionalDocumentations, getAggregationInfo, getAssociatedResources, getCitation, getCredits, getDescriptiveKeywords, getExtents, getGraphicOverviews, getPointOfContacts, getProcessingLevel, getPurpose, getResourceConstraints, getResourceFormats, getResourceMaintenances, getResourceSpecificUsages, getSpatialRepresentationTypes, getSpatialResolutions, getStatus, getTopicCategories, setAbstract, setAdditionalDocumentations, setAggregationInfo, setAssociatedResources, setCitation, setCredits, setDescriptiveKeywords, setExtents, setGraphicOverviews, setPointOfContacts, setProcessingLevel, setPurpose, setResourceConstraints, setResourceFormats, setResourceMaintenances, setResourceSpecificUsages, setSpatialRepresentationTypes, setSpatialResolutions, setStatus, setTopicCategoriesgetIdentifierMap, getIdentifiers, getStandardcheckWritePermission, clone, collectionType, copyCollection, copyList, copySet, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, singleton, unmodifiable, writeCollection, writeList, writeSetasMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toStringgetAbstract, getAggregationInfo, getCitation, getCredits, getDescriptiveKeywords, getGraphicOverviews, getPointOfContacts, getPurpose, getResourceConstraints, getResourceFormats, getResourceMaintenances, getResourceSpecificUsages, getStatuspublic DefaultServiceIdentification()
public DefaultServiceIdentification(GenericName serviceType, Citation citation, CharSequence abstracts)
serviceType - Service type name.citation - Citation data for the resource(s).abstracts - Brief narrative summary of the content of the resource(s).public DefaultServiceIdentification(ServiceIdentification object)
object - The metadata to copy values from, or null if none.castOrCopy(ServiceIdentification)public static DefaultServiceIdentification castOrCopy(ServiceIdentification object)
null, then this method returns null.DefaultServiceIdentification, then it is returned unchanged.DefaultServiceIdentification 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 void setServiceType(GenericName newValue)
newValue - The new service type name.public void setServiceTypeVersions(Collection<? extends String> newValues)
newValues - The new versions of the service.null if none.public void setAccessProperties(StandardOrderProcess newValue)
newValue - The new information about the availability of the service.CouplingType code list
when GeoAPI will provide it (tentatively in GeoAPI 3.1).
null if none.public void setCouplingType(CodeList<?> newValue)
CouplingType code list when GeoAPI will provide it
(tentatively in GeoAPI 3.1). In the meantime, users can define their own code list class as below:
final class UnsupportedCodeList extends CodeList<UnsupportedCodeList> {
private static final List<UnsupportedCodeList> VALUES = new ArrayList<UnsupportedCodeList>();
// Need to declare at least one code list element.
public static final UnsupportedCodeList MY_CODE_LIST = new UnsupportedCodeList("MY_CODE_LIST");
private UnsupportedCodeList(String name) {
super(name, VALUES);
}
public static UnsupportedCodeList valueOf(String code) {
return valueOf(UnsupportedCodeList.class, code);
}
@Override
public UnsupportedCodeList[] family() {
synchronized (VALUES) {
return VALUES.toArray(new UnsupportedCodeList[VALUES.size()]);
}
}
}
newValue - The new type of coupling between service and associated data.CoupledResource interface
when GeoAPI will provide it (tentatively in GeoAPI 3.1).
public void setCoupledResources(Collection<? extends DefaultCoupledResource> newValues)
CoupledResource interface
when GeoAPI will provide it (tentatively in GeoAPI 3.1).
newValues - The new further description(s) of the data coupling.public void setOperatedDatasets(Collection<? extends Citation> newValues)
newValues - The new reference(s) to the resource on which the service operates.public void setProfiles(Collection<? extends Citation> newValues)
newValues - The new profile(s) to which the service adheres.public void setServiceStandards(Collection<? extends Citation> newValues)
newValues - The new standard(s) to which the service adheres.OperationMetadata interface
when GeoAPI will provide it (tentatively in GeoAPI 3.1).
public void setContainsOperations(Collection<? extends DefaultOperationMetadata> newValues)
OperationMetadata interface
when GeoAPI will provide it (tentatively in GeoAPI 3.1).
newValues - The new information(s) about the operations that comprise the service.public void setOperatesOn(Collection<? extends DataIdentification> newValues)
newValues - The new information on the resources that the service operates on.OperationChainMetadata interface
when GeoAPI will provide it (tentatively in GeoAPI 3.1).
public void setContainsChain(Collection<? extends DefaultOperationChainMetadata> newValues)
OperationChainMetadata interface
when GeoAPI will provide it (tentatively in GeoAPI 3.1).
newValues - The new information about the chain applied by the service.Copyright © 2010–2015 The Apache Software Foundation. All rights reserved.