Interface ContactFacet
-
- All Superinterfaces:
org.gcube.informationsystem.base.reference.Element,org.gcube.informationsystem.model.reference.entities.Entity,org.gcube.informationsystem.base.reference.entities.EntityElement,org.gcube.informationsystem.model.reference.ERElement,org.gcube.informationsystem.model.reference.entities.Facet,org.gcube.informationsystem.base.reference.IdentifiableElement,org.gcube.informationsystem.model.reference.ModelElement,org.gcube.informationsystem.base.reference.SchemaMixedElement,Serializable
- All Known Implementing Classes:
ContactFacetImpl
@TypeMetadata(name="ContactFacet", description="ContactFacet captures information on a point of contact for the resource, i.e., a person or a department serving as the coordinator or focal point of information concerning the resource.", version="1.0.0") @Change(version="1.0.0", description="First Version") public interface ContactFacet extends org.gcube.informationsystem.model.reference.entities.FacetContactFacet captures information on a point of contact for the resource, i.e., a person or a department serving as the coordinator or focal point of information concerning the resource. https://wiki.gcube-system.org/gcube/GCube_Model#Contact_Facet- Author:
- Luca Frosini (ISTI - CNR)
-
-
Field Summary
Fields Modifier and Type Field Description static StringEMAIL_PATTERNstatic StringEMAIL_PROPERTYstatic StringNAME-
Fields inherited from interface org.gcube.informationsystem.base.reference.Element
DATETIME_PATTERN, TYPE_PROPERTY
-
Fields inherited from interface org.gcube.informationsystem.model.reference.ERElement
CONTEXTS_PROPERTY
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetEMail()StringgetMiddleName()StringgetName()StringgetSurname()StringgetTitle()voidsetEMail(String eMail)voidsetMiddleName(String middleName)voidsetName(String name)voidsetSurname(String surname)voidsetTitle(String title)-
Methods inherited from interface org.gcube.informationsystem.base.reference.entities.EntityElement
getID, getMetadata, setID, setMetadata
-
-
-
-
Field Detail
-
NAME
static final String NAME
- See Also:
- Constant Field Values
-
EMAIL_PROPERTY
static final String EMAIL_PROPERTY
- See Also:
- Constant Field Values
-
EMAIL_PATTERN
static final String EMAIL_PATTERN
- See Also:
- Constant Field Values
-
-
Method Detail
-
getTitle
@ISProperty(description="A name describing the profession or marital status of the point of contact. e.g., Dr, Mrs, Mr.") String getTitle()
-
setTitle
void setTitle(String title)
-
getName
@ISProperty(description="First Name", mandatory=true, nullable=false) String getName()
-
setName
void setName(String name)
-
getMiddleName
@ISProperty(description="Middle Name") String getMiddleName()
-
setMiddleName
void setMiddleName(String middleName)
-
getSurname
@ISProperty(description="Surname", mandatory=true, nullable=false) String getSurname()
-
setSurname
void setSurname(String surname)
-
getEMail
@ISProperty(description="Email address", name="eMail", mandatory=true, nullable=false, regexpr="^[a-z0-9._%+-]{1,128}@[a-z0-9.-]{1,128}$") String getEMail()
-
setEMail
void setEMail(String eMail)
-
-