java.lang.Object
org.openprovenance.prov.vanilla.SpecializationOf
- All Implemented Interfaces:
org.openprovenance.apache.commons.lang.builder.Equals,org.openprovenance.apache.commons.lang.builder.HashCode,org.openprovenance.apache.commons.lang.builder.ToString,Relation,SpecializationOf,Statement,StatementOrBundle,UnqualifiedRelation
public class SpecializationOf
extends Object
implements SpecializationOf, org.openprovenance.apache.commons.lang.builder.Equals, org.openprovenance.apache.commons.lang.builder.HashCode, org.openprovenance.apache.commons.lang.builder.ToString
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.openprovenance.prov.model.StatementOrBundle
StatementOrBundle.Kind -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidvoidReturns an identifier of the entity that is being specialized.getKind()Gets the type of a provenance statementReturns an identifier of the entity that is a specialization of the general entity.inthashCode()voidhashCode(org.openprovenance.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder) voidMutator for the entity that is being specialized.voidMutator for the entity that is a specialization of the general entity.toString()voidtoString(org.openprovenance.apache.commons.lang.builder.ToStringBuilder toStringBuilder)
-
Field Details
-
specificEntity
-
generalEntity
-
-
Constructor Details
-
SpecializationOf
-
-
Method Details
-
setSpecificEntity
Description copied from interface:SpecializationOfMutator for the entity that is a specialization of the general entity.- Specified by:
setSpecificEntityin interfaceSpecializationOf- Parameters:
aid- the entity that is a specialization of the general one
-
setGeneralEntity
Description copied from interface:SpecializationOfMutator for the entity that is being specialized.- Specified by:
setGeneralEntityin interfaceSpecializationOf- Parameters:
eid- the entity that is being specialized.
-
getGeneralEntity
Description copied from interface:SpecializationOfReturns an identifier of the entity that is being specialized.- Specified by:
getGeneralEntityin interfaceSpecializationOf- Returns:
QualifiedNameof the entity that is being specialized.
-
getSpecificEntity
Description copied from interface:SpecializationOfReturns an identifier of the entity that is a specialization of the general entity.- Specified by:
getSpecificEntityin interfaceSpecializationOf- Returns:
QualifiedNameof the entity that is a specialization of the general one.
-
getKind
Description copied from interface:StatementOrBundleGets the type of a provenance statement- Specified by:
getKindin interfaceStatementOrBundle- Returns:
StatementOrBundle.Kind
-
equals
public void equals(Object object, org.openprovenance.apache.commons.lang.builder.EqualsBuilder equalsBuilder) - Specified by:
equalsin interfaceorg.openprovenance.apache.commons.lang.builder.Equals
-
equals2
public void equals2(Object object, org.openprovenance.apache.commons.lang.builder.EqualsBuilder equalsBuilder) -
equals
-
hashCode
public void hashCode(org.openprovenance.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder) - Specified by:
hashCodein interfaceorg.openprovenance.apache.commons.lang.builder.HashCode
-
hashCode
-
toString
public void toString(org.openprovenance.apache.commons.lang.builder.ToStringBuilder toStringBuilder) - Specified by:
toStringin interfaceorg.openprovenance.apache.commons.lang.builder.ToString
-
toString
-