com.tle.core.taxonomy.scripting.types
Interface TermScriptType
Declaration: public interface TermScriptType

 

These are retrieved and manipulated with the TaxonomyScriptType

 

 

Methods Summary
abstract java.lang.String getData(java.lang.String attributeKey)
    
abstract java.lang.String getFullPath()
    
abstract java.lang.String getTerm()
    
abstract boolean isLeaf()
    

 

 

 

 

getTerm

 

public abstract java.lang.String getTerm( )

 

Returns:
The node name of the term (i.e. not the full path)

 

 

 

getFullPath

 

public abstract java.lang.String getFullPath( )

 

Returns:
The full path to this term.

 

 

 

isLeaf

 

public abstract boolean isLeaf( )

 

Returns:
true if this node has no child nodes.

 

 

 

getData

 

public abstract java.lang.String getData( java.lang.String attributeKey)

 

Parameters:
attributeKey-
The key of the custom data field.
Returns:
The value of the custom data (if any)