org.deegree.gml.dictionary
Class GenericDefinition

java.lang.Object
  extended by org.deegree.gml.dictionary.GenericDefinition
All Implemented Interfaces:
org.deegree.commons.tom.gml.GMLObject, org.deegree.commons.tom.Object, org.deegree.commons.tom.TypedObjectNode, Definition
Direct Known Subclasses:
GenericDictionary

public class GenericDefinition
extends Object
implements Definition

Default implementation of Definition.

Version:
$Revision: 31639 $, $Date: 2011-08-24 21:02:10 +0200 (Wed, 24 Aug 2011) $
Author:
Markus Schneider, last edited by: $Author: mschneider $

Constructor Summary
GenericDefinition(String id, org.deegree.commons.tom.gml.GMLStdProps gmlProps)
          Creates a new GenericDefinition instance.
 
Method Summary
 org.deegree.commons.tom.ows.StringOrRef getDescription()
          Returns the description.
 org.deegree.commons.tom.gml.GMLStdProps getGMLProperties()
           
 String getId()
           
 org.deegree.commons.tom.ows.CodeType[] getNames()
          Returns the names.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericDefinition

public GenericDefinition(String id,
                         org.deegree.commons.tom.gml.GMLStdProps gmlProps)
Creates a new GenericDefinition instance.

Parameters:
id - id of the definition, can be null
gmlProps - GML standard properties (which contain description and names), must not be null
Method Detail

getId

public String getId()
Specified by:
getId in interface org.deegree.commons.tom.Object

getDescription

public org.deegree.commons.tom.ows.StringOrRef getDescription()
Description copied from interface: Definition
Returns the description.

Specified by:
getDescription in interface Definition
Returns:
the description, can be null

getNames

public org.deegree.commons.tom.ows.CodeType[] getNames()
Description copied from interface: Definition
Returns the names.

Specified by:
getNames in interface Definition
Returns:
the names, can be empty, but never null

getGMLProperties

public org.deegree.commons.tom.gml.GMLStdProps getGMLProperties()
Specified by:
getGMLProperties in interface org.deegree.commons.tom.gml.GMLObject


Copyright © 2011. All Rights Reserved.