|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectDefaultResourceInfo
public class DefaultResourceInfo
Default implementation of ResourceInfo; a simple java bean.
Constructor Summary | |
---|---|
DefaultResourceInfo()
|
|
DefaultResourceInfo(ResourceInfo copy)
|
Method Summary | |
---|---|
ReferencedEnvelope |
getBounds()
Returns the bounds of the resource, expressed in the native coordinate reference system. |
CoordinateReferenceSystem |
getCRS()
Returns the coordinate reference system of this resource if known. |
String |
getDescription()
Returns a description or abstract for this resource. |
Set<String> |
getKeywords()
Returns keywords associated with this resource for use with searches etc. |
String |
getName()
Returns the name of this resource within the context of its service. |
URI |
getSchema()
A namespace, in the form of a URI , used to identify the resource type. |
String |
getTitle()
Returns the resource's title. |
void |
setBounds(ReferencedEnvelope bounds)
|
void |
setCRS(CoordinateReferenceSystem crs)
|
void |
setDescription(String description)
|
void |
setKeywords(Set<String> keywords)
|
void |
setName(String name)
|
void |
setSchema(URI schema)
|
void |
setTitle(String title)
|
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultResourceInfo()
public DefaultResourceInfo(ResourceInfo copy)
Method Detail |
---|
public String getTitle()
ResourceInfo
The title is human readable text representing the resource, in the current locale if available.
getTitle
in interface ResourceInfo
public URI getSchema()
ResourceInfo
URI
, used to identify the resource type.
Known Mappings:
getSchema
in interface ResourceInfo
public String getName()
ResourceInfo
Known mappings:
getName
in interface ResourceInfo
public Set<String> getKeywords()
ResourceInfo
Known Mappings:
getKeywords
in interface ResourceInfo
public String getDescription()
ResourceInfo
Known Mappings:
getDescription
in interface ResourceInfo
public ReferencedEnvelope getBounds()
ResourceInfo
isNull()
on the returned envelope will return true
.
getBounds
in interface ResourceInfo
public CoordinateReferenceSystem getCRS()
ResourceInfo
Known Mappings:
getCRS
in interface ResourceInfo
public void setCRS(CoordinateReferenceSystem crs)
crs
- the crs to setpublic void setTitle(String title)
title
- the title to setpublic void setSchema(URI schema)
schema
- the schema to setpublic void setName(String name)
name
- the name to setpublic void setKeywords(Set<String> keywords)
keywords
- the keywords to setpublic void setDescription(String description)
description
- the description to setpublic void setBounds(ReferencedEnvelope bounds)
bounds
- the bounds to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |