deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

org.deegree.gml.dictionary
Class GenericDefinition

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

public class GenericDefinition
extends Object
implements Definition

Default implementation of Definition.

Version:
$Revision: 21659 $, $Date: 2009-12-23 14:29:54 +0100 (Mi, 23 Dez 2009) $
Author:
Markus Schneider, last edited by: $Author: mschneider $

Constructor Summary
GenericDefinition(String id, GMLStdProps gmlProps)
          Creates a new GenericDefinition instance.
 
Method Summary
 StringOrRef getDescription()
          Returns the description.
 GMLStdProps getGMLProperties()
          Returns the standard GML properties (e.g.
 String getId()
          Returns the id of the object.
 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,
                         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()
Description copied from interface: GMLObject
Returns the id of the object.

Specified by:
getId in interface GMLObject
Returns:
the id of the object, or null if it doesn't have an id

getDescription

public StringOrRef getDescription()
Description copied from interface: Definition
Returns the description.

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

getNames

public 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 GMLStdProps getGMLProperties()
Description copied from interface: GMLObject
Returns the standard GML properties (e.g. gml:name).

Specified by:
getGMLProperties in interface GMLObject
Returns:
the standard GML properties, may be

deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org

]]>