org.deegree_impl.services.wms.capabilities
Class Identifier_Impl

java.lang.Object
  extended byorg.deegree_impl.services.wms.capabilities.Identifier_Impl
All Implemented Interfaces:
Identifier, Marshallable

class Identifier_Impl
extends java.lang.Object
implements Identifier, Marshallable

A Map Server may use zero or more Identifier elements to list ID numbers or labels defined by a particular Authority. For example, the Global Change Master Directory (gcmd.gsfc.nasa.gov) defines a DIF_ID label for every dataset. The authority name and explanatory URL are defined in a separate AuthorityURL element, which may be defined once and inherited by subsidiary layers. Identifiers themselves are not inherited.

----------------------------------------------------------------------

Version:
$Revision: 1.6 $
Author:
Katharina Lupp, Markus Schneider

Field Summary
private  java.lang.String authority
           
private  java.lang.String value
           
 
Constructor Summary
(package private) Identifier_Impl()
          default constructor
(package private) Identifier_Impl(java.lang.String value, java.lang.String authority)
          constructor initializing the class with the
 
Method Summary
 java.lang.String exportAsXML()
          Returns an XML representation of this object.
 java.lang.String getAuthority()
          returns the name of the authority that defines the identifier
 java.lang.String getValue()
          returns the value of the identifier. that may be a ID, a label or something comparable
 void setAuthority(java.lang.String authority)
          sets the name of the authority that defines the identifier
 void setValue(java.lang.String value)
          sets the value of the identifier. that may be a ID, a label or something comparable
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

authority

private java.lang.String authority

value

private java.lang.String value
Constructor Detail

Identifier_Impl

Identifier_Impl()
default constructor


Identifier_Impl

Identifier_Impl(java.lang.String value,
                java.lang.String authority)
constructor initializing the class with the

Method Detail

getValue

public java.lang.String getValue()
returns the value of the identifier. that may be a ID, a label or something comparable

Specified by:
getValue in interface Identifier

setValue

public void setValue(java.lang.String value)
sets the value of the identifier. that may be a ID, a label or something comparable


getAuthority

public java.lang.String getAuthority()
returns the name of the authority that defines the identifier

Specified by:
getAuthority in interface Identifier

setAuthority

public void setAuthority(java.lang.String authority)
sets the name of the authority that defines the identifier


toString

public java.lang.String toString()
Returns:

exportAsXML

public java.lang.String exportAsXML()
Returns an XML representation of this object.

Specified by:
exportAsXML in interface Marshallable
Returns:
XML-representation of this object