org.odata4j.producer.edm
Class MetadataProducer.Context

java.lang.Object
  extended by org.odata4j.producer.edm.MetadataProducer.Context
All Implemented Interfaces:
ExpressionEvaluator.VariableResolver
Enclosing class:
MetadataProducer

protected class MetadataProducer.Context
extends Object
implements ExpressionEvaluator.VariableResolver


Constructor Summary
MetadataProducer.Context(String entitySetName, QueryInfo queryInfo)
           
MetadataProducer.Context(String entitySetName, QueryInfo queryInfo, OEntityKey key)
           
 
Method Summary
 void addEntity(OEntity e)
           
protected  boolean getCustomBoolean(String key, boolean fallback)
           
protected  String getCustomOption(String key)
           
 Locale parseLocale(String lstring)
           
 Object resolveVariable(String path)
           
protected  void setLocale()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetadataProducer.Context

public MetadataProducer.Context(String entitySetName,
                                QueryInfo queryInfo)

MetadataProducer.Context

public MetadataProducer.Context(String entitySetName,
                                QueryInfo queryInfo,
                                OEntityKey key)
Method Detail

addEntity

public void addEntity(OEntity e)

getCustomBoolean

protected final boolean getCustomBoolean(String key,
                                         boolean fallback)

getCustomOption

protected final String getCustomOption(String key)

parseLocale

public Locale parseLocale(String lstring)

resolveVariable

public Object resolveVariable(String path)
Specified by:
resolveVariable in interface ExpressionEvaluator.VariableResolver

setLocale

protected final void setLocale()


http://odata4j.org