net.geant.edugain.meta.metadata
Class Contact

java.lang.Object
  extended by net.geant.edugain.meta.metadata.Contact

public class Contact
extends java.lang.Object

This class contains a representation of the eduGAIN mapping for a SAML2 Contact metadata element.

Author:
Manuela Stanica

Field Summary
private  java.lang.String email
          Email address of the contact person for this BE
private  java.lang.String name
          Name of the contact person for this BE
private  java.lang.String surname
          Surname of the contact person for this BE
private  java.lang.String telNumber
          Telephne number of the contact person for this BE
 
Constructor Summary
Contact()
          Constructor
Contact(java.lang.String name, java.lang.String surname, java.lang.String email, java.lang.String tel)
          Constructor
 
Method Summary
 java.lang.String getEmail()
          Gets the email address of the contact person
 java.lang.String getName()
          Gets the name of the contact person
 java.lang.String getSurname()
          Gets the surname of the contact person
 java.lang.String getTelNumber()
          Gets the telephone number of the contact person
 void setEmail(java.lang.String email)
          Sets the email address of the contact person
 void setName(java.lang.String name)
          Sets the name of the contact person
 void setSurname(java.lang.String surname)
          Sets the surname of the contact person
 void setTelNumber(java.lang.String telNumber)
          Sets the telephone number of the contact person
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

private java.lang.String name
Name of the contact person for this BE


surname

private java.lang.String surname
Surname of the contact person for this BE


email

private java.lang.String email
Email address of the contact person for this BE


telNumber

private java.lang.String telNumber
Telephne number of the contact person for this BE

Constructor Detail

Contact

public Contact()
Constructor


Contact

public Contact(java.lang.String name,
               java.lang.String surname,
               java.lang.String email,
               java.lang.String tel)
Constructor

Parameters:
name - the contact person's name
surname - the contact person's surname
email - the contact person's email address
tel - the contact person's phone number
Method Detail

getName

public java.lang.String getName()
Gets the name of the contact person

Returns:
name of the contact person

setName

public void setName(java.lang.String name)
Sets the name of the contact person

Parameters:
name - the name of the contact person

getSurname

public java.lang.String getSurname()
Gets the surname of the contact person

Returns:
the surname of the contact person

setSurname

public void setSurname(java.lang.String surname)
Sets the surname of the contact person

Parameters:
surname - the surname of the contact person

getEmail

public java.lang.String getEmail()
Gets the email address of the contact person

Returns:
the email address of the contact person

setEmail

public void setEmail(java.lang.String email)
Sets the email address of the contact person

Parameters:
email - the email address of the contact person

getTelNumber

public java.lang.String getTelNumber()
Gets the telephone number of the contact person

Returns:
the telephone number of the contact person

setTelNumber

public void setTelNumber(java.lang.String telNumber)
Sets the telephone number of the contact person

Parameters:
telNumber - the telephone number of the contact person