org.deegree_impl.ogcbasic
Class ContactPersonPrimary_Impl

java.lang.Object
  extended byorg.deegree_impl.ogcbasic.ContactPersonPrimary_Impl
All Implemented Interfaces:
ContactPersonPrimary, Marshallable

public class ContactPersonPrimary_Impl
extends java.lang.Object
implements ContactPersonPrimary, Marshallable

names the conatct based on ISO 19115

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

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

Field Summary
private  java.lang.String contactOrganization
           
private  java.lang.String contactPerson
           
 
Constructor Summary
ContactPersonPrimary_Impl(java.lang.String contactPerson, java.lang.String contactOrganization)
          constructor initializing the class with ContactPersonPrimary Strings
 
Method Summary
 java.lang.String exportAsXML()
          Returns an XML representation of this object.
 java.lang.String getContactOrganization()
          returns the name of the organization that can be contacted / the contact person works at.
 java.lang.String getContactPerson()
          returns the name of the contact person
 void setContactOrganization(java.lang.String contactOrganization)
          sets the name of the organization that can be contacted / the contact person works at.
 void setContactPerson(java.lang.String contactPerson)
          sets the name of the contact person
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

contactOrganization

private java.lang.String contactOrganization

contactPerson

private java.lang.String contactPerson
Constructor Detail

ContactPersonPrimary_Impl

public ContactPersonPrimary_Impl(java.lang.String contactPerson,
                                 java.lang.String contactOrganization)
constructor initializing the class with ContactPersonPrimary Strings

Method Detail

getContactPerson

public java.lang.String getContactPerson()
returns the name of the contact person

Specified by:
getContactPerson in interface ContactPersonPrimary

setContactPerson

public void setContactPerson(java.lang.String contactPerson)
sets the name of the contact person


getContactOrganization

public java.lang.String getContactOrganization()
returns the name of the organization that can be contacted / the contact person works at.

Specified by:
getContactOrganization in interface ContactPersonPrimary

setContactOrganization

public void setContactOrganization(java.lang.String contactOrganization)
sets the name of the organization that can be contacted / the contact person works at.


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