protected class

MetadataProducer.Context

extends Object
implements ExpressionEvaluator.VariableResolver
java.lang.Object
   ↳ org.odata4j.producer.edm.MetadataProducer.Context

Summary

Fields
List<OEntity> entities
OEntityKey entityKey
EdmEntitySet entitySet
boolean flatten
Locale locale
PropertyPathHelper pathHelper
QueryInfo queryInfo
private Stack<EdmItem> resolverContext
Public Constructors
MetadataProducer.Context(String entitySetName, QueryInfo queryInfo)
MetadataProducer.Context(String entitySetName, QueryInfo queryInfo, OEntityKey key)
Public Methods
void addEntity(OEntity e)
Locale parseLocale(String lstring)
Object resolveVariable(String path)
Protected Methods
final boolean getCustomBoolean(String key, boolean fallback)
final String getCustomOption(String key)
final void setLocale()
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.odata4j.producer.ExpressionEvaluator.VariableResolver

Fields

List<OEntity> entities

OEntityKey entityKey

EdmEntitySet entitySet

boolean flatten

Locale locale

PropertyPathHelper pathHelper

QueryInfo queryInfo

private Stack<EdmItem> resolverContext

Public Constructors

public MetadataProducer.Context (String entitySetName, QueryInfo queryInfo)

Parameters
entitySetName
queryInfo

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

Parameters
entitySetName
queryInfo
key

Public Methods

public void addEntity (OEntity e)

Parameters
e

public Locale parseLocale (String lstring)

Parameters
lstring

public Object resolveVariable (String path)

Parameters
path

Protected Methods

protected final boolean getCustomBoolean (String key, boolean fallback)

Parameters
key
fallback

protected final String getCustomOption (String key)

Parameters
key

protected final void setLocale ()