org.odata4j.edm
Class EdmEntityType.Builder

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<EdmEntityType,EdmEntityType.Builder>
              extended by org.odata4j.edm.EdmEntityType.Builder
All Implemented Interfaces:
Named
Enclosing class:
EdmEntityType

public static class EdmEntityType.Builder
extends EdmStructuralType.Builder<EdmEntityType,EdmEntityType.Builder>
implements Named

Mutable builder for EdmEntityType objects.


Field Summary
 
Fields inherited from class org.odata4j.edm.EdmStructuralType.Builder
baseType, isAbstract, name, namespace, properties
 
Constructor Summary
EdmEntityType.Builder()
           
 
Method Summary
 EdmEntityType.Builder addKeys(List<String> keys)
           
 EdmEntityType.Builder addKeys(String... keys)
           
 EdmEntityType.Builder addNavigationProperties(EdmNavigationProperty.Builder... navigationProperties)
           
 EdmEntityType.Builder addNavigationProperties(List<EdmNavigationProperty.Builder> navProperties)
           
 EdmEntityType build()
           
protected  EdmEntityType buildImpl()
           
 Func<EdmEntityType> builtFunc()
           
static Func1<EdmEntityType.Builder,String> func1_getFQAliasName()
           
static Func1<EdmEntityType.Builder,String> func1_getFullyQualifiedTypeName()
           
 String getAlias()
           
 String getFQAliasName()
           
 String getFQBaseTypeName()
           
 String getName()
          Gets the name.
 List<EdmNavigationProperty.Builder> getNavigationProperties()
           
static Predicate1<EdmEntityType.Builder> pred1_hasAlias()
           
 EdmEntityType.Builder setAlias(String alias)
           
 EdmEntityType.Builder setBaseType(EdmEntityType.Builder baseType)
           
 EdmEntityType.Builder setBaseType(String baseTypeName)
           
 EdmEntityType.Builder setHasStream(Boolean hasStream)
           
 
Methods inherited from class org.odata4j.edm.EdmStructuralType.Builder
addProperties, addProperties, fillBuilder, findProperty, getFullyQualifiedTypeName, setIsAbstract, setName, setNamespace
 
Methods inherited from class org.odata4j.edm.EdmType.Builder
_build
 
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
 

Constructor Detail

EdmEntityType.Builder

public EdmEntityType.Builder()
Method Detail

addKeys

public EdmEntityType.Builder addKeys(List<String> keys)

addKeys

public EdmEntityType.Builder addKeys(String... keys)

addNavigationProperties

public EdmEntityType.Builder addNavigationProperties(EdmNavigationProperty.Builder... navigationProperties)

addNavigationProperties

public EdmEntityType.Builder addNavigationProperties(List<EdmNavigationProperty.Builder> navProperties)

build

public EdmEntityType build()
Specified by:
build in class EdmType.Builder<EdmEntityType,EdmEntityType.Builder>

buildImpl

protected EdmEntityType buildImpl()
Specified by:
buildImpl in class EdmType.Builder<EdmEntityType,EdmEntityType.Builder>

builtFunc

public Func<EdmEntityType> builtFunc()

func1_getFQAliasName

public static Func1<EdmEntityType.Builder,String> func1_getFQAliasName()

func1_getFullyQualifiedTypeName

public static Func1<EdmEntityType.Builder,String> func1_getFullyQualifiedTypeName()

getAlias

public String getAlias()

getFQAliasName

public String getFQAliasName()

getFQBaseTypeName

public String getFQBaseTypeName()

getName

public String getName()
Description copied from interface: Named
Gets the name.

Specified by:
getName in interface Named
Returns:
the name

getNavigationProperties

public List<EdmNavigationProperty.Builder> getNavigationProperties()

pred1_hasAlias

public static Predicate1<EdmEntityType.Builder> pred1_hasAlias()

setAlias

public EdmEntityType.Builder setAlias(String alias)

setBaseType

public EdmEntityType.Builder setBaseType(EdmEntityType.Builder baseType)

setBaseType

public EdmEntityType.Builder setBaseType(String baseTypeName)

setHasStream

public EdmEntityType.Builder setHasStream(Boolean hasStream)


http://odata4j.org