org.odata4j.edm
Class EdmStructuralType.Builder<T,TBuilder>

java.lang.Object
  extended by org.odata4j.edm.EdmItem.Builder<T,TBuilder>
      extended by org.odata4j.edm.EdmType.Builder<T,TBuilder>
          extended by org.odata4j.edm.EdmStructuralType.Builder<T,TBuilder>
Direct Known Subclasses:
EdmComplexType.Builder, EdmEntityType.Builder
Enclosing class:
EdmStructuralType

public abstract static class EdmStructuralType.Builder<T,TBuilder>
extends EdmType.Builder<T,TBuilder>

Mutable builder for EdmStructuralType objects.


Field Summary
protected  EdmEntityType baseType
           
protected  Boolean isAbstract
           
protected  String name
           
protected  String namespace
           
protected  List<EdmProperty.Builder> properties
           
 
Constructor Summary
EdmStructuralType.Builder()
           
 
Method Summary
 TBuilder addProperties(EdmProperty.Builder... properties)
           
 TBuilder addProperties(List<EdmProperty.Builder> properties)
           
protected  void fillBuilder(EdmStructuralType structuralType, org.odata4j.edm.EdmItem.BuilderContext context)
           
 EdmProperty.Builder findProperty(String name)
           
 String getFullyQualifiedTypeName()
           
 TBuilder setIsAbstract(Boolean isAbstract)
           
 TBuilder setName(String name)
           
 TBuilder setNamespace(String namespace)
           
 
Methods inherited from class org.odata4j.edm.EdmType.Builder
_build, build, buildImpl
 
Methods inherited from class org.odata4j.edm.EdmItem.Builder
getAnnotations, getDocumentation, setAnnotations, setDocumentation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

baseType

protected EdmEntityType baseType

isAbstract

protected Boolean isAbstract

name

protected String name

namespace

protected String namespace

properties

protected final List<EdmProperty.Builder> properties
Constructor Detail

EdmStructuralType.Builder

public EdmStructuralType.Builder()
Method Detail

addProperties

public TBuilder addProperties(EdmProperty.Builder... properties)

addProperties

public TBuilder addProperties(List<EdmProperty.Builder> properties)

fillBuilder

protected void fillBuilder(EdmStructuralType structuralType,
                           org.odata4j.edm.EdmItem.BuilderContext context)

findProperty

public EdmProperty.Builder findProperty(String name)

getFullyQualifiedTypeName

public String getFullyQualifiedTypeName()

setIsAbstract

public TBuilder setIsAbstract(Boolean isAbstract)

setName

public TBuilder setName(String name)

setNamespace

public TBuilder setNamespace(String namespace)


http://odata4j.org