Class DcatConcept
java.lang.Object
org.odpi.openmetadata.frameworks.integration.dcat.properties.DcatConcept
DcatConcept describes a controlled value used in a DCAT description, such as a theme (skos:Concept), a licence
(dct:LicenseDocument) or a media type. It is identified by its IRI and may also have a human-readable label.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.getIri()Return the IRI that identifies the concept.getLabel()Return the human-readable label of the concept (skos:prefLabel, dct:title or rdfs:label).inthashCode()Return hash code based on properties.voidSet up the IRI that identifies the concept.voidSet up the human-readable label of the concept (skos:prefLabel, dct:title or rdfs:label).toString()Standard toString method.
-
Constructor Details
-
DcatConcept
public DcatConcept()Default constructor
-
-
Method Details
-
getIri
Return the IRI that identifies the concept.- Returns:
- string IRI
-
setIri
Set up the IRI that identifies the concept.- Parameters:
iri- string IRI
-
getLabel
Return the human-readable label of the concept (skos:prefLabel, dct:title or rdfs:label).- Returns:
- string label
-
setLabel
Set up the human-readable label of the concept (skos:prefLabel, dct:title or rdfs:label).- Parameters:
label- string label
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Return hash code based on properties.
-