Package cz.vutbr.fit.layout.model
Interface Artifact
-
- All Known Subinterfaces:
AreaTree,ChunkSet,LogicalAreaTree,Page
- All Known Implementing Classes:
AreaTreeInfo,ArtifactInfo,BaseArtifact,DefaultAreaTree,DefaultChunkSet,DefaultLogicalAreaTree,DefaultPage,ChunkSetInfo,PageImpl,PageImpl,PageImpl,PageInfo,RDFAreaTree,RDFArtifactInfo,RDFChunkSet,RDFPage,SegmentationAreaTree
public interface ArtifactAn artifact created during the page processing.- Author:
- burgetr
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.rdf4j.model.IRIgetArtifactType()Gets the artifact type.DategetCreatedOn()The artifact creation date.StringgetCreator()An identification of the service that created the artifact.StringgetCreatorParams()The parametres of the service used for creating the artifact.org.eclipse.rdf4j.model.IRIgetIri()Gets a unique artifact IDStringgetLabel()Gets the element label when it is defined.Collection<Metadata>getMetadata()Metadata provided for the entire artifact.org.eclipse.rdf4j.model.IRIgetParentIri()Gets the IRI of the parent artifact - the artifact this one was created from.voidsetIri(org.eclipse.rdf4j.model.IRI iri)Sets the IRI of the artifact.
-
-
-
Method Detail
-
getIri
org.eclipse.rdf4j.model.IRI getIri()
Gets a unique artifact ID- Returns:
- the ID
-
setIri
void setIri(org.eclipse.rdf4j.model.IRI iri)
Sets the IRI of the artifact.- Parameters:
iri- the new artifact IRI
-
getArtifactType
org.eclipse.rdf4j.model.IRI getArtifactType()
Gets the artifact type.- Returns:
- the IRI of the artifact type.
-
getParentIri
org.eclipse.rdf4j.model.IRI getParentIri()
Gets the IRI of the parent artifact - the artifact this one was created from.- Returns:
- the parent artifact IRI or
nullwhen this is an initial artifact.
-
getLabel
String getLabel()
Gets the element label when it is defined.- Returns:
- the label or
nullwhen no label is defined
-
getCreatedOn
Date getCreatedOn()
The artifact creation date.- Returns:
- the date/time of the artifact creation.
-
getCreator
String getCreator()
An identification of the service that created the artifact.- Returns:
- a service ID string
-
getCreatorParams
String getCreatorParams()
The parametres of the service used for creating the artifact.- Returns:
- a service parameter string
-
getMetadata
Collection<Metadata> getMetadata()
Metadata provided for the entire artifact.- Returns:
- A metadata collection or
nullwhen no metadata is provided.
-
-