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

java.lang.Object
  extended by org.outerj.daisy.query.model.Identifier.AbstractIdentifier
      extended by org.outerj.daisy.query.model.Identifier.FieldIdentifier
Enclosing class:
Identifier

public final class Identifier.FieldIdentifier
extends Identifier.AbstractIdentifier


Constructor Summary
Identifier.FieldIdentifier(org.outerj.daisy.repository.schema.FieldType fieldType)
           
 
Method Summary
 int bindPreConditions(java.sql.PreparedStatement stmt, int bindPos)
           
 boolean canTestappliesTo()
           
 java.lang.Object evaluate(org.outerj.daisy.repository.Document document, org.outerj.daisy.repository.Version version)
           
 void generateSqlValueExpr(java.lang.StringBuffer sql, SqlGenerationContext context)
           
 long getfieldTypeId()
           
 java.lang.String getName()
           
 java.lang.Object getOutputValue(org.outerj.daisy.repository.Document document, org.outerj.daisy.repository.Version version)
           
 QValueType getOutputValueType()
           
 java.lang.String getSqlPreConditions(SqlGenerationContext context)
           
 java.lang.String getTitle(java.util.Locale locale)
           
 Identifier getValueCountIdentifier()
           
 QValueType getValueType()
           
 AclConditionViolation isAclAllowed()
           
 boolean isMultiValue()
           
 
Methods inherited from class org.outerj.daisy.query.model.Identifier.AbstractIdentifier
bindValueExpr, isOutputOnly, isSymbolic, translateSymbolic
 
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()

getfieldTypeId

public long getfieldTypeId()

getValueType

public QValueType getValueType()

isMultiValue

public boolean isMultiValue()
Overrides:
isMultiValue in class Identifier.AbstractIdentifier

getValueCountIdentifier

public Identifier getValueCountIdentifier()
Overrides:
getValueCountIdentifier in class Identifier.AbstractIdentifier

evaluate

public java.lang.Object evaluate(org.outerj.daisy.repository.Document document,
                                 org.outerj.daisy.repository.Version version)

getOutputValueType

public QValueType getOutputValueType()

getOutputValue

public java.lang.Object getOutputValue(org.outerj.daisy.repository.Document document,
                                       org.outerj.daisy.repository.Version version)

isAclAllowed

public AclConditionViolation isAclAllowed()
Overrides:
isAclAllowed in class Identifier.AbstractIdentifier

canTestappliesTo

public boolean canTestappliesTo()
Overrides:
canTestappliesTo in class Identifier.AbstractIdentifier

getSqlPreConditions

public java.lang.String getSqlPreConditions(SqlGenerationContext context)
Overrides:
getSqlPreConditions in class Identifier.AbstractIdentifier

generateSqlValueExpr

public void generateSqlValueExpr(java.lang.StringBuffer sql,
                                 SqlGenerationContext context)

bindPreConditions

public int bindPreConditions(java.sql.PreparedStatement stmt,
                             int bindPos)
                      throws java.sql.SQLException
Overrides:
bindPreConditions in class Identifier.AbstractIdentifier
Throws:
java.sql.SQLException

getTitle

public java.lang.String getTitle(java.util.Locale locale)
Overrides:
getTitle in class Identifier.AbstractIdentifier


Copyright © -2012 . All Rights Reserved.