org.tm4j.tolog
Class TologFragmentBuilderImpl

java.lang.Object
  extended byorg.tm4j.tolog.TologFragmentBuilderImpl
All Implemented Interfaces:
TologFragmentBuilder

Deprecated. from 0.9.5 use the pacakge org.tm4j.tologx

public class TologFragmentBuilderImpl
extends java.lang.Object
implements TologFragmentBuilder


Field Summary
static java.lang.String DEFAULT_VARTOPIC_SUBJECT_INDICATOR_PREFIX
          Deprecated.  
static java.lang.String ROW_ASSOC_TYPE_SUBJECT_INDICATOR
          Deprecated.  
 
Constructor Summary
TologFragmentBuilderImpl()
          Deprecated.  
TologFragmentBuilderImpl(TopicMapFragment tmFrag)
          Deprecated.  
TologFragmentBuilderImpl(TopicMapFragment tmFrag, boolean convertRowInfo)
          Deprecated.  
 
Method Summary
 java.util.List copyRow(java.util.List row)
          Deprecated.  
 void createRowAssoc(java.util.List row)
          Deprecated.  
 void createRowAssocType()
          Deprecated.  
 void createRowVariableTopics(TologResultsSet rs)
          Deprecated.  
 void exportResultsSet(TologResultsSet rs)
          Deprecated. Perform the export with the currently specified export parameters.
 void setConvertRowInformation(boolean convertRowInfo)
          Deprecated. Set the flag which indicates whether or not row information should be exported.
 void setFragment(TopicMapFragment tmFrag)
          Deprecated. Set the TopicMapFragment into which the results set should be exported.
 void setGenerateVarTopicNames(boolean genVarTopicNames)
          Deprecated. Set the flag which indicates whether or not topics representing the results set variables should be given base names.
 void setGenerateVarTopicSubjectIndicators(boolean genVarTopicSI)
          Deprecated. Set the flag which indicates whether or not topics representing the results set variables should be given subject indicators.
 void setRowAssociationTypeName(java.lang.String rowAssocTypeName)
          Deprecated. Sets the base name string to be assigned to the topic which types the row associations generated if the convertRowInformation option is set to true.
 void setVarTopicNamePrefix(java.lang.String namePrefix)
          Deprecated. Sets the string to be prepended to the base name string generated for topics which represent results set variables.
 void setVarTopicSubjectIndicatorPrefix(java.lang.String vtPrefix)
          Deprecated. Sets the prefix part of the subject indicator locator address to be generated for results set variables.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_VARTOPIC_SUBJECT_INDICATOR_PREFIX

public static final java.lang.String DEFAULT_VARTOPIC_SUBJECT_INDICATOR_PREFIX
Deprecated. 
See Also:
Constant Field Values

ROW_ASSOC_TYPE_SUBJECT_INDICATOR

public static final java.lang.String ROW_ASSOC_TYPE_SUBJECT_INDICATOR
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

TologFragmentBuilderImpl

public TologFragmentBuilderImpl()
Deprecated. 

TologFragmentBuilderImpl

public TologFragmentBuilderImpl(TopicMapFragment tmFrag)
Deprecated. 

TologFragmentBuilderImpl

public TologFragmentBuilderImpl(TopicMapFragment tmFrag,
                                boolean convertRowInfo)
Deprecated. 
Method Detail

setFragment

public void setFragment(TopicMapFragment tmFrag)
Deprecated. 
Description copied from interface: TologFragmentBuilder
Set the TopicMapFragment into which the results set should be exported.

Specified by:
setFragment in interface TologFragmentBuilder
Parameters:
tmFrag - the topic map fragment to export to.

setConvertRowInformation

public void setConvertRowInformation(boolean convertRowInfo)
Deprecated. 
Description copied from interface: TologFragmentBuilder
Set the flag which indicates whether or not row information should be exported. If true then the exported topic map fragment will contain one association for each row in the TologResultsSet. Each association will have one member for each column in the results set with a single player for that member.

Specified by:
setConvertRowInformation in interface TologFragmentBuilder

setGenerateVarTopicSubjectIndicators

public void setGenerateVarTopicSubjectIndicators(boolean genVarTopicSI)
Deprecated. 
Description copied from interface: TologFragmentBuilder
Set the flag which indicates whether or not topics representing the results set variables should be given subject indicators.

Specified by:
setGenerateVarTopicSubjectIndicators in interface TologFragmentBuilder
Parameters:
genVarTopicSI - true if the topics representing results set variables should be given subject indicators, false otherwise.

setVarTopicSubjectIndicatorPrefix

public void setVarTopicSubjectIndicatorPrefix(java.lang.String vtPrefix)
Deprecated. 
Description copied from interface: TologFragmentBuilder
Sets the prefix part of the subject indicator locator address to be generated for results set variables. The final form of the locator addresses generated will be {vtPrefix}{variablename}. It is the responsibility of the caller to ensure that the prefix is such that these generated addresses are valid URI strings.

Specified by:
setVarTopicSubjectIndicatorPrefix in interface TologFragmentBuilder
Parameters:
vtPrefix - the prefix string to be used for generating the subject indicator locators for the topics representing results set variables.

setGenerateVarTopicNames

public void setGenerateVarTopicNames(boolean genVarTopicNames)
Deprecated. 
Description copied from interface: TologFragmentBuilder
Set the flag which indicates whether or not topics representing the results set variables should be given base names.

Specified by:
setGenerateVarTopicNames in interface TologFragmentBuilder
Parameters:
genVarTopicNames - true if the topics representing results set variables should be given base names, false otherwise.

setVarTopicNamePrefix

public void setVarTopicNamePrefix(java.lang.String namePrefix)
Deprecated. 
Description copied from interface: TologFragmentBuilder
Sets the string to be prepended to the base name string generated for topics which represent results set variables. The final form of the generated names will be {namePrefix}{variable name}.

Specified by:
setVarTopicNamePrefix in interface TologFragmentBuilder
Parameters:
namePrefix - the prefix string used in generating names for the topics which represent results set variables.

setRowAssociationTypeName

public void setRowAssociationTypeName(java.lang.String rowAssocTypeName)
Deprecated. 
Description copied from interface: TologFragmentBuilder
Sets the base name string to be assigned to the topic which types the row associations generated if the convertRowInformation option is set to true.

Specified by:
setRowAssociationTypeName in interface TologFragmentBuilder
Parameters:
rowAssocTypeName - the name assigned to the topic which is used to type associations generated for each row in the results set.

exportResultsSet

public void exportResultsSet(TologResultsSet rs)
                      throws TologFragmentBuilderException
Deprecated. 
Description copied from interface: TologFragmentBuilder
Perform the export with the currently specified export parameters. This method will fail if setFragment() has not been called before calling this method.

Specified by:
exportResultsSet in interface TologFragmentBuilder
Parameters:
rs - the tolog results set to be exported.
Throws:
TologFragmentBuilderException

createRowAssocType

public void createRowAssocType()
                        throws TologFragmentBuilderException
Deprecated. 
Throws:
TologFragmentBuilderException

createRowVariableTopics

public void createRowVariableTopics(TologResultsSet rs)
                             throws TologFragmentBuilderException
Deprecated. 
Throws:
TologFragmentBuilderException

copyRow

public java.util.List copyRow(java.util.List row)
                       throws TologFragmentBuilderException
Deprecated. 
Throws:
TologFragmentBuilderException

createRowAssoc

public void createRowAssoc(java.util.List row)
                    throws TologFragmentBuilderException
Deprecated. 
Throws:
TologFragmentBuilderException