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


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

Annotation for a EDM/CSDL EntitySet element.

EdmEntitySet is the container for entity type instances as described in the OData protocol. The EdmEntitySet annotation defines the annotated class as entity set and must be used in conjunction with an EdmEntityType annotation on a class.


Optional Element Summary
 String container
          Define the container name for the EDM Entity Set.
 String name
          Define the name for the EDM Entity Set.
 

name

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

Returns:
name for the EDM Entity Set
Default:
""

container

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

Returns:
container name for the EDM Entity Set
Default:
""


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