org.outerj.daisy.query.model
Class Identifier.FieldIdentifier

java.lang.Object
  extended byorg.outerj.daisy.query.model.Identifier.FieldIdentifier
All Implemented Interfaces:
org.outerj.daisy.query.model.Identifier.DelegateIdentifier
Enclosing class:
Identifier

public final class Identifier.FieldIdentifier
extends java.lang.Object
implements org.outerj.daisy.query.model.Identifier.DelegateIdentifier


Constructor Summary
Identifier.FieldIdentifier(org.outerj.daisy.repository.schema.FieldType fieldType)
           
 
Method Summary
 int bindSql(java.sql.PreparedStatement stmt, int bindPos)
           
 boolean canTestappliesTo()
           
 void convertLiteral(Literal literal)
           
 void generateSql(java.lang.StringBuffer sql, SqlGenerationContext context)
           
 java.lang.Object getAppliesToValue(long documentType, long collection)
           
 long getfieldTypeId()
           
 java.lang.String getName()
           
 java.lang.Object getOutputValue(org.outerj.daisy.repository.Document document, org.outerj.daisy.repository.Version version)
           
 OutputValueType getOutputValueType()
           
 java.lang.String getTitle(java.util.Locale locale)
           
 java.lang.Object getValue(org.outerj.daisy.repository.Document document)
           
 Identifier getValueCountIdentifier()
           
 org.outerj.daisy.repository.ValueType getValueType()
           
 AclConditionViolation isAclAllowed()
           
 boolean isMultiValue()
           
 boolean isOutputOnly()
           
 boolean isSymbolic()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Identifier.FieldIdentifier

public Identifier.FieldIdentifier(org.outerj.daisy.repository.schema.FieldType fieldType)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface org.outerj.daisy.query.model.Identifier.DelegateIdentifier

getfieldTypeId

public long getfieldTypeId()

getValueType

public org.outerj.daisy.repository.ValueType getValueType()
Specified by:
getValueType in interface org.outerj.daisy.query.model.Identifier.DelegateIdentifier

isMultiValue

public boolean isMultiValue()
Specified by:
isMultiValue in interface org.outerj.daisy.query.model.Identifier.DelegateIdentifier

getValueCountIdentifier

public Identifier getValueCountIdentifier()
Specified by:
getValueCountIdentifier in interface org.outerj.daisy.query.model.Identifier.DelegateIdentifier

getValue

public java.lang.Object getValue(org.outerj.daisy.repository.Document document)
Specified by:
getValue in interface org.outerj.daisy.query.model.Identifier.DelegateIdentifier

getOutputValueType

public OutputValueType getOutputValueType()
Specified by:
getOutputValueType in interface org.outerj.daisy.query.model.Identifier.DelegateIdentifier

getOutputValue

public java.lang.Object getOutputValue(org.outerj.daisy.repository.Document document,
                                       org.outerj.daisy.repository.Version version)
Specified by:
getOutputValue in interface org.outerj.daisy.query.model.Identifier.DelegateIdentifier

isAclAllowed

public AclConditionViolation isAclAllowed()
Specified by:
isAclAllowed in interface org.outerj.daisy.query.model.Identifier.DelegateIdentifier

canTestappliesTo

public boolean canTestappliesTo()
Specified by:
canTestappliesTo in interface org.outerj.daisy.query.model.Identifier.DelegateIdentifier

getAppliesToValue

public java.lang.Object getAppliesToValue(long documentType,
                                          long collection)
Specified by:
getAppliesToValue in interface org.outerj.daisy.query.model.Identifier.DelegateIdentifier

generateSql

public void generateSql(java.lang.StringBuffer sql,
                        SqlGenerationContext context)
Specified by:
generateSql in interface org.outerj.daisy.query.model.Identifier.DelegateIdentifier

bindSql

public int bindSql(java.sql.PreparedStatement stmt,
                   int bindPos)
            throws java.sql.SQLException
Specified by:
bindSql in interface org.outerj.daisy.query.model.Identifier.DelegateIdentifier
Throws:
java.sql.SQLException

isSymbolic

public boolean isSymbolic()
Specified by:
isSymbolic in interface org.outerj.daisy.query.model.Identifier.DelegateIdentifier

convertLiteral

public void convertLiteral(Literal literal)
                    throws QueryException
Specified by:
convertLiteral in interface org.outerj.daisy.query.model.Identifier.DelegateIdentifier
Throws:
QueryException

isOutputOnly

public boolean isOutputOnly()
Specified by:
isOutputOnly in interface org.outerj.daisy.query.model.Identifier.DelegateIdentifier

getTitle

public java.lang.String getTitle(java.util.Locale locale)
Specified by:
getTitle in interface org.outerj.daisy.query.model.Identifier.DelegateIdentifier


Copyright © -2005 . All Rights Reserved.