41 lines
1.2 KiB
Java
41 lines
1.2 KiB
Java
/**
|
|
*
|
|
*/
|
|
package org.gcube.resourcemanagement.model.reference.entities.facets;
|
|
|
|
import java.net.URL;
|
|
|
|
import org.gcube.com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
|
import org.gcube.informationsystem.model.reference.entities.Facet;
|
|
import org.gcube.informationsystem.types.annotations.ISProperty;
|
|
import org.gcube.resourcemanagement.model.impl.entities.facets.ContactReferenceFacetImpl;
|
|
|
|
/**
|
|
* @author Luca Frosini (ISTI - CNR)
|
|
* https://wiki.gcube-system.org/gcube/Facet_Based_Resource_Model#Contact_Reference_Facet
|
|
*/
|
|
@JsonDeserialize(as=ContactReferenceFacetImpl.class)
|
|
public interface ContactReferenceFacet extends Facet {
|
|
|
|
public static final String NAME = "ContactReferenceFacet"; // ContactReferenceFacet.class.getSimpleName();
|
|
public static final String DESCRIPTION = "This facet is expected to "
|
|
+ "capture contact information";
|
|
public static final String VERSION = "1.0.0";
|
|
|
|
@ISProperty
|
|
public URL getWebsite();
|
|
|
|
public void setWebsite(URL website);
|
|
|
|
@ISProperty
|
|
public String getAddress();
|
|
|
|
public void setAddress(String address);
|
|
|
|
@ISProperty
|
|
public String getPhoneNumber();
|
|
|
|
public void setPhoneNumber(String phoneNumber);
|
|
|
|
}
|