Class ProvenanceFacetImpl
- 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.ProvenanceFacetImpl
-
- 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,ProvenanceFacet
public class ProvenanceFacetImpl extends org.gcube.informationsystem.model.impl.entities.FacetImpl implements ProvenanceFacet
- Author:
- Luca Frosini (ISTI - CNR)
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.gcube.resourcemanagement.model.reference.entities.facets.ProvenanceFacet
ProvenanceFacet.Relationship
-
-
Field Summary
Fields Modifier and Type Field Description protected ValueSchemadocumentprotected Stringreferenceprotected ProvenanceFacet.Relationshiprelationship-
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.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
-
Fields inherited from interface org.gcube.informationsystem.base.reference.IdentifiableElement
ID_PROPERTY, METADATA_PROPERTY
-
Fields inherited from interface org.gcube.informationsystem.model.reference.ModelElement
EXPECTED_TYPE_PROPERTY, SUPERTYPES_PROPERTY
-
Fields inherited from interface org.gcube.resourcemanagement.model.reference.entities.facets.ProvenanceFacet
NAME
-
-
Constructor Summary
Constructors Constructor Description ProvenanceFacetImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValueSchemagetDocument()StringgetReference()ProvenanceFacet.RelationshipgetRelationship()voidsetDocument(ValueSchema document)voidsetReference(String reference)voidsetRelationship(ProvenanceFacet.Relationship relationship)-
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
-
relationship
protected ProvenanceFacet.Relationship relationship
-
reference
protected String reference
-
document
protected ValueSchema document
-
-
Method Detail
-
getRelationship
public ProvenanceFacet.Relationship getRelationship()
- Specified by:
getRelationshipin interfaceProvenanceFacet- Returns:
- the relationship
-
setRelationship
public void setRelationship(ProvenanceFacet.Relationship relationship)
- Specified by:
setRelationshipin interfaceProvenanceFacet- Parameters:
relationship- the relationship to set
-
getReference
public String getReference()
- Specified by:
getReferencein interfaceProvenanceFacet- Returns:
- the reference
-
setReference
public void setReference(String reference)
- Specified by:
setReferencein interfaceProvenanceFacet- Parameters:
reference- the reference to set
-
getDocument
public ValueSchema getDocument()
- Specified by:
getDocumentin interfaceProvenanceFacet- Returns:
- the document
-
setDocument
public void setDocument(ValueSchema document)
- Specified by:
setDocumentin interfaceProvenanceFacet- Parameters:
document- the document to set
-
-