|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.gml.props.GMLStdProps
public class GMLStdProps
Version-agnostic representation of the standard properties that any GMLObject
allows for.
The following properties exist (description taken from GML 3.1.1/3.2.1 schemas):
gml:metaDataProperty
: Contains or refers to a metadata package that contains metadata
properties. Has been deprecated in GML 3.2.1.gml:description
: The value of this property is a text description of the object.
gml:description uses gml:StringOrRefType as its content model, so it may contain a simple text string content, or
carry a reference to an external description. The use of gml:description to reference an external description has
been deprecated and replaced by the gml:descriptionReference property.gml:descriptionReference
: The value of this property is a remote text description of the
object. The xlink:href attribute of the gml:descriptionReference property references the external description.gml:identifier
: Often, a special identifier is assigned to an object by the maintaining
authority with the intention that it is used in references to the object For such cases, the codeSpace shall be
provided. That identifier is usually unique either globally or within an application domain. gml:identifier is a
pre-defined property for such identifiers.gml:name
: The gml:name property provides a label or identifier for the object, commonly a
descriptive name. An object may have several names, typically assigned by different authorities. gml:name uses the
gml:CodeType content model. The authority for a name is indicated by the value of its (optional) codeSpace attribute.
The name may or may not be unique, as determined by the rules of the organization responsible for the codeSpace. In
common usage there will be one name per authority, so a processing application may select the name from its preferred
codeSpace.
Property name | GML 2 | GML 3.0 | GML 3.1 | GML 3.2 |
---|---|---|---|---|
metaDataProperty |
n/a |
MetaDataPropertyType (0...*) |
MetaDataPropertyType (0...*) |
MetaDataPropertyType (0...*) |
description |
string (0...1) |
StringOrRefType (0...1) |
StringOrRefType (0...1) |
StringOrRefType (0...1) |
descriptionReference |
n/a |
n/a |
n/a |
ReferenceType (0...1) |
identifier |
n/a |
n/a |
n/a |
CodeWithAuthorityType (0...1) |
name |
string (0...1) |
CodeType (0...*) |
CodeType (0...*) |
CodeType (0...*) |
Feature
,
Geometry
Field Summary | |
---|---|
protected StringOrRef |
description
|
protected CodeType |
identifier
|
protected Object[] |
metadata
|
protected CodeType[] |
names
|
static SimplePropertyType<String> |
PT_DESCRIPTION_GML2
GML 2 standard property type 'gml:description' |
static StringOrRefPropertyType |
PT_DESCRIPTION_GML31
GML 3.0/3.1 standard property type 'gml:description' |
static StringOrRefPropertyType |
PT_DESCRIPTION_GML32
GML 3.2 standard property type 'gml:description' |
static StringOrRefPropertyType |
PT_DESCRIPTION_REFERENCE_GML32
GML 3.2 standard property type 'gml:descriptionReference' |
static CodePropertyType |
PT_IDENTIFIER_GML32
GML 3.2 standard property type 'gml:identifier' |
static CustomPropertyType |
PT_META_DATA_PROPERTY_GML31
GML 3.0/3.1 standard property type 'gml:metaDataProperty' |
static CustomPropertyType |
PT_META_DATA_PROPERTY_GML32
GML 3.2 standard property type 'gml:metaDataProperty' |
static SimplePropertyType<String> |
PT_NAME_GML2
GML 2 standard property type 'gml:name' |
static CodePropertyType |
PT_NAME_GML31
GML 3.0/3.1 standard property type 'gml:name' |
static CodePropertyType |
PT_NAME_GML32
GML 3.2 standard property type 'gml:name' |
Constructor Summary | |
---|---|
GMLStdProps(Object[] metadata,
StringOrRef description,
CodeType identifier,
CodeType[] names)
Creates a new GMLStdProps instance. |
Method Summary | |
---|---|
StringOrRef |
getDescription()
Returns the description. |
CodeType |
getIdentifier()
Returns the identifier. |
Object[] |
getMetadata()
Returns the metadata values. |
CodeType[] |
getNames()
Returns the names. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final SimplePropertyType<String> PT_DESCRIPTION_GML2
public static final SimplePropertyType<String> PT_NAME_GML2
public static final CustomPropertyType PT_META_DATA_PROPERTY_GML31
public static final StringOrRefPropertyType PT_DESCRIPTION_GML31
public static final CodePropertyType PT_NAME_GML31
public static final CustomPropertyType PT_META_DATA_PROPERTY_GML32
public static final StringOrRefPropertyType PT_DESCRIPTION_GML32
public static final StringOrRefPropertyType PT_DESCRIPTION_REFERENCE_GML32
public static final CodePropertyType PT_IDENTIFIER_GML32
public static final CodePropertyType PT_NAME_GML32
protected Object[] metadata
protected StringOrRef description
protected CodeType identifier
protected CodeType[] names
Constructor Detail |
---|
public GMLStdProps(Object[] metadata, StringOrRef description, CodeType identifier, CodeType[] names)
GMLStdProps
instance.
metadata
- metadata values, may be null
description
- description, may be null
identifier
- identifier, may be null
names
- names, may be null
Method Detail |
---|
public Object[] getMetadata()
null
public StringOrRef getDescription()
null
public CodeType getIdentifier()
null
public CodeType[] getNames()
null
public String toString()
toString
in class Object
|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |