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 Artifact
An 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.IRI
getArtifactType()
Gets the artifact type.Date
getCreatedOn()
The artifact creation date.String
getCreator()
An identification of the service that created the artifact.String
getCreatorParams()
The parametres of the service used for creating the artifact.org.eclipse.rdf4j.model.IRI
getIri()
Gets a unique artifact IDString
getLabel()
Gets the element label when it is defined.Collection<Metadata>
getMetadata()
Metadata provided for the entire artifact.org.eclipse.rdf4j.model.IRI
getParentIri()
Gets the IRI of the parent artifact - the artifact this one was created from.void
setIri(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
null
when this is an initial artifact.
-
getLabel
String getLabel()
Gets the element label when it is defined.- Returns:
- the label or
null
when 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
null
when no metadata is provided.
-
-