Interface ContactReferenceFacet
- 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:
ContactReferenceFacetImpl
@TypeMetadata(name="ContactReferenceFacet",
description="ContactReferenceFacet captures information on the primary and authoritative contact for the resource it is associated with.",
version="1.0.0")
@Change(version="1.0.0",
description="First Version")
public interface ContactReferenceFacet
extends org.gcube.informationsystem.model.reference.entities.Facet
ContactReferenceFacet captures information on the primary and
authoritative contact for the resource it is associated with.
https://wiki.gcube-system.org/gcube/GCube_Model#Contact_Reference_Facet
- Author:
- Luca Frosini (ISTI - CNR)
-
Field Summary
FieldsFields inherited from interface org.gcube.informationsystem.base.reference.Element
DATETIME_PATTERN, TYPE_PROPERTYFields inherited from interface org.gcube.informationsystem.model.reference.ERElement
CONTEXTS_PROPERTYFields inherited from interface org.gcube.informationsystem.base.reference.IdentifiableElement
ID_PROPERTY, METADATA_PROPERTYFields inherited from interface org.gcube.informationsystem.model.reference.ModelElement
EXPECTED_TYPE_PROPERTY, SUPERTYPES_PROPERTY -
Method Summary
Modifier and TypeMethodDescriptionA physical addressstatic ContactReferenceFacetReturns a default instance of ContactReferenceFacetA phone numberThe main websitevoidsetAddress(String address) Sets a physical addressvoidsetPhoneNumber(String phoneNumber) Sets a phone numbervoidsetWebsite(URL website) Sets the main websiteMethods inherited from interface org.gcube.informationsystem.base.reference.Element
getTypeNameMethods inherited from interface org.gcube.informationsystem.base.reference.entities.EntityElement
getID, getMetadata, setID, setMetadataMethods inherited from interface org.gcube.informationsystem.model.reference.ERElement
getContextsMethods inherited from interface org.gcube.informationsystem.model.reference.entities.Facet
getAdditionalProperties, getAdditionalProperty, setAdditionalProperties, setAdditionalPropertyMethods inherited from interface org.gcube.informationsystem.model.reference.ModelElement
getExpectedtype, getSupertypes
-
Field Details
-
NAME
The name associated with this facet- See Also:
-
-
Method Details
-
getDefaultInstance
Returns a default instance of ContactReferenceFacet- Returns:
- a default instance of ContactReferenceFacet
-
getWebsite
The main website- Returns:
- the website
-
setWebsite
Sets the main website- Parameters:
website- the website
-
getAddress
A physical address- Returns:
- the address
-
setAddress
Sets a physical address- Parameters:
address- the address
-
getPhoneNumber
A phone number- Returns:
- the phone number
-
setPhoneNumber
Sets a phone number- Parameters:
phoneNumber- the phone number
-