org.odata4j.edm
Class EdmSchema.Builder
java.lang.Object
org.odata4j.edm.EdmItem.Builder<EdmSchema,EdmSchema.Builder>
org.odata4j.edm.EdmSchema.Builder
- Enclosing class:
- EdmSchema
public static class EdmSchema.Builder
- extends EdmItem.Builder<EdmSchema,EdmSchema.Builder>
Mutable builder for EdmSchema
objects.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EdmSchema.Builder
public EdmSchema.Builder()
addAssociations
public EdmSchema.Builder addAssociations(Collection<EdmAssociation.Builder> associations)
addComplexTypes
public EdmSchema.Builder addComplexTypes(Collection<EdmComplexType.Builder> complexTypes)
addEntityContainers
public EdmSchema.Builder addEntityContainers(Collection<EdmEntityContainer.Builder> entityContainers)
addEntityContainers
public EdmSchema.Builder addEntityContainers(EdmEntityContainer.Builder... entityContainers)
addEntityTypes
public EdmSchema.Builder addEntityTypes(Collection<EdmEntityType.Builder> entityTypes)
addEntityTypes
public EdmSchema.Builder addEntityTypes(EdmEntityType.Builder... entityTypes)
build
public EdmSchema build()
findEntityContainer
public EdmEntityContainer.Builder findEntityContainer(String name)
getAssociations
public List<EdmAssociation.Builder> getAssociations()
getComplexTypes
public Iterable<EdmComplexType.Builder> getComplexTypes()
getEntityContainers
public List<EdmEntityContainer.Builder> getEntityContainers()
getEntityTypes
public List<EdmEntityType.Builder> getEntityTypes()
getNamespace
public String getNamespace()
setAlias
public EdmSchema.Builder setAlias(String alias)
setNamespace
public EdmSchema.Builder setNamespace(String namespace)
http://odata4j.org