Class MarkingBuilder

java.lang.Object
org.aksw.gerbil.transfer.nif.MarkingBuilder

public class MarkingBuilder extends Object
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • meanings

      protected Set<String> meanings
    • types

      protected Set<String> types
    • start

      protected int start
    • length

      protected int length
    • end

      protected int end
    • confidence

      protected double confidence
    • hasConfidence

      protected boolean hasConfidence
    • provenance

      protected ProvenanceInfo provenance
    • subject

      protected Set<String> subject
    • predicate

      protected Set<String> predicate
    • object

      protected Set<String> object
  • Constructor Details

    • MarkingBuilder

      public MarkingBuilder()
  • Method Details

    • clear

      public void clear()
    • getMeanings

      public Set<String> getMeanings()
      Returns:
      the meanings
    • setMeanings

      public void setMeanings(Set<String> meanings)
      Parameters:
      meanings - the meanings to set
    • addMeaning

      public void addMeaning(String meaning)
      Parameters:
      meaning - the meaning to be added
    • getTypes

      public Set<String> getTypes()
      Returns:
      the types
    • setTypes

      public void setTypes(Set<String> types)
      Parameters:
      types - the types to set
    • addType

      public void addType(String type)
      Parameters:
      type - the type to be added
    • getStart

      public int getStart()
      Returns:
      the start
    • setStart

      public void setStart(int start)
      Parameters:
      start - the start to set
    • getLength

      public int getLength()
      Returns:
      the length
    • setLength

      public void setLength(int length)
      Parameters:
      length - the length to set
    • getEnd

      public int getEnd()
      Returns:
      the end
    • setEnd

      public void setEnd(int end)
      Parameters:
      end - the end to set
    • getConfidence

      public double getConfidence()
      Returns:
      the confidence
    • hasConfidence

      public boolean hasConfidence()
      Returns:
      the hasConfidence flag
    • setConfidence

      public void setConfidence(double confidence)
      Parameters:
      confidence - the confidence to set
    • getProvenance

      public ProvenanceInfo getProvenance()
      Returns:
      the provenance
    • setProvenance

      public void setProvenance(ProvenanceInfo provenance)
      Parameters:
      provenance - the provenance to set
    • getSubject

      public Set<String> getSubject()
      Returns:
      the subject
    • setSubject

      public void setSubject(Set<String> subject)
      Parameters:
      subject - the subject to set
    • addSubject

      public void addSubject(String subject)
      Parameters:
      subject - the subject to be added
    • getPredicate

      public Set<String> getPredicate()
      Returns:
      the predicate
    • setPredicate

      public void setPredicate(Set<String> predicate)
      Parameters:
      predicate - the predicate to set
    • addPredicate

      public void addPredicate(String predicate)
      Parameters:
      predicate - the predicate to be added
    • getObject

      public Set<String> getObject()
      Returns:
      the object
    • setObject

      public void setObject(Set<String> object)
      Parameters:
      object - the object to set
    • addObject

      public void addObject(String object)
      Parameters:
      object - the object to be added
    • build

      public Marking build()
    • buildRelation

      protected Relation buildRelation()