org.gcube.common.geoserverinterface.bean.iso
Class GcubeISOMetadata

java.lang.Object
  extended by org.gcube.common.geoserverinterface.bean.iso.GcubeISOMetadata

public class GcubeISOMetadata
extends Object


Constructor Summary
GcubeISOMetadata()
           
 
Method Summary
 void addCredits(String toAddCredits)
          Adds credits to the metadata
 void addGraphicOverview(String uri)
          Adds a graphic overview uri to the metadata
 void addKeyword(String keyword, Thesaurus thesaurus)
          Adds descriptive keywords to the metadata
 void addTopicCategory(org.opengis.metadata.identification.TopicCategory toAdd)
          Adds a Topic Category to the metadata
protected  void checkConstraints()
           
 String getAbstractField()
           
 EnvironmentConfiguration getConfig()
           
 Date getCreationDate()
           
 ArrayList<String> getCredits()
           
 HashMap<Thesaurus,HashSet<String>> getDescriptiveKeywords()
           
 org.geotoolkit.metadata.iso.extent.DefaultExtent getExtent()
           
 org.opengis.metadata.spatial.GeometricObjectType getGeometricObjectType()
           
 int getGeometryCount()
           
 ArrayList<String> getGraphicOverviewsURI()
           
 org.opengis.metadata.Metadata getMetadata()
           
 org.opengis.metadata.citation.PresentationForm getPresentationForm()
           
 String getPurpose()
           
 double getResolution()
           
 String getTitle()
           
 ArrayList<org.opengis.metadata.identification.TopicCategory> getTopicCategories()
           
 org.opengis.metadata.spatial.TopologyLevel getTopologyLevel()
           
 String getUser()
           
 void setAbstractField(String abstractField)
           
 void setCreationDate(Date creationDate)
           
 void setExtent(org.geotoolkit.metadata.iso.extent.DefaultExtent extent)
           
 void setGeometricObjectType(org.opengis.metadata.spatial.GeometricObjectType geometricObjectType)
           
 void setGeometryCount(int geometryCount)
           
 void setPresentationForm(org.opengis.metadata.citation.PresentationForm presentationForm)
           
 void setPurpose(String purpose)
           
 void setResolution(double resoulution)
           
 void setTitle(String title)
           
 void setTopologyLevel(org.opengis.metadata.spatial.TopologyLevel topologyLevel)
           
 void setUser(String user)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GcubeISOMetadata

public GcubeISOMetadata()
                 throws Exception
Throws:
Exception
Method Detail

checkConstraints

protected void checkConstraints()
                         throws MissingInformationException
Throws:
MissingInformationException

getMetadata

public org.opengis.metadata.Metadata getMetadata()
                                          throws URISyntaxException,
                                                 MissingInformationException
Throws:
URISyntaxException
MissingInformationException

getUser

public String getUser()
Returns:
the user

setUser

public void setUser(String user)
Parameters:
user - the user to set

getTitle

public String getTitle()
Returns:
the title

setTitle

public void setTitle(String title)
Parameters:
title - the title to set

getCreationDate

public Date getCreationDate()
Returns:
the creationDate

setCreationDate

public void setCreationDate(Date creationDate)
Parameters:
creationDate - the creationDate to set

getPresentationForm

public org.opengis.metadata.citation.PresentationForm getPresentationForm()
Returns:
the presentationForm

setPresentationForm

public void setPresentationForm(org.opengis.metadata.citation.PresentationForm presentationForm)
Parameters:
presentationForm - the presentationForm to set

getAbstractField

public String getAbstractField()
Returns:
the abstractField

setAbstractField

public void setAbstractField(String abstractField)
Parameters:
abstractField - the abstractField to set

getExtent

public org.geotoolkit.metadata.iso.extent.DefaultExtent getExtent()
Returns:
the extent

setExtent

public void setExtent(org.geotoolkit.metadata.iso.extent.DefaultExtent extent)
Parameters:
extent - the extent to set [Default is WORLD]

getGeometricObjectType

public org.opengis.metadata.spatial.GeometricObjectType getGeometricObjectType()
Returns:
the geometricObjectType

setGeometricObjectType

public void setGeometricObjectType(org.opengis.metadata.spatial.GeometricObjectType geometricObjectType)
Parameters:
geometricObjectType - the geometricObjectType to set [Default is SURFACE]

getGeometryCount

public int getGeometryCount()
Returns:
the geometryCount

setGeometryCount

public void setGeometryCount(int geometryCount)
Parameters:
geometryCount - the geometryCount to set [Default is 0]

getConfig

public EnvironmentConfiguration getConfig()
Returns:
the config

getCredits

public ArrayList<String> getCredits()
Returns:
the credits

addCredits

public void addCredits(String toAddCredits)
Adds credits to the metadata

Parameters:
toAddCredits -

getDescriptiveKeywords

public HashMap<Thesaurus,HashSet<String>> getDescriptiveKeywords()
Returns:
the descriptiveKeywords

addKeyword

public void addKeyword(String keyword,
                       Thesaurus thesaurus)
Adds descriptive keywords to the metadata

Parameters:
keyword -
thesaurus -

getTopicCategories

public ArrayList<org.opengis.metadata.identification.TopicCategory> getTopicCategories()
Returns:
the topicCategories

addTopicCategory

public void addTopicCategory(org.opengis.metadata.identification.TopicCategory toAdd)
Adds a Topic Category to the metadata

Parameters:
toAdd -

getGraphicOverviewsURI

public ArrayList<String> getGraphicOverviewsURI()
Returns:
the graphicOverviewsURI

addGraphicOverview

public void addGraphicOverview(String uri)
Adds a graphic overview uri to the metadata

Parameters:
uri -

getPurpose

public String getPurpose()
Returns:
the purpose

setPurpose

public void setPurpose(String purpose)
Parameters:
purpose - the purpose to set

toString

public String toString()
Overrides:
toString in class Object

getTopologyLevel

public org.opengis.metadata.spatial.TopologyLevel getTopologyLevel()
Returns:
the current Topology Level

setTopologyLevel

public void setTopologyLevel(org.opengis.metadata.spatial.TopologyLevel topologyLevel)
Parameters:
topologyLevel - the Topology level to set [Default is GEOMETRY_ONLY]

getResolution

public double getResolution()
Returns:
the current layer resolution

setResolution

public void setResolution(double resoulution)
Parameters:
resoulution - The resolution to be set [Default is 0.5]


Copyright © 2013. All Rights Reserved.