org.odata4j.edm
Class EdmEntitySet.Builder

java.lang.Object
  extended by org.odata4j.edm.EdmItem.Builder<EdmEntitySet,EdmEntitySet.Builder>
      extended by org.odata4j.edm.EdmEntitySet.Builder
All Implemented Interfaces:
Named
Enclosing class:
EdmEntitySet

public static class EdmEntitySet.Builder
extends EdmItem.Builder<EdmEntitySet,EdmEntitySet.Builder>
implements Named

Mutable builder for EdmEntitySet objects.


Field Summary
protected  EdmEntityType.Builder entityType
           
protected  String entityTypeName
           
protected  String name
           
 
Constructor Summary
EdmEntitySet.Builder()
           
 
Method Summary
 EdmEntitySet build()
           
 String getEntityTypeName()
           
 String getName()
          Gets the name.
 EdmEntitySet.Builder setEntityType(EdmEntityType.Builder entityType)
           
 EdmEntitySet.Builder setEntityTypeName(String entityTypeName)
           
 EdmEntitySet.Builder setName(String name)
           
 
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

entityType

protected EdmEntityType.Builder entityType

entityTypeName

protected String entityTypeName

name

protected String name
Constructor Detail

EdmEntitySet.Builder

public EdmEntitySet.Builder()
Method Detail

build

public EdmEntitySet build()

getEntityTypeName

public String getEntityTypeName()

getName

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

Specified by:
getName in interface Named
Returns:
the name

setEntityType

public EdmEntitySet.Builder setEntityType(EdmEntityType.Builder entityType)

setEntityTypeName

public EdmEntitySet.Builder setEntityTypeName(String entityTypeName)

setName

public EdmEntitySet.Builder setName(String name)


http://odata4j.org