org.gcube.application.aquamaps.publisher.impl.model
Class Layer

java.lang.Object
  extended by org.gcube.application.aquamaps.publisher.impl.model.CoverageDescriptor
      extended by org.gcube.application.aquamaps.publisher.impl.model.Layer
All Implemented Interfaces:
Storable

public class Layer
extends CoverageDescriptor
implements Storable


Field Summary
static org.gcube.common.core.utils.logging.GCUBELog logger
           
 
Constructor Summary
Layer(org.gcube.common.gis.datamodel.types.LayersType type, boolean customized, org.gcube.common.gis.datamodel.enhanced.LayerInfo layerInfo, CoverageDescriptor coverage, MetaInformations metaInfo, String... speciesIds)
           
 
Method Summary
protected static Layer get(String id)
           
 String getId()
           
 org.gcube.common.gis.datamodel.enhanced.LayerInfo getLayerInfo()
           
 MetaInformations getMetaInfo()
           
 String[] getSpeciesIds()
           
 org.gcube.common.gis.datamodel.types.LayersType getType()
           
 ArrayList<String> getWmsContextsId()
           
protected static void remove(String id)
           
 void setId(String id)
           
 void setSpeciesIds(String[] speciesIds)
           
 void setType(org.gcube.common.gis.datamodel.types.LayersType type)
           
 void setWmsContextsId(ArrayList<String> wmsContextsId)
           
 
Methods inherited from class org.gcube.application.aquamaps.publisher.impl.model.CoverageDescriptor
equals, getParameters, getTableId, hashCode, isCustomized, setCustomized, setParameters, setTableId
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

public static org.gcube.common.core.utils.logging.GCUBELog logger
Constructor Detail

Layer

public Layer(org.gcube.common.gis.datamodel.types.LayersType type,
             boolean customized,
             org.gcube.common.gis.datamodel.enhanced.LayerInfo layerInfo,
             CoverageDescriptor coverage,
             MetaInformations metaInfo,
             String... speciesIds)
Method Detail

getId

public String getId()
Specified by:
getId in interface Storable
Returns:
the id

getWmsContextsId

public ArrayList<String> getWmsContextsId()
Returns:
the wmsContextsId

setWmsContextsId

public void setWmsContextsId(ArrayList<String> wmsContextsId)
Parameters:
wmsContextsId - the wmsContextsId to set

getMetaInfo

public MetaInformations getMetaInfo()
Returns:
the metaInfo

setId

public void setId(String id)
Specified by:
setId in interface Storable
Parameters:
id - the id to set

getType

public org.gcube.common.gis.datamodel.types.LayersType getType()
Returns:
the type

setType

public void setType(org.gcube.common.gis.datamodel.types.LayersType type)
Parameters:
type - the type to set

getLayerInfo

public org.gcube.common.gis.datamodel.enhanced.LayerInfo getLayerInfo()
Returns:
the layerInfo

getSpeciesIds

public String[] getSpeciesIds()
Returns:
the speciesIds

setSpeciesIds

public void setSpeciesIds(String[] speciesIds)
Parameters:
speciesIds - the speciesIds to set

get

protected static Layer get(String id)
                    throws org.gcube.common.dbinterface.persistence.ObjectNotFoundException,
                           Exception
Throws:
org.gcube.common.dbinterface.persistence.ObjectNotFoundException
Exception

remove

protected static void remove(String id)
                      throws org.gcube.common.dbinterface.persistence.ObjectNotFoundException,
                             Exception
Throws:
org.gcube.common.dbinterface.persistence.ObjectNotFoundException
Exception


Copyright © 2013. All Rights Reserved.