org.eclipse.lyo.oslc4j.core.annotation
Annotation Type OslcSchema


@Target(value=PACKAGE)
@Retention(value=RUNTIME)
public @interface OslcSchema


Required Element Summary
 OslcNamespaceDefinition[] value
          The namespace mappings for the package.
 
Optional Element Summary
 Class<? extends IOslcCustomNamespaceProvider> customNamespaceProvider
          Any class that implements the IOslcCustomNamespaceProvider.
 

Element Detail

value

public abstract OslcNamespaceDefinition[] value
The namespace mappings for the package.

customNamespaceProvider

public abstract Class<? extends IOslcCustomNamespaceProvider> customNamespaceProvider
Any class that implements the IOslcCustomNamespaceProvider. This must be a concrete implementation and have a public no args constructor.

Returns:
IOslcCustomNamespaceProvider .class is the default value, because this field must not be required and since it is not a concrete implementation of the interface it will be ignored.
Default:
org.eclipse.lyo.oslc4j.core.model.IOslcCustomNamespaceProvider.class


Copyright © 2014. All Rights Reserved.