public class

EdmComplexType

extends EdmStructuralType
java.lang.Object
   ↳ org.odata4j.edm.EdmItem
     ↳ org.odata4j.edm.EdmType
       ↳ org.odata4j.edm.EdmNonSimpleType
         ↳ org.odata4j.edm.EdmStructuralType
           ↳ org.odata4j.edm.EdmComplexType

Class Overview

A CSDL ComplexType element.

A ComplexType element defines a data structure composed of EdmSimpleType properties or other complex types. A complex type can be a property of an entity type or another complex type. A complex type is similar to an entity type in that a complex type defines data. However, there are some key differences between complex types and entity types:

  • Complex types do not have identities (or keys) and therefore cannot exist independently. Complex types can only exist as properties of entity types or other complex types.
  • Complex types cannot participate in associations. Neither end of an association can be a complex type, and therefore navigation properties cannot be defined for complex types.
  • A complex type property cannot have a null value, though the scalar properties of a complex type may each be set to null.

  • Summary

    Nested Classes
    class EdmComplexType.Builder Mutable builder for EdmComplexType objects. 
    [Expand]
    Inherited Fields
    From class org.odata4j.edm.EdmStructuralType
    From class org.odata4j.edm.EdmType
    From class org.odata4j.edm.EdmItem
    Public Methods
    static EdmComplexType.Builder newBuilder()
    [Expand]
    Inherited Methods
    From class org.odata4j.edm.EdmStructuralType
    From class org.odata4j.edm.EdmNonSimpleType
    From class org.odata4j.edm.EdmType
    From class org.odata4j.edm.EdmItem
    From class java.lang.Object
    From interface org.odata4j.core.Named

    Public Methods

    public static EdmComplexType.Builder newBuilder ()