org.odata4j.edm
Class EdmComplexType

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.EdmStructuralType
                  extended by org.odata4j.edm.EdmComplexType
All Implemented Interfaces:
Named

public class EdmComplexType
extends EdmStructuralType

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.

    See Also:
    [msdn] ComplexType Element (CSDL)

    Nested Class Summary
    static class EdmComplexType.Builder
              Mutable builder for EdmComplexType objects.
     
    Nested classes/interfaces inherited from class org.odata4j.edm.EdmType
    EdmType.DeferredBuilder<T,TBuilder>
     
    Method Summary
    static EdmComplexType.Builder newBuilder()
               
     
    Methods inherited from class org.odata4j.edm.EdmStructuralType
    findDeclaredProperty, findProperty, getBaseType, getDeclaredProperties, getIsAbstract, getName, getNamespace, getProperties, isRootType
     
    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
     

    Method Detail

    newBuilder

    public static EdmComplexType.Builder newBuilder()


    http://odata4j.org