Class ContactFacetImpl
- java.lang.Object
-
- org.gcube.informationsystem.base.impl.ElementImpl
-
- org.gcube.informationsystem.base.impl.entities.EntityElementImpl
-
- org.gcube.informationsystem.model.impl.entities.EntityImpl
-
- org.gcube.informationsystem.model.impl.entities.FacetImpl
-
- org.gcube.resourcemanagement.model.impl.entities.facets.ContactFacetImpl
-
- All Implemented Interfaces:
Serializable,org.gcube.informationsystem.base.reference.Element,org.gcube.informationsystem.base.reference.entities.EntityElement,org.gcube.informationsystem.base.reference.IdentifiableElement,org.gcube.informationsystem.base.reference.SchemaMixedElement,org.gcube.informationsystem.model.reference.entities.Entity,org.gcube.informationsystem.model.reference.entities.Facet,org.gcube.informationsystem.model.reference.ERElement,org.gcube.informationsystem.model.reference.ModelElement,ContactFacet
public class ContactFacetImpl extends org.gcube.informationsystem.model.impl.entities.FacetImpl implements ContactFacet
- Author:
- Luca Frosini (ISTI - CNR)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected StringeMailThe eMail of the contactprotected StringidentifierThe identifier of the contactprotected StringmiddleNameThe middle name of the contactprotected StringnameThe name of the contactprotected StringsurnameThe surname of the contactprotected StringtitleThe title of the contact-
Fields inherited from class org.gcube.informationsystem.model.impl.entities.FacetImpl
additionalProperties, allowedAdditionalKeys
-
Fields inherited from class org.gcube.informationsystem.model.impl.entities.EntityImpl
contexts, expectedtype, supertypes
-
Fields inherited from class org.gcube.informationsystem.base.impl.entities.EntityElementImpl
metadata, uuid
-
Fields inherited from interface org.gcube.resourcemanagement.model.reference.entities.facets.ContactFacet
EMAIL_PATTERN, EMAIL_PROPERTY, NAME, VERSION
-
Fields inherited from interface org.gcube.informationsystem.base.reference.Element
DATETIME_PATTERN, NAME, TYPE_PROPERTY
-
Fields inherited from interface org.gcube.informationsystem.base.reference.entities.EntityElement
NAME
-
Fields inherited from interface org.gcube.informationsystem.model.reference.ERElement
CONTEXTS_PROPERTY
-
-
Constructor Summary
Constructors Constructor Description ContactFacetImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetEMail()The email address of the point of contact.StringgetIdentifier()An identifier for the point of contact.StringgetMiddleName()The middle name of the point of contact.StringgetName()The first name of the point of contact.StringgetSurname()The surname of the point of contact.StringgetTitle()A name describing the profession or marital status of the point of contact.voidsetEMail(String eMail)Sets the email address of the point of contact.voidsetIdentifier(String identifier)Sets the identifier of the point of contact.voidsetMiddleName(String middleName)Sets the middle name of the point of contact.voidsetName(String name)Sets the first name of the point of contact.voidsetSurname(String surname)Sets the surname of the point of contact.voidsetTitle(String title)Sets the title of the point of contact.-
Methods inherited from class org.gcube.informationsystem.model.impl.entities.FacetImpl
addAllowedAdditionalKey, getAdditionalProperties, getAdditionalProperty, setAdditionalProperties, setAdditionalProperty
-
Methods inherited from class org.gcube.informationsystem.model.impl.entities.EntityImpl
getContexts, getExpectedtype, getSupertypes, setContexts
-
Methods inherited from class org.gcube.informationsystem.base.impl.entities.EntityElementImpl
getID, getMetadata, setID, setMetadata
-
Methods inherited from class org.gcube.informationsystem.base.impl.ElementImpl
getTypeName, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.gcube.informationsystem.base.reference.entities.EntityElement
getID, getMetadata, setID, setMetadata
-
-
-
-
Field Detail
-
identifier
protected String identifier
The identifier of the contact
-
title
protected String title
The title of the contact
-
name
protected String name
The name of the contact
-
middleName
protected String middleName
The middle name of the contact
-
surname
protected String surname
The surname of the contact
-
eMail
protected String eMail
The eMail of the contact
-
-
Method Detail
-
getIdentifier
public String getIdentifier()
An identifier for the point of contact.- Specified by:
getIdentifierin interfaceContactFacet- Returns:
- the identifier
-
setIdentifier
public void setIdentifier(String identifier)
Sets the identifier of the point of contact.- Specified by:
setIdentifierin interfaceContactFacet- Parameters:
identifier- the identifier
-
getTitle
public String getTitle()
A name describing the profession or marital status of the point of contact. e.g., Dr, Mrs, Mr.- Specified by:
getTitlein interfaceContactFacet- Returns:
- the title
-
setTitle
public void setTitle(String title)
Sets the title of the point of contact.- Specified by:
setTitlein interfaceContactFacet- Parameters:
title- the title
-
getName
public String getName()
The first name of the point of contact.- Specified by:
getNamein interfaceContactFacet- Returns:
- the name
-
setName
public void setName(String name)
Sets the first name of the point of contact.- Specified by:
setNamein interfaceContactFacet- Parameters:
name- the name
-
getMiddleName
public String getMiddleName()
The middle name of the point of contact.- Specified by:
getMiddleNamein interfaceContactFacet- Returns:
- the middle name
-
setMiddleName
public void setMiddleName(String middleName)
Sets the middle name of the point of contact.- Specified by:
setMiddleNamein interfaceContactFacet- Parameters:
middleName- the middle name
-
getSurname
public String getSurname()
The surname of the point of contact.- Specified by:
getSurnamein interfaceContactFacet- Returns:
- the surname
-
setSurname
public void setSurname(String surname)
Sets the surname of the point of contact.- Specified by:
setSurnamein interfaceContactFacet- Parameters:
surname- the surname
-
getEMail
public String getEMail()
The email address of the point of contact.- Specified by:
getEMailin interfaceContactFacet- Returns:
- the email
-
setEMail
public void setEMail(String eMail)
Sets the email address of the point of contact.- Specified by:
setEMailin interfaceContactFacet- Parameters:
eMail- the email
-
-