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

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

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


Field Summary
static java.lang.String NAME
           
 
Constructor Summary
Identifier.DocumentIdIdentifier()
           
 
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)
           
 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
 

Field Detail

NAME

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

Identifier.DocumentIdIdentifier

public Identifier.DocumentIdIdentifier()
Method Detail

getName

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

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

generateSql

public void generateSql(java.lang.StringBuffer sql,
                        SqlGenerationContext context)
Specified by:
generateSql 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

bindSql

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

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.