org.odata4j.edm
Class EdmCollectionType

java.lang.Object
  extended by org.odata4j.edm.EdmItem
      extended by org.odata4j.edm.EdmType
          extended by org.odata4j.edm.EdmNonSimpleType
              extended by org.odata4j.edm.EdmCollectionType

public class EdmCollectionType
extends EdmNonSimpleType

A CSDL CollectionType element.

The CollectionType element in conceptual schema definition language (CSDL) specifies that a function parameter or function return type is a collection.

See Also:
[msdn] CollectionType Element (CSDL)

Nested Class Summary
static class EdmCollectionType.Builder
          Mutable builder for EdmCollectionType objects.
 
Nested classes/interfaces inherited from class org.odata4j.edm.EdmType
EdmType.DeferredBuilder<T,TBuilder>
 
Constructor Summary
EdmCollectionType(EdmProperty.CollectionKind kind, EdmType itemType)
           
 
Method Summary
 EdmProperty.CollectionKind getCollectionKind()
           
static String getCollectionTypeString(EdmProperty.CollectionKind kind, EdmType itemType)
           
 EdmType getItemType()
           
static EdmCollectionType.Builder newBuilder()
           
 
Methods inherited from class org.odata4j.edm.EdmNonSimpleType
isSimple
 
Methods inherited from class org.odata4j.edm.EdmType
equals, getFullyQualifiedTypeName, getInstanceType, getSimple, hashCode, newDeferredBuilder, toString
 
Methods inherited from class org.odata4j.edm.EdmItem
findAnnotation, getAnnotations, getDocumentation
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EdmCollectionType

public EdmCollectionType(EdmProperty.CollectionKind kind,
                         EdmType itemType)
Method Detail

getCollectionKind

public EdmProperty.CollectionKind getCollectionKind()

getCollectionTypeString

public static String getCollectionTypeString(EdmProperty.CollectionKind kind,
                                             EdmType itemType)

getItemType

public EdmType getItemType()

newBuilder

public static EdmCollectionType.Builder newBuilder()


http://odata4j.org