com.facetmap.sql
Class CompoundLinearFacet
java.lang.Object
com.facetmap.simple.SimpleCompoundHeadingFacet
com.facetmap.sql.CompoundLinearFacet
- All Implemented Interfaces:
- CompoundHeadingFacet, Facet, SqlFacet
public class CompoundLinearFacet
- extends SimpleCompoundHeadingFacet
- implements SqlFacet
| Nested classes/interfaces inherited from interface com.facetmap.Facet |
Facet.Util |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
linearFacet
protected final LinearFacet linearFacet
facetIndex
protected int facetIndex
sqlFacetSpace
protected SqlFacetSpace sqlFacetSpace
tagTableName
protected java.lang.String tagTableName
tagTableAlias
protected java.lang.String tagTableAlias
CompoundLinearFacet
public CompoundLinearFacet(LinearFacet sourceFacet)
getCompoundHeading
public CompoundHeading getCompoundHeading(java.util.List headingList)
- Description copied from class:
SimpleCompoundHeadingFacet
- This is the base factory method in CompoundFacet. It
instantiates a new CompoundHeading. Other factory
methods delegate to this one.
- Overrides:
getCompoundHeading in class SimpleCompoundHeadingFacet
sqlCreate
public void sqlCreate(java.sql.Connection connection,
java.lang.String vendor)
throws java.sql.SQLException
- Specified by:
sqlCreate in interface SqlFacet
- Throws:
java.sql.SQLException
getSqlFacetSpace
public SqlFacetSpace getSqlFacetSpace()
- Specified by:
getSqlFacetSpace in interface SqlFacet
setSqlFacetSpace
public void setSqlFacetSpace(SqlFacetSpace sqlFacetSpace)
- Specified by:
setSqlFacetSpace in interface SqlFacet
getSqlHeading
public Heading getSqlHeading(Heading sourceHeading)
throws UnknownReferenceException
- Description copied from interface:
SqlFacet
- Returns the Heading from this SqlFacet that corresponds to the input
sourceHeading. This is used to rapidly translate true resource headings
to SQL-based resource headings.
If no such heading exists in this SqlFacet (and if it is not correct
behavior to create it), then this method returns null. This method may
throw UnknownReferenceException if the sourceHeading contains
references which do not resolve correctly.
- Specified by:
getSqlHeading in interface SqlFacet
- Throws:
UnknownReferenceException
getTagTableName
public java.lang.String getTagTableName()
setTagTableName
public void setTagTableName(java.lang.String tagTableName)
getTagTableAlias
public java.lang.String getTagTableAlias()
setTagTableAlias
public void setTagTableAlias(java.lang.String tagTableAlias)