org.apache.olingo.odata2.api.annotation.edm
Annotation Type EdmEntityType


@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface EdmEntityType

Annotation for a EDM/CSDL EntityType element.

EdmEntityType holds a set of related information like EdmPrimitiveType, EdmComplexType and EdmNavigation properties.


Optional Element Summary
 String name
          Define the name for the EDM EntityType.
 String namespace
          Define the namespace for the EDM EntityType.
 

name

public abstract String name
Define the name for the EDM EntityType. If not set a default value has to be generated by the EDM provider.

Returns:
name for the EDM EntityType
Default:
""

namespace

public abstract String namespace
Define the namespace for the EDM EntityType. If not set a default value has to be generated by the EDM provider.

Returns:
namespace for the EDM EntityType
Default:
""


Copyright © 2013-2015 The Apache Software Foundation. All Rights Reserved.