SkosConcept

public class SkosConcept

Represents a skos:concept

Author:martinfilliau

Constructors

SkosConcept

public SkosConcept()

Methods

addAltLabel

public void addAltLabel(String label)

Add an alternative label to the concept

Parameters:
  • label – String

addRelated

public void addRelated(Related related)

Add a Related concept to the concept

Parameters:
  • related – Related

equals

public boolean equals(Object obj)

fromSolr

public static SkosConcept fromSolr(SolrDocument doc)

Get a SkosConcept from a SolrDocument

Parameters:
  • doc – SolrDocument
Returns:

SkosConcept

getAltLabels

public List<String> getAltLabels()

getPrefLabel

public String getPrefLabel()

getRelated

public List<Related> getRelated()

getUri

public String getUri()

hashCode

public int hashCode()

setAltLabels

public void setAltLabels(List<String> altLabels)

setPrefLabel

public void setPrefLabel(String prefLabel)

setRelated

public void setRelated(List<Related> related)

setUri

public void setUri(String uri)

toString

public String toString()