slib.indexer
Class IndexElementBasic

java.lang.Object
  extended by slib.indexer.IndexElementBasic
All Implemented Interfaces:
IndexedElement

public class IndexElementBasic
extends Object
implements IndexedElement

Author:
Harispe Sébastien

Constructor Summary
IndexElementBasic(org.openrdf.model.Value v)
           
IndexElementBasic(org.openrdf.model.Value v, String d)
           
 
Method Summary
 void addDescription(String d)
           
 void addDescriptions(Collection<String> d)
           
 void addDescriptions(String[] d)
           
 Set<String> getDescriptions()
           
 String getPreferredDescription()
           
 org.openrdf.model.Value getValue()
           
 void setPreferredDescription(String d)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexElementBasic

public IndexElementBasic(org.openrdf.model.Value v)
Parameters:
v -

IndexElementBasic

public IndexElementBasic(org.openrdf.model.Value v,
                         String d)
Parameters:
v -
d -
Method Detail

addDescription

public void addDescription(String d)
Specified by:
addDescription in interface IndexedElement
Parameters:
d -

getDescriptions

public Set<String> getDescriptions()
Specified by:
getDescriptions in interface IndexedElement
Returns:

getPreferredDescription

public String getPreferredDescription()
Specified by:
getPreferredDescription in interface IndexedElement
Returns:

setPreferredDescription

public void setPreferredDescription(String d)
Specified by:
setPreferredDescription in interface IndexedElement
Parameters:
d -

addDescriptions

public void addDescriptions(Collection<String> d)
Specified by:
addDescriptions in interface IndexedElement
Parameters:
d -

addDescriptions

public void addDescriptions(String[] d)
Specified by:
addDescriptions in interface IndexedElement
Parameters:
d -

getValue

public org.openrdf.model.Value getValue()
Specified by:
getValue in interface IndexedElement
Returns:


Copyright © 2013. All Rights Reserved.