public interface SpecializationOf extends Relation
Interface for PROV Specialization association.
PROV-DM Definition for Specialization: An entity that is a specialization ◊ of another shares all aspects of the latter, and additionally presents more specific aspects of the same thing as the latter. In particular, the lifetime of the entity being specialized contains that of any specialization.
Relevant Factory Methods:
ProvFactory.newSpecializationOf(QualifiedName, QualifiedName)
ObjectFactory.createSpecializationOf()
Schema Definition:
The following schema fragment specifies the expected content contained within this class.
<complexType name="Specialization"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="specificEntity" type="{http://www.w3.org/ns/prov#}IDRef"/> <element name="generalEntity" type="{http://www.w3.org/ns/prov#}IDRef"/> </sequence> </restriction> </complexContent> </complexType>
StatementOrBundle.Kind
Modifier and Type | Method and Description |
---|---|
QualifiedName |
getGeneralEntity()
Returns an identifier of the entity that is being specialized.
|
QualifiedName |
getSpecificEntity()
Returns an identifier of the entity that is a specialization of the general entity.
|
void |
setGeneralEntity(QualifiedName general)
Mutator for the entity that is being specialized.
|
void |
setSpecificEntity(QualifiedName specific)
Mutator for the entity that is a specialization of the general entity.
|
getKind
void setSpecificEntity(QualifiedName specific)
specific
- the entity that is a specialization of the general onevoid setGeneralEntity(QualifiedName general)
general
- the entity that is being specialized.QualifiedName getGeneralEntity()
QualifiedName
of the entity that is being specialized.QualifiedName getSpecificEntity()
QualifiedName
of the entity that is a specialization of the general one.Copyright © 2016. All rights reserved.