org.odata4j.edm
Class EdmDataServices.Builder

java.lang.Object
  extended by org.odata4j.edm.EdmDataServices.Builder
Enclosing class:
EdmDataServices

public static class EdmDataServices.Builder
extends Object

Mutable builder for EdmDataServices objects.


Constructor Summary
EdmDataServices.Builder()
           
 
Method Summary
 EdmDataServices.Builder addNamespaces(List<PrefixedNamespace> namespaces)
           
 EdmDataServices.Builder addSchemas(EdmSchema.Builder... schemas)
           
 EdmDataServices.Builder addSchemas(List<EdmSchema.Builder> schemas)
           
 EdmDataServices build()
           
 EdmComplexType.Builder findEdmComplexType(String complexTypeFQName)
           
 EdmEntityType.Builder findEdmEntityType(String fqName)
           
 EdmSchema.Builder findSchema(String namespace)
           
 Iterable<EdmAssociation.Builder> getAssociations()
           
 Iterable<EdmEntityType.Builder> getEntityTypes()
           
 List<EdmSchema.Builder> getSchemas()
           
 EdmType.Builder<?,?> resolveType(String fqTypeName)
           
 EdmDataServices.Builder setVersion(ODataVersion version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EdmDataServices.Builder

public EdmDataServices.Builder()
Method Detail

addNamespaces

public EdmDataServices.Builder addNamespaces(List<PrefixedNamespace> namespaces)

addSchemas

public EdmDataServices.Builder addSchemas(EdmSchema.Builder... schemas)

addSchemas

public EdmDataServices.Builder addSchemas(List<EdmSchema.Builder> schemas)

build

public EdmDataServices build()

findEdmComplexType

public EdmComplexType.Builder findEdmComplexType(String complexTypeFQName)

findEdmEntityType

public EdmEntityType.Builder findEdmEntityType(String fqName)

findSchema

public EdmSchema.Builder findSchema(String namespace)

getAssociations

public Iterable<EdmAssociation.Builder> getAssociations()

getEntityTypes

public Iterable<EdmEntityType.Builder> getEntityTypes()

getSchemas

public List<EdmSchema.Builder> getSchemas()

resolveType

public EdmType.Builder<?,?> resolveType(String fqTypeName)

setVersion

public EdmDataServices.Builder setVersion(ODataVersion version)


http://odata4j.org