org.odata4j.edm
Class EdmComplexType
java.lang.Object
org.odata4j.edm.EdmItem
org.odata4j.edm.EdmType
org.odata4j.edm.EdmNonSimpleType
org.odata4j.edm.EdmStructuralType
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)
newBuilder
public static EdmComplexType.Builder newBuilder()
http://odata4j.org