diff --git a/.idea/odata.iml b/.idea/odata.iml index e9e7be790..17dae2707 100644 --- a/.idea/odata.iml +++ b/.idea/odata.iml @@ -113,6 +113,7 @@ + diff --git a/.idea/php.xml b/.idea/php.xml index d4b624b8c..5b6cc6f60 100644 --- a/.idea/php.xml +++ b/.idea/php.xml @@ -122,6 +122,12 @@ + + + + + + diff --git a/composer.json b/composer.json index c1017d06d..2812db990 100644 --- a/composer.json +++ b/composer.json @@ -51,7 +51,8 @@ "josiasmontag/laravel-redis-mock": "^1.2", "league/flysystem-vfs": "^1.1", "nunomaduro/collision": "^5.3", - "brianium/paratest": "^6.2" + "brianium/paratest": "^6.2", + "eclipxe/xmlschemavalidator": "^3.0" }, "minimum-stability": "dev", "prefer-stable": true, diff --git a/composer.lock b/composer.lock index 28ed6249f..6c3ba7438 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "27e1312047517c21c518c20b8b280a41", + "content-hash": "df87d39e5807394db9d8c3cc5c3395e3", "packages": [ { "name": "brick/math", @@ -4944,6 +4944,58 @@ ], "time": "2020-11-10T18:47:58+00:00" }, + { + "name": "eclipxe/xmlschemavalidator", + "version": "v3.0.0", + "source": { + "type": "git", + "url": "https://github.com/eclipxe13/XmlSchemaValidator.git", + "reference": "4a5af6b8e854c63bbc58ae161eee9176390a0e85" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/eclipxe13/XmlSchemaValidator/zipball/4a5af6b8e854c63bbc58ae161eee9176390a0e85", + "reference": "4a5af6b8e854c63bbc58ae161eee9176390a0e85", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-libxml": "*", + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.1" + }, + "type": "library", + "autoload": { + "psr-4": { + "Eclipxe\\XmlSchemaValidator\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Carlos C Soto", + "email": "eclipxe13@gmail.com" + } + ], + "description": "PHP Library for XML Schema Validations", + "homepage": "https://github.com/eclipxe13/XmlSchemaValidator", + "keywords": [ + "validation", + "xml", + "xmlschema", + "xsd" + ], + "support": { + "issues": "https://github.com/eclipxe13/XmlSchemaValidator/issues", + "source": "https://github.com/eclipxe13/XmlSchemaValidator" + }, + "time": "2020-04-08T21:55:42+00:00" + }, { "name": "facade/ignition-contracts", "version": "1.0.2", diff --git a/docs/classes/Flat3-Lodata-Annotation-Capabilities-CallbackProtocol.html b/docs/classes/Flat3-Lodata-Annotation-Capabilities-CallbackProtocol.html new file mode 100644 index 000000000..f833db7e4 --- /dev/null +++ b/docs/classes/Flat3-Lodata-Annotation-Capabilities-CallbackProtocol.html @@ -0,0 +1,1923 @@ + + + + + Lodata + + + + + + + + + + + + + + + + + + +
+

Lodata

+ + + + + +
+ +
+
+ + + + +
+ + +
+

+ CallbackProtocol + + + extends ComplexType + + + + +

+ + + +

Complex Type

+ +
+ + + + + + + + +

+ Table of Contents + +

+ +
+
+ HTTP + +  = 'http' +
+
+ +
+ Id + +  = 'Id' +
+
+ +
+ identifier + +  = 'Edm.ComplexType' +
+
+ +
+ __callStatic() + +  : PrimitiveType +
+
Generate a new type container
+ +
+ __construct() + +  : mixed +
+
ComplexType constructor.
+ +
+ addDeclaredProperty() + +  : $this +
+
Create and add a declared property
+ +
+ addProperty() + +  : $this +
+
Add a property
+ +
+ binary() + +  : +
+
+ +
+ boolean() + +  : +
+
+ +
+ byte() + +  : +
+
+ +
+ collection() + +  : +
+
+ +
+ date() + +  : +
+
+ +
+ datetimeoffset() + +  : +
+
+ +
+ decimal() + +  : +
+
+ +
+ double() + +  : +
+
+ +
+ dropProperty() + +  : $this +
+
Drop a property
+ +
+ duration() + +  : +
+
+ +
+ factory() + +  : ComplexType +
+
Generate a new complex type
+ +
+ getContextUrl() + +  : string +
+
Get the context URL for this type
+ +
+ getDeclaredProperties() + +  : ObjectArray|array<string|int, DeclaredProperty> +
+
Get all declared properties on this type
+ +
+ getDeclaredProperty() + +  : DeclaredProperty|null +
+
Get a declared property by name from this type
+ +
+ getGeneratedProperties() + +  : ObjectArray +
+
Get all generated properties on this type
+ +
+ getGeneratedProperty() + +  : GeneratedProperty|null +
+
Get a generated property by name from this type
+ +
+ getNavigationProperties() + +  : ObjectArray|array<string|int, NavigationProperty> +
+
Get all navigation properties defined on this type
+ +
+ getNavigationProperty() + +  : NavigationProperty|null +
+
Get a navigation property by name from this type
+ +
+ getProperties() + +  : ObjectArray +
+
Get all properties defined on this type
+ +
+ getProperty() + +  : Property|null +
+
Get a property by name from this type
+ +
+ getResourceUrl() + +  : string +
+
Get the resource URL for this type
+ +
+ guid() + +  : +
+
+ +
+ instance() + +  : Primitive +
+
Generate a new primitive instance of this type from the provided value
+ +
+ int16() + +  : +
+
+ +
+ int32() + +  : +
+
+ +
+ int64() + +  : +
+
+ +
+ sbyte() + +  : +
+
+ +
+ single() + +  : +
+
+ +
+ stream() + +  : +
+
+ +
+ string() + +  : +
+
+ +
+ timeofday() + +  : +
+
+ +
+ toOpenAPISchema() + +  : array<string|int, mixed> +
+
Render this type as an OpenAPI schema
+ +
+ + + + +
+

+ Constants + +

+
+

+ HTTP + +

+ + + + + + public + mixed + HTTP + = 'http' + + + + + + +
+
+

+ Id + +

+ + + + + + public + mixed + Id + = 'Id' + + + + + + +
+
+

+ identifier + +

+ + + + + + public + mixed + identifier + = 'Edm.ComplexType' + + + + + + +
+
+ + + +
+

+ Methods + +

+
+

+ __callStatic() + +

+ + +

Generate a new type container

+ + + public + static __callStatic(string $name, mixed $arguments) : PrimitiveType + +
+ +
Parameters
+
+
+ $name + : string +
+
+

Type name

+
+ +
+
+ $arguments + : mixed +
+
+ +
+
+ + + +
Return values
+ PrimitiveType + — +

OData primitive type

+
+ + +
+
+

+ __construct() + +

+ + +

ComplexType constructor.

+ + + public + __construct() : mixed + +
+ + + + +
Return values
+ mixed + — +
+ + +
+
+

+ addDeclaredProperty() + +

+ + +

Create and add a declared property

+ + + public + addDeclaredProperty(mixed $name, Type $type) : $this + +
+ +
Parameters
+
+
+ $name + : mixed +
+
+

Property name

+
+ +
+
+ $type + : Type +
+
+

Property type

+
+ +
+
+ + + +
Return values
+ $this + — +
+ + +
+
+

+ addProperty() + +

+ + +

Add a property

+ + + public + addProperty(Property $property) : $this + +
+ +
Parameters
+
+
+ $property + : Property +
+
+

The property to add

+
+ +
+
+ + + +
Return values
+ $this + — +
+ + +
+
+

+ binary() + +

+ + + + + public + static binary() : + +

Binary type

+
+ + + + +
Return values
+ + — +
+ + +
+
+

+ boolean() + +

+ + + + + public + static boolean() : + +

Boolean type

+
+ + + + +
Return values
+ + — +
+ + +
+
+

+ byte() + +

+ + + + + public + static byte() : + +

Byte type

+
+ + + + +
Return values
+ + — +
+ + +
+
+

+ collection() + +

+ + + + + public + static collection() : + +

Collection type

+
+ + + + +
Return values
+ + — +
+ + +
+
+

+ date() + +

+ + + + + public + static date() : + +

Date type

+
+ + + + +
Return values
+ + — +
+ + +
+
+

+ datetimeoffset() + +

+ + + + + public + static datetimeoffset() : + +

DateTimeOffset type

+
+ + + + +
Return values
+ + — +
+ + +
+
+

+ decimal() + +

+ + + + + public + static decimal() : + +

Decimal type

+
+ + + + +
Return values
+ + — +
+ + +
+
+

+ double() + +

+ + + + + public + static double() : + +

Double type

+
+ + + + +
Return values
+ + — +
+ + +
+
+

+ dropProperty() + +

+ + +

Drop a property

+ + + public + dropProperty(mixed $property) : $this + +
+ +
Parameters
+
+
+ $property + : mixed +
+
+

The property to drop

+
+ +
+
+ + + +
Return values
+ $this + — +
+ + +
+
+

+ duration() + +

+ + + + + public + static duration() : + +

Duration type

+
+ + + + +
Return values
+ + — +
+ + +
+
+

+ factory() + +

+ + +

Generate a new complex type

+ + + public + static factory(string|Identifier $identifier) : ComplexType + +
+ +
Parameters
+
+
+ $identifier + : string|Identifier +
+
+
+ +
+
+ + +
+ Tags + +
+
+
+ codeCoverageIgnore +
+
+ +
+ +
+
+ +
Return values
+ ComplexType + — +

Complex Type

+
+ + +
+
+

+ getContextUrl() + +

+ + +

Get the context URL for this type

+ + + public + getContextUrl(Transaction $transaction) : string + +
+ +
Parameters
+
+
+ $transaction + : Transaction +
+
+

Related transaction

+
+ +
+
+ + + +
Return values
+ string + — +

Context URL

+
+ + +
+ +
+

+ getDeclaredProperty() + +

+ + +

Get a declared property by name from this type

+ + + public + getDeclaredProperty(string $property) : DeclaredProperty|null + +
+ +
Parameters
+
+
+ $property + : string +
+
+
+ +
+
+ + + +
Return values
+ DeclaredProperty|null + — +

Declared property

+
+ + +
+
+

+ getGeneratedProperties() + +

+ + +

Get all generated properties on this type

+ + + public + getGeneratedProperties() : ObjectArray + +
+ + + + +
Return values
+ ObjectArray + — +

Generated properties

+
+ + +
+
+

+ getGeneratedProperty() + +

+ + +

Get a generated property by name from this type

+ + + public + getGeneratedProperty(string $property) : GeneratedProperty|null + +
+ +
Parameters
+
+
+ $property + : string +
+
+
+ +
+
+ + + +
Return values
+ GeneratedProperty|null + — +

Generated property

+
+ + +
+ +
+

+ getNavigationProperty() + +

+ + +

Get a navigation property by name from this type

+ + + public + getNavigationProperty(string $property) : NavigationProperty|null + +
+ +
Parameters
+
+
+ $property + : string +
+
+
+ +
+
+ + + +
Return values
+ NavigationProperty|null + — +

Navigation property

+
+ + +
+
+

+ getProperties() + +

+ + +

Get all properties defined on this type

+ + + public + getProperties() : ObjectArray + +
+ + + + +
Return values
+ ObjectArray + — +

Properties

+
+ + +
+
+

+ getProperty() + +

+ + +

Get a property by name from this type

+ + + public + getProperty(string $property) : Property|null + +
+ +
Parameters
+
+
+ $property + : string +
+
+
+ +
+
+ + + +
Return values
+ Property|null + — +

Property

+
+ + +
+
+

+ getResourceUrl() + +

+ + +

Get the resource URL for this type

+ + + public + getResourceUrl(Transaction $transaction) : string + +
+ +
Parameters
+
+
+ $transaction + : Transaction +
+
+

Related transaction

+
+ +
+
+ + + +
Return values
+ string + — +

Resource URL

+
+ + +
+
+

+ guid() + +

+ + + + + public + static guid() : + +

GUID type

+
+ + + + +
Return values
+ + — +
+ + +
+
+

+ instance() + +

+ + +

Generate a new primitive instance of this type from the provided value

+ + + public + abstract instance([mixed|null $value = null ]) : Primitive + +
+ +
Parameters
+
+
+ $value + : mixed|null + = null
+
+

Value

+
+ +
+
+ + + +
Return values
+ Primitive + — +

OData primitive

+
+ + +
+
+

+ int16() + +

+ + + + + public + static int16() : + +

Int16 type

+
+ + + + +
Return values
+ + — +
+ + +
+
+

+ int32() + +

+ + + + + public + static int32() : + +

Int32 type

+
+ + + + +
Return values
+ + — +
+ + +
+
+

+ int64() + +

+ + + + + public + static int64() : + +

Int64 type

+
+ + + + +
Return values
+ + — +
+ + +
+
+

+ sbyte() + +

+ + + + + public + static sbyte() : + +

SByte type

+
+ + + + +
Return values
+ + — +
+ + +
+
+

+ single() + +

+ + + + + public + static single() : + +

Single type

+
+ + + + +
Return values
+ + — +
+ + +
+
+

+ stream() + +

+ + + + + public + static stream() : + +

Stream type

+
+ + + + +
Return values
+ + — +
+ + +
+
+

+ string() + +

+ + + + + public + static string() : + +

String type

+
+ + + + +
Return values
+ + — +
+ + +
+
+

+ timeofday() + +

+ + + + + public + static timeofday() : + +

TimeOfDay type

+
+ + + + +
Return values
+ + — +
+ + +
+
+

+ toOpenAPISchema() + +

+ + +

Render this type as an OpenAPI schema

+ + + public + abstract toOpenAPISchema() : array<string|int, mixed> + +
+ + + + +
Return values
+ array<string|int, mixed> + — +
+ + +
+
+ +
+
+
+
+

Search results

+ +
+
+
    +
    +
    +
    +
    +
    + + +
    + + + + + + + diff --git a/docs/classes/Flat3-Lodata-Annotation-Capabilities-CallbackType.html b/docs/classes/Flat3-Lodata-Annotation-Capabilities-CallbackType.html new file mode 100644 index 000000000..c6fcd66b5 --- /dev/null +++ b/docs/classes/Flat3-Lodata-Annotation-Capabilities-CallbackType.html @@ -0,0 +1,1891 @@ + + + + + Lodata + + + + + + + + + + + + + + + + + + +
    +

    Lodata

    + + + + + +
    + +
    +
    + + + + +
    + + +
    +

    + CallbackType + + + extends ComplexType + + + + +

    + + + +

    Complex Type

    + +
    + + + + + + + + +

    + Table of Contents + +

    + +
    +
    + CallbackProtocols + +  = 'CallbackProtocols' +
    +
    + +
    + identifier + +  = 'Edm.ComplexType' +
    +
    + +
    + __callStatic() + +  : PrimitiveType +
    +
    Generate a new type container
    + +
    + __construct() + +  : mixed +
    +
    ComplexType constructor.
    + +
    + addDeclaredProperty() + +  : $this +
    +
    Create and add a declared property
    + +
    + addProperty() + +  : $this +
    +
    Add a property
    + +
    + binary() + +  : +
    +
    + +
    + boolean() + +  : +
    +
    + +
    + byte() + +  : +
    +
    + +
    + collection() + +  : +
    +
    + +
    + date() + +  : +
    +
    + +
    + datetimeoffset() + +  : +
    +
    + +
    + decimal() + +  : +
    +
    + +
    + double() + +  : +
    +
    + +
    + dropProperty() + +  : $this +
    +
    Drop a property
    + +
    + duration() + +  : +
    +
    + +
    + factory() + +  : ComplexType +
    +
    Generate a new complex type
    + +
    + getContextUrl() + +  : string +
    +
    Get the context URL for this type
    + +
    + getDeclaredProperties() + +  : ObjectArray|array<string|int, DeclaredProperty> +
    +
    Get all declared properties on this type
    + +
    + getDeclaredProperty() + +  : DeclaredProperty|null +
    +
    Get a declared property by name from this type
    + +
    + getGeneratedProperties() + +  : ObjectArray +
    +
    Get all generated properties on this type
    + +
    + getGeneratedProperty() + +  : GeneratedProperty|null +
    +
    Get a generated property by name from this type
    + +
    + getNavigationProperties() + +  : ObjectArray|array<string|int, NavigationProperty> +
    +
    Get all navigation properties defined on this type
    + +
    + getNavigationProperty() + +  : NavigationProperty|null +
    +
    Get a navigation property by name from this type
    + +
    + getProperties() + +  : ObjectArray +
    +
    Get all properties defined on this type
    + +
    + getProperty() + +  : Property|null +
    +
    Get a property by name from this type
    + +
    + getResourceUrl() + +  : string +
    +
    Get the resource URL for this type
    + +
    + guid() + +  : +
    +
    + +
    + instance() + +  : Primitive +
    +
    Generate a new primitive instance of this type from the provided value
    + +
    + int16() + +  : +
    +
    + +
    + int32() + +  : +
    +
    + +
    + int64() + +  : +
    +
    + +
    + sbyte() + +  : +
    +
    + +
    + single() + +  : +
    +
    + +
    + stream() + +  : +
    +
    + +
    + string() + +  : +
    +
    + +
    + timeofday() + +  : +
    +
    + +
    + toOpenAPISchema() + +  : array<string|int, mixed> +
    +
    Render this type as an OpenAPI schema
    + +
    + + + + +
    +

    + Constants + +

    +
    +

    + CallbackProtocols + +

    + + + + + + public + mixed + CallbackProtocols + = 'CallbackProtocols' + + + + + + +
    +
    +

    + identifier + +

    + + + + + + public + mixed + identifier + = 'Edm.ComplexType' + + + + + + +
    +
    + + + +
    +

    + Methods + +

    +
    +

    + __callStatic() + +

    + + +

    Generate a new type container

    + + + public + static __callStatic(string $name, mixed $arguments) : PrimitiveType + +
    + +
    Parameters
    +
    +
    + $name + : string +
    +
    +

    Type name

    +
    + +
    +
    + $arguments + : mixed +
    +
    + +
    +
    + + + +
    Return values
    + PrimitiveType + — +

    OData primitive type

    +
    + + +
    +
    +

    + __construct() + +

    + + +

    ComplexType constructor.

    + + + public + __construct() : mixed + +
    + + + + +
    Return values
    + mixed + — +
    + + +
    +
    +

    + addDeclaredProperty() + +

    + + +

    Create and add a declared property

    + + + public + addDeclaredProperty(mixed $name, Type $type) : $this + +
    + +
    Parameters
    +
    +
    + $name + : mixed +
    +
    +

    Property name

    +
    + +
    +
    + $type + : Type +
    +
    +

    Property type

    +
    + +
    +
    + + + +
    Return values
    + $this + — +
    + + +
    +
    +

    + addProperty() + +

    + + +

    Add a property

    + + + public + addProperty(Property $property) : $this + +
    + +
    Parameters
    +
    +
    + $property + : Property +
    +
    +

    The property to add

    +
    + +
    +
    + + + +
    Return values
    + $this + — +
    + + +
    +
    +

    + binary() + +

    + + + + + public + static binary() : + +

    Binary type

    +
    + + + + +
    Return values
    + + — +
    + + +
    +
    +

    + boolean() + +

    + + + + + public + static boolean() : + +

    Boolean type

    +
    + + + + +
    Return values
    + + — +
    + + +
    +
    +

    + byte() + +

    + + + + + public + static byte() : + +

    Byte type

    +
    + + + + +
    Return values
    + + — +
    + + +
    +
    +

    + collection() + +

    + + + + + public + static collection() : + +

    Collection type

    +
    + + + + +
    Return values
    + + — +
    + + +
    +
    +

    + date() + +

    + + + + + public + static date() : + +

    Date type

    +
    + + + + +
    Return values
    + + — +
    + + +
    +
    +

    + datetimeoffset() + +

    + + + + + public + static datetimeoffset() : + +

    DateTimeOffset type

    +
    + + + + +
    Return values
    + + — +
    + + +
    +
    +

    + decimal() + +

    + + + + + public + static decimal() : + +

    Decimal type

    +
    + + + + +
    Return values
    + + — +
    + + +
    +
    +

    + double() + +

    + + + + + public + static double() : + +

    Double type

    +
    + + + + +
    Return values
    + + — +
    + + +
    +
    +

    + dropProperty() + +

    + + +

    Drop a property

    + + + public + dropProperty(mixed $property) : $this + +
    + +
    Parameters
    +
    +
    + $property + : mixed +
    +
    +

    The property to drop

    +
    + +
    +
    + + + +
    Return values
    + $this + — +
    + + +
    +
    +

    + duration() + +

    + + + + + public + static duration() : + +

    Duration type

    +
    + + + + +
    Return values
    + + — +
    + + +
    +
    +

    + factory() + +

    + + +

    Generate a new complex type

    + + + public + static factory(string|Identifier $identifier) : ComplexType + +
    + +
    Parameters
    +
    +
    + $identifier + : string|Identifier +
    +
    +
    + +
    +
    + + +
    + Tags + +
    +
    +
    + codeCoverageIgnore +
    +
    + +
    + +
    +
    + +
    Return values
    + ComplexType + — +

    Complex Type

    +
    + + +
    +
    +

    + getContextUrl() + +

    + + +

    Get the context URL for this type

    + + + public + getContextUrl(Transaction $transaction) : string + +
    + +
    Parameters
    +
    +
    + $transaction + : Transaction +
    +
    +

    Related transaction

    +
    + +
    +
    + + + +
    Return values
    + string + — +

    Context URL

    +
    + + +
    + +
    +

    + getDeclaredProperty() + +

    + + +

    Get a declared property by name from this type

    + + + public + getDeclaredProperty(string $property) : DeclaredProperty|null + +
    + +
    Parameters
    +
    +
    + $property + : string +
    +
    +
    + +
    +
    + + + +
    Return values
    + DeclaredProperty|null + — +

    Declared property

    +
    + + +
    +
    +

    + getGeneratedProperties() + +

    + + +

    Get all generated properties on this type

    + + + public + getGeneratedProperties() : ObjectArray + +
    + + + + +
    Return values
    + ObjectArray + — +

    Generated properties

    +
    + + +
    +
    +

    + getGeneratedProperty() + +

    + + +

    Get a generated property by name from this type

    + + + public + getGeneratedProperty(string $property) : GeneratedProperty|null + +
    + +
    Parameters
    +
    +
    + $property + : string +
    +
    +
    + +
    +
    + + + +
    Return values
    + GeneratedProperty|null + — +

    Generated property

    +
    + + +
    + +
    +

    + getNavigationProperty() + +

    + + +

    Get a navigation property by name from this type

    + + + public + getNavigationProperty(string $property) : NavigationProperty|null + +
    + +
    Parameters
    +
    +
    + $property + : string +
    +
    +
    + +
    +
    + + + +
    Return values
    + NavigationProperty|null + — +

    Navigation property

    +
    + + +
    +
    +

    + getProperties() + +

    + + +

    Get all properties defined on this type

    + + + public + getProperties() : ObjectArray + +
    + + + + +
    Return values
    + ObjectArray + — +

    Properties

    +
    + + +
    +
    +

    + getProperty() + +

    + + +

    Get a property by name from this type

    + + + public + getProperty(string $property) : Property|null + +
    + +
    Parameters
    +
    +
    + $property + : string +
    +
    +
    + +
    +
    + + + +
    Return values
    + Property|null + — +

    Property

    +
    + + +
    +
    +

    + getResourceUrl() + +

    + + +

    Get the resource URL for this type

    + + + public + getResourceUrl(Transaction $transaction) : string + +
    + +
    Parameters
    +
    +
    + $transaction + : Transaction +
    +
    +

    Related transaction

    +
    + +
    +
    + + + +
    Return values
    + string + — +

    Resource URL

    +
    + + +
    +
    +

    + guid() + +

    + + + + + public + static guid() : + +

    GUID type

    +
    + + + + +
    Return values
    + + — +
    + + +
    +
    +

    + instance() + +

    + + +

    Generate a new primitive instance of this type from the provided value

    + + + public + abstract instance([mixed|null $value = null ]) : Primitive + +
    + +
    Parameters
    +
    +
    + $value + : mixed|null + = null
    +
    +

    Value

    +
    + +
    +
    + + + +
    Return values
    + Primitive + — +

    OData primitive

    +
    + + +
    +
    +

    + int16() + +

    + + + + + public + static int16() : + +

    Int16 type

    +
    + + + + +
    Return values
    + + — +
    + + +
    +
    +

    + int32() + +

    + + + + + public + static int32() : + +

    Int32 type

    +
    + + + + +
    Return values
    + + — +
    + + +
    +
    +

    + int64() + +

    + + + + + public + static int64() : + +

    Int64 type

    +
    + + + + +
    Return values
    + + — +
    + + +
    +
    +

    + sbyte() + +

    + + + + + public + static sbyte() : + +

    SByte type

    +
    + + + + +
    Return values
    + + — +
    + + +
    +
    +

    + single() + +

    + + + + + public + static single() : + +

    Single type

    +
    + + + + +
    Return values
    + + — +
    + + +
    +
    +

    + stream() + +

    + + + + + public + static stream() : + +

    Stream type

    +
    + + + + +
    Return values
    + + — +
    + + +
    +
    +

    + string() + +

    + + + + + public + static string() : + +

    String type

    +
    + + + + +
    Return values
    + + — +
    + + +
    +
    +

    + timeofday() + +

    + + + + + public + static timeofday() : + +

    TimeOfDay type

    +
    + + + + +
    Return values
    + + — +
    + + +
    +
    +

    + toOpenAPISchema() + +

    + + +

    Render this type as an OpenAPI schema

    + + + public + abstract toOpenAPISchema() : array<string|int, mixed> + +
    + + + + +
    Return values
    + array<string|int, mixed> + — +
    + + +
    +
    + +
    +
    +
    +
    +

    Search results

    + +
    +
    +
      +
      +
      +
      +
      +
      + + +
      + + + + + + + diff --git a/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-AsynchronousRequestsSupported.html b/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-AsynchronousRequestsSupported.html index 75d226b56..b105ab6ac 100644 --- a/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-AsynchronousRequestsSupported.html +++ b/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-AsynchronousRequestsSupported.html @@ -149,6 +149,13 @@

      Append the annotation to the provided schema element
      +
      + appendJsonValue() + +  : mixed +
      +
      Append a JSON annotation value
      +
      appendXml() @@ -177,6 +184,20 @@

      Get the value of this annotation suitable for JSON
      +
      + appendXmlRecord() + +  : mixed +
      +
      Append the record to the element
      + +
      + appendXmlValue() + +  : mixed +
      +
      Append the value to the annotation element
      + @@ -333,6 +354,51 @@

      Return values
      + +
      +

      + appendJsonValue() + +

      + + +

      Append a JSON annotation value

      + + + public + appendJsonValue( $value) : mixed + +
      + +
      Parameters
      +
      +
      + $value + : +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + +

      Get the model annotation represented by this class

      @@ -426,7 +492,7 @@

      Get the value of the annotation

      @@ -460,7 +526,7 @@

      Get the value of this annotation suitable for JSON

      @@ -474,6 +540,112 @@

      +

      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlRecord() + +

      + + +

      Append the record to the element

      + + + protected + appendXmlRecord(SimpleXMLElement $element, Record $record) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $record + : Record +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlValue() + +

      + + +

      Append the value to the annotation element

      + + + protected + appendXmlValue(SimpleXMLElement $element,  $value) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $value + : +
      +
      +
      + +
      +
      + + +
      Return values
      mixed — diff --git a/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-BatchSupport.html b/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-BatchSupport.html index ab82224f4..73ef444d7 100644 --- a/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-BatchSupport.html +++ b/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-BatchSupport.html @@ -149,6 +149,13 @@

      Append the annotation to the provided schema element
      +
      + appendJsonValue() + +  : mixed +
      +
      Append a JSON annotation value
      +
      appendXml() @@ -177,6 +184,20 @@

      Get the value of this annotation suitable for JSON
      +
      + appendXmlRecord() + +  : mixed +
      +
      Append the record to the element
      + +
      + appendXmlValue() + +  : mixed +
      +
      Append the value to the annotation element
      + @@ -333,6 +354,51 @@

      Return values
      +
      +
      +

      + appendJsonValue() + +

      + + +

      Append a JSON annotation value

      + + + public + appendJsonValue( $value) : mixed + +
      + +
      Parameters
      +
      +
      + $value + : +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + +

      Get the model annotation represented by this class

      @@ -426,7 +492,7 @@

      Get the value of the annotation

      @@ -460,7 +526,7 @@

      Get the value of this annotation suitable for JSON

      @@ -474,6 +540,112 @@

      +

      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlRecord() + +

      + + +

      Append the record to the element

      + + + protected + appendXmlRecord(SimpleXMLElement $element, Record $record) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $record + : Record +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlValue() + +

      + + +

      Append the value to the annotation element

      + + + protected + appendXmlValue(SimpleXMLElement $element,  $value) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $value + : +
      +
      +
      + +
      +
      + + +
      Return values
      mixed — diff --git a/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-BatchSupported.html b/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-BatchSupported.html index 21a3bc396..70eac8497 100644 --- a/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-BatchSupported.html +++ b/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-BatchSupported.html @@ -149,6 +149,13 @@

      Append the annotation to the provided schema element
      +
      + appendJsonValue() + +  : mixed +
      +
      Append a JSON annotation value
      +
      appendXml() @@ -177,6 +184,20 @@

      Get the value of this annotation suitable for JSON
      +
      + appendXmlRecord() + +  : mixed +
      +
      Append the record to the element
      + +
      + appendXmlValue() + +  : mixed +
      +
      Append the value to the annotation element
      + @@ -333,6 +354,51 @@

      Return values
      +
      +
      +

      + appendJsonValue() + +

      + + +

      Append a JSON annotation value

      + + + public + appendJsonValue( $value) : mixed + +
      + +
      Parameters
      +
      +
      + $value + : +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + +

      Get the model annotation represented by this class

      @@ -426,7 +492,7 @@

      Get the value of the annotation

      @@ -460,7 +526,7 @@

      Get the value of this annotation suitable for JSON

      @@ -474,6 +540,112 @@

      +

      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlRecord() + +

      + + +

      Append the record to the element

      + + + protected + appendXmlRecord(SimpleXMLElement $element, Record $record) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $record + : Record +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlValue() + +

      + + +

      Append the value to the annotation element

      + + + protected + appendXmlValue(SimpleXMLElement $element,  $value) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $value + : +
      +
      +
      + +
      +
      + + +
      Return values
      mixed — diff --git a/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-CallbackSupported.html b/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-CallbackSupported.html index 90bbf1adf..aa64d4048 100644 --- a/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-CallbackSupported.html +++ b/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-CallbackSupported.html @@ -101,7 +101,7 @@

      Callback Supported

      @@ -149,6 +149,13 @@

      Append the annotation to the provided schema element
      +
      + appendJsonValue() + +  : mixed +
      +
      Append a JSON annotation value
      +
      appendXml() @@ -177,6 +184,20 @@

      Get the value of this annotation suitable for JSON
      +
      + appendXmlRecord() + +  : mixed +
      +
      Append the record to the element
      + +
      + appendXmlValue() + +  : mixed +
      +
      Append the value to the annotation element
      + @@ -236,7 +257,7 @@

      @@ -270,7 +291,7 @@

      @@ -333,6 +354,51 @@

      Return values
      +
      +
      +

      + appendJsonValue() + +

      + + +

      Append a JSON annotation value

      + + + public + appendJsonValue( $value) : mixed + +
      + +
      Parameters
      +
      +
      + $value + : +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + +

      Get the model annotation represented by this class

      @@ -426,7 +492,7 @@

      Get the value of the annotation

      @@ -460,7 +526,7 @@

      Get the value of this annotation suitable for JSON

      @@ -474,6 +540,112 @@

      +

      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlRecord() + +

      + + +

      Append the record to the element

      + + + protected + appendXmlRecord(SimpleXMLElement $element, Record $record) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $record + : Record +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlValue() + +

      + + +

      Append the value to the annotation element

      + + + protected + appendXmlValue(SimpleXMLElement $element,  $value) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $value + : +
      +
      +
      + +
      +
      + + +
      Return values
      mixed — diff --git a/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-ConformanceLevel.html b/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-ConformanceLevel.html index 6698255a0..381ac5e49 100644 --- a/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-ConformanceLevel.html +++ b/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-ConformanceLevel.html @@ -149,6 +149,13 @@

      Append the annotation to the provided schema element
      +
      + appendJsonValue() + +  : mixed +
      +
      Append a JSON annotation value
      +
      appendXml() @@ -177,6 +184,20 @@

      Get the value of this annotation suitable for JSON
      +
      + appendXmlRecord() + +  : mixed +
      +
      Append the record to the element
      + +
      + appendXmlValue() + +  : mixed +
      +
      Append the value to the annotation element
      + @@ -333,6 +354,51 @@

      Return values
      +
      +
      +

      + appendJsonValue() + +

      + + +

      Append a JSON annotation value

      + + + public + appendJsonValue( $value) : mixed + +
      + +
      Parameters
      +
      +
      + $value + : +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + +

      Get the model annotation represented by this class

      @@ -426,7 +492,7 @@

      Get the value of the annotation

      @@ -460,7 +526,7 @@

      Get the value of this annotation suitable for JSON

      @@ -474,6 +540,112 @@

      +

      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlRecord() + +

      + + +

      Append the record to the element

      + + + protected + appendXmlRecord(SimpleXMLElement $element, Record $record) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $record + : Record +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlValue() + +

      + + +

      Append the value to the annotation element

      + + + protected + appendXmlValue(SimpleXMLElement $element,  $value) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $value + : +
      +
      +
      + +
      +
      + + +
      Return values
      mixed — diff --git a/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-CountRestrictions.html b/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-CountRestrictions.html index 96e16d529..7e5c3d5dd 100644 --- a/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-CountRestrictions.html +++ b/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-CountRestrictions.html @@ -149,6 +149,13 @@

      Append the annotation to the provided schema element
      +
      + appendJsonValue() + +  : mixed +
      +
      Append a JSON annotation value
      +
      appendXml() @@ -184,6 +191,20 @@

      Get the value of this annotation suitable for JSON
      +
      + appendXmlRecord() + +  : mixed +
      +
      Append the record to the element
      + +
      + appendXmlValue() + +  : mixed +
      +
      Append the value to the annotation element
      + @@ -340,6 +361,51 @@

      Return values
      +
      +
      +

      + appendJsonValue() + +

      + + +

      Append a JSON annotation value

      + + + public + appendJsonValue( $value) : mixed + +
      + +
      Parameters
      +
      +
      + $value + : +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + +

      Get the model annotation represented by this class

      @@ -433,7 +499,7 @@

      Get the value of the annotation

      @@ -509,7 +575,7 @@

      Get the value of this annotation suitable for JSON

      @@ -523,6 +589,112 @@

      +

      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlRecord() + +

      + + +

      Append the record to the element

      + + + protected + appendXmlRecord(SimpleXMLElement $element, Record $record) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $record + : Record +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlValue() + +

      + + +

      Append the value to the annotation element

      + + + protected + appendXmlValue(SimpleXMLElement $element,  $value) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $value + : +
      +
      +
      + +
      +
      + + +
      Return values
      mixed — diff --git a/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-DeepInsertSupport.html b/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-DeepInsertSupport.html index 8faa57dab..52a3586ae 100644 --- a/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-DeepInsertSupport.html +++ b/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-DeepInsertSupport.html @@ -149,6 +149,13 @@

      Append the annotation to the provided schema element
      +
      + appendJsonValue() + +  : mixed +
      +
      Append a JSON annotation value
      +
      appendXml() @@ -191,6 +198,20 @@

      Get the value of this annotation suitable for JSON
      +
      + appendXmlRecord() + +  : mixed +
      +
      Append the record to the element
      + +
      + appendXmlValue() + +  : mixed +
      +
      Append the value to the annotation element
      + @@ -347,6 +368,51 @@

      Return values
      +
      +
      +

      + appendJsonValue() + +

      + + +

      Append a JSON annotation value

      + + + public + appendJsonValue( $value) : mixed + +
      + +
      Parameters
      +
      +
      + $value + : +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + +

      Get the model annotation represented by this class

      @@ -440,7 +506,7 @@

      Get the value of the annotation

      @@ -558,7 +624,7 @@

      Get the value of this annotation suitable for JSON

      @@ -572,6 +638,112 @@

      +

      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlRecord() + +

      + + +

      Append the record to the element

      + + + protected + appendXmlRecord(SimpleXMLElement $element, Record $record) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $record + : Record +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlValue() + +

      + + +

      Append the value to the annotation element

      + + + protected + appendXmlValue(SimpleXMLElement $element,  $value) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $value + : +
      +
      +
      + +
      +
      + + +
      Return values
      mixed — diff --git a/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-DeleteRestrictions.html b/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-DeleteRestrictions.html index 4b0a52661..4023e928d 100644 --- a/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-DeleteRestrictions.html +++ b/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-DeleteRestrictions.html @@ -149,6 +149,13 @@

      Append the annotation to the provided schema element
      +
      + appendJsonValue() + +  : mixed +
      +
      Append a JSON annotation value
      +
      appendXml() @@ -184,6 +191,20 @@

      Get the value of this annotation suitable for JSON
      +
      + appendXmlRecord() + +  : mixed +
      +
      Append the record to the element
      + +
      + appendXmlValue() + +  : mixed +
      +
      Append the value to the annotation element
      + @@ -340,6 +361,51 @@

      Return values
      +
      +
      +

      + appendJsonValue() + +

      + + +

      Append a JSON annotation value

      + + + public + appendJsonValue( $value) : mixed + +
      + +
      Parameters
      +
      +
      + $value + : +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + +

      Get the model annotation represented by this class

      @@ -433,7 +499,7 @@

      Get the value of the annotation

      @@ -509,7 +575,7 @@

      Get the value of this annotation suitable for JSON

      @@ -523,6 +589,112 @@

      +

      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlRecord() + +

      + + +

      Append the record to the element

      + + + protected + appendXmlRecord(SimpleXMLElement $element, Record $record) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $record + : Record +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlValue() + +

      + + +

      Append the value to the annotation element

      + + + protected + appendXmlValue(SimpleXMLElement $element,  $value) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $value + : +
      +
      +
      + +
      +
      + + +
      Return values
      mixed — diff --git a/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-ExpandRestrictions.html b/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-ExpandRestrictions.html index 251020af9..baa40e79d 100644 --- a/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-ExpandRestrictions.html +++ b/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-ExpandRestrictions.html @@ -149,6 +149,13 @@

      Append the annotation to the provided schema element
      +
      + appendJsonValue() + +  : mixed +
      +
      Append a JSON annotation value
      +
      appendXml() @@ -184,6 +191,20 @@

      Get the value of this annotation suitable for JSON
      +
      + appendXmlRecord() + +  : mixed +
      +
      Append the record to the element
      + +
      + appendXmlValue() + +  : mixed +
      +
      Append the value to the annotation element
      + @@ -340,6 +361,51 @@

      Return values
      +
      +
      +

      + appendJsonValue() + +

      + + +

      Append a JSON annotation value

      + + + public + appendJsonValue( $value) : mixed + +
      + +
      Parameters
      +
      +
      + $value + : +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + +

      Get the model annotation represented by this class

      @@ -433,7 +499,7 @@

      Get the value of the annotation

      @@ -509,7 +575,7 @@

      Get the value of this annotation suitable for JSON

      @@ -523,6 +589,112 @@

      +

      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlRecord() + +

      + + +

      Append the record to the element

      + + + protected + appendXmlRecord(SimpleXMLElement $element, Record $record) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $record + : Record +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlValue() + +

      + + +

      Append the value to the annotation element

      + + + protected + appendXmlValue(SimpleXMLElement $element,  $value) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $value + : +
      +
      +
      + +
      +
      + + +
      Return values
      mixed — diff --git a/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-FilterRestrictions.html b/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-FilterRestrictions.html index 9e4f95fc8..3699ec052 100644 --- a/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-FilterRestrictions.html +++ b/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-FilterRestrictions.html @@ -149,6 +149,13 @@

      Append the annotation to the provided schema element
      +
      + appendJsonValue() + +  : mixed +
      +
      Append a JSON annotation value
      +
      appendXml() @@ -184,6 +191,20 @@

      Get the value of this annotation suitable for JSON
      +
      + appendXmlRecord() + +  : mixed +
      +
      Append the record to the element
      + +
      + appendXmlValue() + +  : mixed +
      +
      Append the value to the annotation element
      + @@ -340,6 +361,51 @@

      Return values
      +
      +
      +

      + appendJsonValue() + +

      + + +

      Append a JSON annotation value

      + + + public + appendJsonValue( $value) : mixed + +
      + +
      Parameters
      +
      +
      + $value + : +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + +

      Get the model annotation represented by this class

      @@ -433,7 +499,7 @@

      Get the value of the annotation

      @@ -509,7 +575,7 @@

      Get the value of this annotation suitable for JSON

      @@ -523,6 +589,112 @@

      +

      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlRecord() + +

      + + +

      Append the record to the element

      + + + protected + appendXmlRecord(SimpleXMLElement $element, Record $record) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $record + : Record +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlValue() + +

      + + +

      Append the value to the annotation element

      + + + protected + appendXmlValue(SimpleXMLElement $element,  $value) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $value + : +
      +
      +
      + +
      +
      + + +
      Return values
      mixed — diff --git a/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-IndexableByKey.html b/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-IndexableByKey.html index 7e9e210c0..873d3e2eb 100644 --- a/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-IndexableByKey.html +++ b/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-IndexableByKey.html @@ -149,6 +149,13 @@

      Append the annotation to the provided schema element
      +
      + appendJsonValue() + +  : mixed +
      +
      Append a JSON annotation value
      +
      appendXml() @@ -177,6 +184,20 @@

      Get the value of this annotation suitable for JSON
      +
      + appendXmlRecord() + +  : mixed +
      +
      Append the record to the element
      + +
      + appendXmlValue() + +  : mixed +
      +
      Append the value to the annotation element
      + @@ -333,6 +354,51 @@

      Return values
      +
      +
      +

      + appendJsonValue() + +

      + + +

      Append a JSON annotation value

      + + + public + appendJsonValue( $value) : mixed + +
      + +
      Parameters
      +
      +
      + $value + : +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + +

      Get the model annotation represented by this class

      @@ -426,7 +492,7 @@

      Get the value of the annotation

      @@ -460,7 +526,7 @@

      Get the value of this annotation suitable for JSON

      @@ -474,6 +540,112 @@

      +

      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlRecord() + +

      + + +

      Append the record to the element

      + + + protected + appendXmlRecord(SimpleXMLElement $element, Record $record) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $record + : Record +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlValue() + +

      + + +

      Append the value to the annotation element

      + + + protected + appendXmlValue(SimpleXMLElement $element,  $value) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $value + : +
      +
      +
      + +
      +
      + + +
      Return values
      mixed — diff --git a/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-InsertRestrictions.html b/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-InsertRestrictions.html index e80dd45cf..45f4bea5f 100644 --- a/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-InsertRestrictions.html +++ b/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-InsertRestrictions.html @@ -149,6 +149,13 @@

      Append the annotation to the provided schema element
      +
      + appendJsonValue() + +  : mixed +
      +
      Append a JSON annotation value
      +
      appendXml() @@ -184,6 +191,20 @@

      Get the value of this annotation suitable for JSON
      +
      + appendXmlRecord() + +  : mixed +
      +
      Append the record to the element
      + +
      + appendXmlValue() + +  : mixed +
      +
      Append the value to the annotation element
      + @@ -340,6 +361,51 @@

      Return values
      +
      +
      +

      + appendJsonValue() + +

      + + +

      Append a JSON annotation value

      + + + public + appendJsonValue( $value) : mixed + +
      + +
      Parameters
      +
      +
      + $value + : +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + +

      Get the model annotation represented by this class

      @@ -433,7 +499,7 @@

      Get the value of the annotation

      @@ -509,7 +575,7 @@

      Get the value of this annotation suitable for JSON

      @@ -523,6 +589,112 @@

      +

      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlRecord() + +

      + + +

      Append the record to the element

      + + + protected + appendXmlRecord(SimpleXMLElement $element, Record $record) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $record + : Record +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlValue() + +

      + + +

      Append the value to the annotation element

      + + + protected + appendXmlValue(SimpleXMLElement $element,  $value) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $value + : +
      +
      +
      + +
      +
      + + +
      Return values
      mixed — diff --git a/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-KeyAsSegmentSupported.html b/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-KeyAsSegmentSupported.html index 9b0d55f8b..2b00089da 100644 --- a/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-KeyAsSegmentSupported.html +++ b/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-KeyAsSegmentSupported.html @@ -149,6 +149,13 @@

      Append the annotation to the provided schema element
      +
      + appendJsonValue() + +  : mixed +
      +
      Append a JSON annotation value
      +
      appendXml() @@ -177,6 +184,20 @@

      Get the value of this annotation suitable for JSON
      +
      + appendXmlRecord() + +  : mixed +
      +
      Append the record to the element
      + +
      + appendXmlValue() + +  : mixed +
      +
      Append the value to the annotation element
      + @@ -333,6 +354,51 @@

      Return values
      +
      +
      +

      + appendJsonValue() + +

      + + +

      Append a JSON annotation value

      + + + public + appendJsonValue( $value) : mixed + +
      + +
      Parameters
      +
      +
      + $value + : +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + +

      Get the model annotation represented by this class

      @@ -426,7 +492,7 @@

      Get the value of the annotation

      @@ -460,7 +526,7 @@

      Get the value of this annotation suitable for JSON

      @@ -474,6 +540,112 @@

      +

      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlRecord() + +

      + + +

      Append the record to the element

      + + + protected + appendXmlRecord(SimpleXMLElement $element, Record $record) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $record + : Record +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlValue() + +

      + + +

      Append the value to the annotation element

      + + + protected + appendXmlValue(SimpleXMLElement $element,  $value) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $value + : +
      +
      +
      + +
      +
      + + +
      Return values
      mixed — diff --git a/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-QuerySegmentSupported.html b/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-QuerySegmentSupported.html index 7b91133dd..dc4cbed9a 100644 --- a/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-QuerySegmentSupported.html +++ b/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-QuerySegmentSupported.html @@ -149,6 +149,13 @@

      Append the annotation to the provided schema element
      +
      + appendJsonValue() + +  : mixed +
      +
      Append a JSON annotation value
      +
      appendXml() @@ -177,6 +184,20 @@

      Get the value of this annotation suitable for JSON
      +
      + appendXmlRecord() + +  : mixed +
      +
      Append the record to the element
      + +
      + appendXmlValue() + +  : mixed +
      +
      Append the value to the annotation element
      + @@ -333,6 +354,51 @@

      Return values
      +
      +
      +

      + appendJsonValue() + +

      + + +

      Append a JSON annotation value

      + + + public + appendJsonValue( $value) : mixed + +
      + +
      Parameters
      +
      +
      + $value + : +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + +

      Get the model annotation represented by this class

      @@ -426,7 +492,7 @@

      Get the value of the annotation

      @@ -460,7 +526,7 @@

      Get the value of this annotation suitable for JSON

      @@ -474,6 +540,112 @@

      +

      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlRecord() + +

      + + +

      Append the record to the element

      + + + protected + appendXmlRecord(SimpleXMLElement $element, Record $record) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $record + : Record +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlValue() + +

      + + +

      Append the value to the annotation element

      + + + protected + appendXmlValue(SimpleXMLElement $element,  $value) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $value + : +
      +
      +
      + +
      +
      + + +
      Return values
      mixed — diff --git a/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-ReadRestrictions.html b/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-ReadRestrictions.html index 05fded17c..4a790bb4d 100644 --- a/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-ReadRestrictions.html +++ b/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-ReadRestrictions.html @@ -149,6 +149,13 @@

      Append the annotation to the provided schema element
      +
      + appendJsonValue() + +  : mixed +
      +
      Append a JSON annotation value
      +
      appendXml() @@ -184,6 +191,20 @@

      Get the value of this annotation suitable for JSON
      +
      + appendXmlRecord() + +  : mixed +
      +
      Append the record to the element
      + +
      + appendXmlValue() + +  : mixed +
      +
      Append the value to the annotation element
      + @@ -340,6 +361,51 @@

      Return values
      +
      +
      +

      + appendJsonValue() + +

      + + +

      Append a JSON annotation value

      + + + public + appendJsonValue( $value) : mixed + +
      + +
      Parameters
      +
      +
      + $value + : +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + +

      Get the model annotation represented by this class

      @@ -433,7 +499,7 @@

      Get the value of the annotation

      @@ -509,7 +575,7 @@

      Get the value of this annotation suitable for JSON

      @@ -523,6 +589,112 @@

      +

      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlRecord() + +

      + + +

      Append the record to the element

      + + + protected + appendXmlRecord(SimpleXMLElement $element, Record $record) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $record + : Record +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlValue() + +

      + + +

      Append the value to the annotation element

      + + + protected + appendXmlValue(SimpleXMLElement $element,  $value) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $value + : +
      +
      +
      + +
      +
      + + +
      Return values
      mixed — diff --git a/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-SearchRestrictions.html b/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-SearchRestrictions.html index 4263a16fe..cbac28f7c 100644 --- a/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-SearchRestrictions.html +++ b/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-SearchRestrictions.html @@ -149,6 +149,13 @@

      Append the annotation to the provided schema element
      +
      + appendJsonValue() + +  : mixed +
      +
      Append a JSON annotation value
      +
      appendXml() @@ -184,6 +191,20 @@

      Get the value of this annotation suitable for JSON
      +
      + appendXmlRecord() + +  : mixed +
      +
      Append the record to the element
      + +
      + appendXmlValue() + +  : mixed +
      +
      Append the value to the annotation element
      + @@ -340,6 +361,51 @@

      Return values
      +
      +
      +

      + appendJsonValue() + +

      + + +

      Append a JSON annotation value

      + + + public + appendJsonValue( $value) : mixed + +
      + +
      Parameters
      +
      +
      + $value + : +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + +

      Get the model annotation represented by this class

      @@ -433,7 +499,7 @@

      Get the value of the annotation

      @@ -509,7 +575,7 @@

      Get the value of this annotation suitable for JSON

      @@ -523,6 +589,112 @@

      +

      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlRecord() + +

      + + +

      Append the record to the element

      + + + protected + appendXmlRecord(SimpleXMLElement $element, Record $record) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $record + : Record +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlValue() + +

      + + +

      Append the value to the annotation element

      + + + protected + appendXmlValue(SimpleXMLElement $element,  $value) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $value + : +
      +
      +
      + +
      +
      + + +
      Return values
      mixed — diff --git a/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-SelectSupport.html b/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-SelectSupport.html index 167709193..7c3e9588b 100644 --- a/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-SelectSupport.html +++ b/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-SelectSupport.html @@ -149,6 +149,13 @@

      Append the annotation to the provided schema element
      +
      + appendJsonValue() + +  : mixed +
      +
      Append a JSON annotation value
      +
      appendXml() @@ -184,6 +191,20 @@

      Get the value of this annotation suitable for JSON
      +
      + appendXmlRecord() + +  : mixed +
      +
      Append the record to the element
      + +
      + appendXmlValue() + +  : mixed +
      +
      Append the value to the annotation element
      + @@ -340,6 +361,51 @@

      Return values
      +
      +
      +

      + appendJsonValue() + +

      + + +

      Append a JSON annotation value

      + + + public + appendJsonValue( $value) : mixed + +
      + +
      Parameters
      +
      +
      + $value + : +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + +

      Get the model annotation represented by this class

      @@ -433,7 +499,7 @@

      Get the value of the annotation

      @@ -509,7 +575,7 @@

      Get the value of this annotation suitable for JSON

      @@ -523,6 +589,112 @@

      +

      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlRecord() + +

      + + +

      Append the record to the element

      + + + protected + appendXmlRecord(SimpleXMLElement $element, Record $record) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $record + : Record +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlValue() + +

      + + +

      Append the value to the annotation element

      + + + protected + appendXmlValue(SimpleXMLElement $element,  $value) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $value + : +
      +
      +
      + +
      +
      + + +
      Return values
      mixed — diff --git a/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-SkipSupported.html b/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-SkipSupported.html index fccac0250..b9b222021 100644 --- a/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-SkipSupported.html +++ b/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-SkipSupported.html @@ -149,6 +149,13 @@

      Append the annotation to the provided schema element
      +
      + appendJsonValue() + +  : mixed +
      +
      Append a JSON annotation value
      +
      appendXml() @@ -184,6 +191,20 @@

      Get the value of this annotation suitable for JSON
      +
      + appendXmlRecord() + +  : mixed +
      +
      Append the record to the element
      + +
      + appendXmlValue() + +  : mixed +
      +
      Append the value to the annotation element
      + @@ -340,6 +361,51 @@

      Return values
      +
      +
      +

      + appendJsonValue() + +

      + + +

      Append a JSON annotation value

      + + + public + appendJsonValue( $value) : mixed + +
      + +
      Parameters
      +
      +
      + $value + : +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + +

      Get the model annotation represented by this class

      @@ -433,7 +499,7 @@

      Get the value of the annotation

      @@ -509,7 +575,7 @@

      Get the value of this annotation suitable for JSON

      @@ -523,6 +589,112 @@

      +

      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlRecord() + +

      + + +

      Append the record to the element

      + + + protected + appendXmlRecord(SimpleXMLElement $element, Record $record) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $record + : Record +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlValue() + +

      + + +

      Append the value to the annotation element

      + + + protected + appendXmlValue(SimpleXMLElement $element,  $value) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $value + : +
      +
      +
      + +
      +
      + + +
      Return values
      mixed — diff --git a/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-SortRestrictions.html b/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-SortRestrictions.html index 85049a809..28c2fc427 100644 --- a/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-SortRestrictions.html +++ b/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-SortRestrictions.html @@ -149,6 +149,13 @@

      Append the annotation to the provided schema element
      +
      + appendJsonValue() + +  : mixed +
      +
      Append a JSON annotation value
      +
      appendXml() @@ -184,6 +191,20 @@

      Get the value of this annotation suitable for JSON
      +
      + appendXmlRecord() + +  : mixed +
      +
      Append the record to the element
      + +
      + appendXmlValue() + +  : mixed +
      +
      Append the value to the annotation element
      + @@ -340,6 +361,51 @@

      Return values
      +
      +
      +

      + appendJsonValue() + +

      + + +

      Append a JSON annotation value

      + + + public + appendJsonValue( $value) : mixed + +
      + +
      Parameters
      +
      +
      + $value + : +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + +

      Get the model annotation represented by this class

      @@ -433,7 +499,7 @@

      Get the value of the annotation

      @@ -509,7 +575,7 @@

      Get the value of this annotation suitable for JSON

      @@ -523,6 +589,112 @@

      +

      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlRecord() + +

      + + +

      Append the record to the element

      + + + protected + appendXmlRecord(SimpleXMLElement $element, Record $record) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $record + : Record +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlValue() + +

      + + +

      Append the value to the annotation element

      + + + protected + appendXmlValue(SimpleXMLElement $element,  $value) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $value + : +
      +
      +
      + +
      +
      + + +
      Return values
      mixed — diff --git a/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-SupportedFormats.html b/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-SupportedFormats.html index ab1800da8..610612929 100644 --- a/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-SupportedFormats.html +++ b/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-SupportedFormats.html @@ -149,6 +149,13 @@

      Append the annotation to the provided schema element
      +
      + appendJsonValue() + +  : mixed +
      +
      Append a JSON annotation value
      +
      appendXml() @@ -177,6 +184,20 @@

      Get the value of this annotation suitable for JSON
      +
      + appendXmlRecord() + +  : mixed +
      +
      Append the record to the element
      + +
      + appendXmlValue() + +  : mixed +
      +
      Append the value to the annotation element
      + @@ -333,6 +354,51 @@

      Return values
      +
      +
      +

      + appendJsonValue() + +

      + + +

      Append a JSON annotation value

      + + + public + appendJsonValue( $value) : mixed + +
      + +
      Parameters
      +
      +
      + $value + : +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + +

      Get the model annotation represented by this class

      @@ -426,7 +492,7 @@

      Get the value of the annotation

      @@ -460,7 +526,7 @@

      Get the value of this annotation suitable for JSON

      @@ -474,6 +540,112 @@

      +

      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlRecord() + +

      + + +

      Append the record to the element

      + + + protected + appendXmlRecord(SimpleXMLElement $element, Record $record) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $record + : Record +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlValue() + +

      + + +

      Append the value to the annotation element

      + + + protected + appendXmlValue(SimpleXMLElement $element,  $value) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $value + : +
      +
      +
      + +
      +
      + + +
      Return values
      mixed — diff --git a/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-SupportedMetadataFormats.html b/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-SupportedMetadataFormats.html index ea1ca54cf..e68a267e4 100644 --- a/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-SupportedMetadataFormats.html +++ b/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-SupportedMetadataFormats.html @@ -149,6 +149,13 @@

      Append the annotation to the provided schema element
      +
      + appendJsonValue() + +  : mixed +
      +
      Append a JSON annotation value
      +
      appendXml() @@ -177,6 +184,20 @@

      Get the value of this annotation suitable for JSON
      +
      + appendXmlRecord() + +  : mixed +
      +
      Append the record to the element
      + +
      + appendXmlValue() + +  : mixed +
      +
      Append the value to the annotation element
      + @@ -333,6 +354,51 @@

      Return values
      +
      +
      +

      + appendJsonValue() + +

      + + +

      Append a JSON annotation value

      + + + public + appendJsonValue( $value) : mixed + +
      + +
      Parameters
      +
      +
      + $value + : +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + +

      Get the model annotation represented by this class

      @@ -426,7 +492,7 @@

      Get the value of the annotation

      @@ -460,7 +526,7 @@

      Get the value of this annotation suitable for JSON

      @@ -474,6 +540,112 @@

      +

      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlRecord() + +

      + + +

      Append the record to the element

      + + + protected + appendXmlRecord(SimpleXMLElement $element, Record $record) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $record + : Record +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlValue() + +

      + + +

      Append the value to the annotation element

      + + + protected + appendXmlValue(SimpleXMLElement $element,  $value) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $value + : +
      +
      +
      + +
      +
      + + +
      Return values
      mixed — diff --git a/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-TopSupported.html b/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-TopSupported.html index b53825a86..c7f21008d 100644 --- a/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-TopSupported.html +++ b/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-TopSupported.html @@ -149,6 +149,13 @@

      Append the annotation to the provided schema element
      +
      + appendJsonValue() + +  : mixed +
      +
      Append a JSON annotation value
      +
      appendXml() @@ -184,6 +191,20 @@

      Get the value of this annotation suitable for JSON
      +
      + appendXmlRecord() + +  : mixed +
      +
      Append the record to the element
      + +
      + appendXmlValue() + +  : mixed +
      +
      Append the value to the annotation element
      + @@ -340,6 +361,51 @@

      Return values
      +
      +
      +

      + appendJsonValue() + +

      + + +

      Append a JSON annotation value

      + + + public + appendJsonValue( $value) : mixed + +
      + +
      Parameters
      +
      +
      + $value + : +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + +

      Get the model annotation represented by this class

      @@ -433,7 +499,7 @@

      Get the value of the annotation

      @@ -509,7 +575,7 @@

      Get the value of this annotation suitable for JSON

      @@ -523,6 +589,112 @@

      +

      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlRecord() + +

      + + +

      Append the record to the element

      + + + protected + appendXmlRecord(SimpleXMLElement $element, Record $record) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $record + : Record +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlValue() + +

      + + +

      Append the value to the annotation element

      + + + protected + appendXmlValue(SimpleXMLElement $element,  $value) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $value + : +
      +
      +
      + +
      +
      + + +
      Return values
      mixed — diff --git a/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-UpdateRestrictions.html b/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-UpdateRestrictions.html index cdec7c1e0..5b0f98f4a 100644 --- a/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-UpdateRestrictions.html +++ b/docs/classes/Flat3-Lodata-Annotation-Capabilities-V1-UpdateRestrictions.html @@ -149,6 +149,13 @@

      Append the annotation to the provided schema element
      +
      + appendJsonValue() + +  : mixed +
      +
      Append a JSON annotation value
      +
      appendXml() @@ -191,6 +198,20 @@

      Get the value of this annotation suitable for JSON
      +
      + appendXmlRecord() + +  : mixed +
      +
      Append the record to the element
      + +
      + appendXmlValue() + +  : mixed +
      +
      Append the value to the annotation element
      + @@ -347,6 +368,51 @@

      Return values
      +
      +
      +

      + appendJsonValue() + +

      + + +

      Append a JSON annotation value

      + + + public + appendJsonValue( $value) : mixed + +
      + +
      Parameters
      +
      +
      + $value + : +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + +

      Get the model annotation represented by this class

      @@ -440,7 +506,7 @@

      Get the value of the annotation

      @@ -558,7 +624,7 @@

      Get the value of this annotation suitable for JSON

      @@ -572,6 +638,112 @@

      +

      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlRecord() + +

      + + +

      Append the record to the element

      + + + protected + appendXmlRecord(SimpleXMLElement $element, Record $record) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $record + : Record +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlValue() + +

      + + +

      Append the value to the annotation element

      + + + protected + appendXmlValue(SimpleXMLElement $element,  $value) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $value + : +
      +
      +
      + +
      +
      + + +
      Return values
      mixed — diff --git a/docs/classes/Flat3-Lodata-Annotation-Core-V1-Computed.html b/docs/classes/Flat3-Lodata-Annotation-Core-V1-Computed.html index 9868d5869..d61de5906 100644 --- a/docs/classes/Flat3-Lodata-Annotation-Core-V1-Computed.html +++ b/docs/classes/Flat3-Lodata-Annotation-Core-V1-Computed.html @@ -149,6 +149,13 @@

      Append the annotation to the provided schema element
      +
      + appendJsonValue() + +  : mixed +
      +
      Append a JSON annotation value
      +
      appendXml() @@ -177,6 +184,20 @@

      Get the value of this annotation suitable for JSON
      +
      + appendXmlRecord() + +  : mixed +
      +
      Append the record to the element
      + +
      + appendXmlValue() + +  : mixed +
      +
      Append the value to the annotation element
      + @@ -343,6 +364,51 @@

      Return values
      +
      +
      +

      + appendJsonValue() + +

      + + +

      Append a JSON annotation value

      + + + public + appendJsonValue( $value) : mixed + +
      + +
      Parameters
      +
      +
      + $value + : +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + +

      Get the model annotation represented by this class

      @@ -436,7 +502,7 @@

      Get the value of the annotation

      @@ -470,7 +536,7 @@

      Get the value of this annotation suitable for JSON

      @@ -484,6 +550,112 @@

      +

      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlRecord() + +

      + + +

      Append the record to the element

      + + + protected + appendXmlRecord(SimpleXMLElement $element, Record $record) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $record + : Record +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlValue() + +

      + + +

      Append the value to the annotation element

      + + + protected + appendXmlValue(SimpleXMLElement $element,  $value) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $value + : +
      +
      +
      + +
      +
      + + +
      Return values
      mixed — diff --git a/docs/classes/Flat3-Lodata-Annotation-Core-V1-ConventionalIDs.html b/docs/classes/Flat3-Lodata-Annotation-Core-V1-ConventionalIDs.html index 2ec10188d..3a4f06e21 100644 --- a/docs/classes/Flat3-Lodata-Annotation-Core-V1-ConventionalIDs.html +++ b/docs/classes/Flat3-Lodata-Annotation-Core-V1-ConventionalIDs.html @@ -149,6 +149,13 @@

      Append the annotation to the provided schema element
      +
      + appendJsonValue() + +  : mixed +
      +
      Append a JSON annotation value
      +
      appendXml() @@ -177,6 +184,20 @@

      Get the value of this annotation suitable for JSON
      +
      + appendXmlRecord() + +  : mixed +
      +
      Append the record to the element
      + +
      + appendXmlValue() + +  : mixed +
      +
      Append the value to the annotation element
      + @@ -333,6 +354,51 @@

      Return values
      +
      +
      +

      + appendJsonValue() + +

      + + +

      Append a JSON annotation value

      + + + public + appendJsonValue( $value) : mixed + +
      + +
      Parameters
      +
      +
      + $value + : +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + +

      Get the model annotation represented by this class

      @@ -426,7 +492,7 @@

      Get the value of the annotation

      @@ -460,7 +526,7 @@

      Get the value of this annotation suitable for JSON

      @@ -474,6 +540,112 @@

      +

      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlRecord() + +

      + + +

      Append the record to the element

      + + + protected + appendXmlRecord(SimpleXMLElement $element, Record $record) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $record + : Record +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlValue() + +

      + + +

      Append the value to the annotation element

      + + + protected + appendXmlValue(SimpleXMLElement $element,  $value) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $value + : +
      +
      +
      + +
      +
      + + +
      Return values
      mixed — diff --git a/docs/classes/Flat3-Lodata-Annotation-Core-V1-DefaultNamespace.html b/docs/classes/Flat3-Lodata-Annotation-Core-V1-DefaultNamespace.html index dd6fc6fff..30903f939 100644 --- a/docs/classes/Flat3-Lodata-Annotation-Core-V1-DefaultNamespace.html +++ b/docs/classes/Flat3-Lodata-Annotation-Core-V1-DefaultNamespace.html @@ -149,6 +149,13 @@

      Append the annotation to the provided schema element
      +
      + appendJsonValue() + +  : mixed +
      +
      Append a JSON annotation value
      +
      appendXml() @@ -177,6 +184,20 @@

      Get the value of this annotation suitable for JSON
      +
      + appendXmlRecord() + +  : mixed +
      +
      Append the record to the element
      + +
      + appendXmlValue() + +  : mixed +
      +
      Append the value to the annotation element
      + @@ -333,6 +354,51 @@

      Return values
      +
      +
      +

      + appendJsonValue() + +

      + + +

      Append a JSON annotation value

      + + + public + appendJsonValue( $value) : mixed + +
      + +
      Parameters
      +
      +
      + $value + : +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + +

      Get the model annotation represented by this class

      @@ -426,7 +492,7 @@

      Get the value of the annotation

      @@ -460,7 +526,7 @@

      Get the value of this annotation suitable for JSON

      @@ -474,6 +540,112 @@

      +

      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlRecord() + +

      + + +

      Append the record to the element

      + + + protected + appendXmlRecord(SimpleXMLElement $element, Record $record) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $record + : Record +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlValue() + +

      + + +

      Append the value to the annotation element

      + + + protected + appendXmlValue(SimpleXMLElement $element,  $value) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $value + : +
      +
      +
      + +
      +
      + + +
      Return values
      mixed — diff --git a/docs/classes/Flat3-Lodata-Annotation-Core-V1-DereferencableIDs.html b/docs/classes/Flat3-Lodata-Annotation-Core-V1-DereferencableIDs.html index 744c99fa5..d260c9d06 100644 --- a/docs/classes/Flat3-Lodata-Annotation-Core-V1-DereferencableIDs.html +++ b/docs/classes/Flat3-Lodata-Annotation-Core-V1-DereferencableIDs.html @@ -149,6 +149,13 @@

      Append the annotation to the provided schema element
      +
      + appendJsonValue() + +  : mixed +
      +
      Append a JSON annotation value
      +
      appendXml() @@ -177,6 +184,20 @@

      Get the value of this annotation suitable for JSON
      +
      + appendXmlRecord() + +  : mixed +
      +
      Append the record to the element
      + +
      + appendXmlValue() + +  : mixed +
      +
      Append the value to the annotation element
      + @@ -333,6 +354,51 @@

      Return values
      +
      +
      +

      + appendJsonValue() + +

      + + +

      Append a JSON annotation value

      + + + public + appendJsonValue( $value) : mixed + +
      + +
      Parameters
      +
      +
      + $value + : +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + +

      Get the model annotation represented by this class

      @@ -426,7 +492,7 @@

      Get the value of the annotation

      @@ -460,7 +526,7 @@

      Get the value of this annotation suitable for JSON

      @@ -474,6 +540,112 @@

      +

      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlRecord() + +

      + + +

      Append the record to the element

      + + + protected + appendXmlRecord(SimpleXMLElement $element, Record $record) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $record + : Record +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlValue() + +

      + + +

      Append the value to the annotation element

      + + + protected + appendXmlValue(SimpleXMLElement $element,  $value) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $value + : +
      +
      +
      + +
      +
      + + +
      Return values
      mixed — diff --git a/docs/classes/Flat3-Lodata-Annotation-Core-V1-Description.html b/docs/classes/Flat3-Lodata-Annotation-Core-V1-Description.html index 857df474c..4448864fd 100644 --- a/docs/classes/Flat3-Lodata-Annotation-Core-V1-Description.html +++ b/docs/classes/Flat3-Lodata-Annotation-Core-V1-Description.html @@ -149,6 +149,13 @@

      Append the annotation to the provided schema element
      +
      + appendJsonValue() + +  : mixed +
      +
      Append a JSON annotation value
      +
      appendXml() @@ -177,6 +184,20 @@

      Get the value of this annotation suitable for JSON
      +
      + appendXmlRecord() + +  : mixed +
      +
      Append the record to the element
      + +
      + appendXmlValue() + +  : mixed +
      +
      Append the value to the annotation element
      + @@ -343,6 +364,51 @@

      Return values
      +
      +
      +

      + appendJsonValue() + +

      + + +

      Append a JSON annotation value

      + + + public + appendJsonValue( $value) : mixed + +
      + +
      Parameters
      +
      +
      + $value + : +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + +

      Get the model annotation represented by this class

      @@ -436,7 +502,7 @@

      Get the value of the annotation

      @@ -470,7 +536,7 @@

      Get the value of this annotation suitable for JSON

      @@ -484,6 +550,112 @@

      +

      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlRecord() + +

      + + +

      Append the record to the element

      + + + protected + appendXmlRecord(SimpleXMLElement $element, Record $record) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $record + : Record +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlValue() + +

      + + +

      Append the value to the annotation element

      + + + protected + appendXmlValue(SimpleXMLElement $element,  $value) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $value + : +
      +
      +
      + +
      +
      + + +
      Return values
      mixed — diff --git a/docs/classes/Flat3-Lodata-Annotation-Core-V1-LongDescription.html b/docs/classes/Flat3-Lodata-Annotation-Core-V1-LongDescription.html index bb9b6f10d..ad0c9f6bd 100644 --- a/docs/classes/Flat3-Lodata-Annotation-Core-V1-LongDescription.html +++ b/docs/classes/Flat3-Lodata-Annotation-Core-V1-LongDescription.html @@ -149,6 +149,13 @@

      Append the annotation to the provided schema element
      +
      + appendJsonValue() + +  : mixed +
      +
      Append a JSON annotation value
      +
      appendXml() @@ -177,6 +184,20 @@

      Get the value of this annotation suitable for JSON
      +
      + appendXmlRecord() + +  : mixed +
      +
      Append the record to the element
      + +
      + appendXmlValue() + +  : mixed +
      +
      Append the value to the annotation element
      + @@ -343,6 +364,51 @@

      Return values
      +
      +
      +

      + appendJsonValue() + +

      + + +

      Append a JSON annotation value

      + + + public + appendJsonValue( $value) : mixed + +
      + +
      Parameters
      +
      +
      + $value + : +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + +

      Get the model annotation represented by this class

      @@ -436,7 +502,7 @@

      Get the value of the annotation

      @@ -470,7 +536,7 @@

      Get the value of this annotation suitable for JSON

      @@ -484,6 +550,112 @@

      +

      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlRecord() + +

      + + +

      Append the record to the element

      + + + protected + appendXmlRecord(SimpleXMLElement $element, Record $record) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $record + : Record +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlValue() + +

      + + +

      Append the value to the annotation element

      + + + protected + appendXmlValue(SimpleXMLElement $element,  $value) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $value + : +
      +
      +
      + +
      +
      + + +
      Return values
      mixed — diff --git a/docs/classes/Flat3-Lodata-Annotation-Core-V1-ODataVersions.html b/docs/classes/Flat3-Lodata-Annotation-Core-V1-ODataVersions.html index 01ddbe25b..45403c08f 100644 --- a/docs/classes/Flat3-Lodata-Annotation-Core-V1-ODataVersions.html +++ b/docs/classes/Flat3-Lodata-Annotation-Core-V1-ODataVersions.html @@ -149,6 +149,13 @@

      Append the annotation to the provided schema element
      +
      + appendJsonValue() + +  : mixed +
      +
      Append a JSON annotation value
      +
      appendXml() @@ -177,6 +184,20 @@

      Get the value of this annotation suitable for JSON
      +
      + appendXmlRecord() + +  : mixed +
      +
      Append the record to the element
      + +
      + appendXmlValue() + +  : mixed +
      +
      Append the value to the annotation element
      + @@ -333,6 +354,51 @@

      Return values
      +
      +
      +

      + appendJsonValue() + +

      + + +

      Append a JSON annotation value

      + + + public + appendJsonValue( $value) : mixed + +
      + +
      Parameters
      +
      +
      + $value + : +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + +

      Get the model annotation represented by this class

      @@ -426,7 +492,7 @@

      Get the value of the annotation

      @@ -460,7 +526,7 @@

      Get the value of this annotation suitable for JSON

      @@ -474,6 +540,112 @@

      +

      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlRecord() + +

      + + +

      Append the record to the element

      + + + protected + appendXmlRecord(SimpleXMLElement $element, Record $record) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $record + : Record +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlValue() + +

      + + +

      Append the value to the annotation element

      + + + protected + appendXmlValue(SimpleXMLElement $element,  $value) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $value + : +
      +
      +
      + +
      +
      + + +
      Return values
      mixed — diff --git a/docs/classes/Flat3-Lodata-Annotation-Core-V1-SchemaVersion.html b/docs/classes/Flat3-Lodata-Annotation-Core-V1-SchemaVersion.html index 07a8e71b2..6362c7ba1 100644 --- a/docs/classes/Flat3-Lodata-Annotation-Core-V1-SchemaVersion.html +++ b/docs/classes/Flat3-Lodata-Annotation-Core-V1-SchemaVersion.html @@ -149,6 +149,13 @@

      Append the annotation to the provided schema element
      +
      + appendJsonValue() + +  : mixed +
      +
      Append a JSON annotation value
      +
      appendXml() @@ -177,6 +184,20 @@

      Get the value of this annotation suitable for JSON
      +
      + appendXmlRecord() + +  : mixed +
      +
      Append the record to the element
      + +
      + appendXmlValue() + +  : mixed +
      +
      Append the value to the annotation element
      + @@ -343,6 +364,51 @@

      Return values
      +
      +
      +

      + appendJsonValue() + +

      + + +

      Append a JSON annotation value

      + + + public + appendJsonValue( $value) : mixed + +
      + +
      Parameters
      +
      +
      + $value + : +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + +

      Get the model annotation represented by this class

      @@ -436,7 +502,7 @@

      Get the value of the annotation

      @@ -470,7 +536,7 @@

      Get the value of this annotation suitable for JSON

      @@ -484,6 +550,112 @@

      +

      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlRecord() + +

      + + +

      Append the record to the element

      + + + protected + appendXmlRecord(SimpleXMLElement $element, Record $record) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $record + : Record +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlValue() + +

      + + +

      Append the value to the annotation element

      + + + protected + appendXmlValue(SimpleXMLElement $element,  $value) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $value + : +
      +
      +
      + +
      +
      + + +
      Return values
      mixed — diff --git a/docs/classes/Flat3-Lodata-Annotation.html b/docs/classes/Flat3-Lodata-Annotation.html index fddf299f1..09050a539 100644 --- a/docs/classes/Flat3-Lodata-Annotation.html +++ b/docs/classes/Flat3-Lodata-Annotation.html @@ -142,6 +142,13 @@

      Append the annotation to the provided schema element
      +
      + appendJsonValue() + +  : mixed +
      +
      Append a JSON annotation value
      +
      appendXml() @@ -170,6 +177,20 @@

      Get the value of this annotation suitable for JSON
      +
      + appendXmlRecord() + +  : mixed +
      +
      Append the record to the element
      + +
      + appendXmlValue() + +  : mixed +
      +
      Append the value to the annotation element
      + @@ -258,6 +279,51 @@

      Return values
      +
      +
      +

      + appendJsonValue() + +

      + + +

      Append a JSON annotation value

      + + + public + appendJsonValue( $value) : mixed + +
      + +
      Parameters
      +
      +
      + $value + : +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + +

      Get the model annotation represented by this class

      @@ -351,7 +417,7 @@

      Get the value of the annotation

      @@ -385,7 +451,7 @@

      Get the value of this annotation suitable for JSON

      @@ -399,6 +465,112 @@

      +

      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlRecord() + +

      + + +

      Append the record to the element

      + + + protected + appendXmlRecord(SimpleXMLElement $element, Record $record) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $record + : Record +
      +
      +
      + +
      +
      + + + +
      Return values
      + mixed + — +
      + + +
      +
      +

      + appendXmlValue() + +

      + + +

      Append the value to the annotation element

      + + + protected + appendXmlValue(SimpleXMLElement $element,  $value) : mixed + +
      + +
      Parameters
      +
      +
      + $element + : SimpleXMLElement +
      +
      +
      + +
      +
      + $value + : +
      +
      +
      + +
      +
      + + +
      Return values
      mixed — diff --git a/docs/classes/Flat3-Lodata-Console-ActionCommand.html b/docs/classes/Flat3-Lodata-Console-ActionCommand.html new file mode 100644 index 000000000..5e8f5d856 --- /dev/null +++ b/docs/classes/Flat3-Lodata-Console-ActionCommand.html @@ -0,0 +1,406 @@ + + + + + Lodata + + + + + + + + + + + + + + + + + + +
      +

      Lodata

      + + + + + +
      + +
      +
      + + + + +
      + + +
      +

      + ActionCommand + + + extends ClassCreator + + + + +

      + + + +

      Class ActionCommand

      + +
      + + + + + + + + +

      + Table of Contents + +

      + +
      +
      + $description + +  : mixed +
      +
      + +
      + $name + +  : mixed +
      +
      + +
      + $stub + +  : mixed +
      +
      + +
      + handle() + +  : bool +
      +
      + +
      + getDefaultNamespace() + +  : string +
      +
      + +
      + getStub() + +  : string +
      +
      + +
      + + + + + + +
      +

      + Properties + +

      +
      +

      + $description + + + +

      + + + + + protected + mixed + $description + = 'Create a new Action' + + + + +
      +
      +

      + $name + + + +

      + + + + + protected + mixed + $name + = 'lodata:action' + + + + +
      +
      +

      + $stub + + + +

      + + + + + protected + mixed + $stub + = __DIR__ . '/_stubs_/action.php.stub' + + + + +
      +
      + +
      +

      + Methods + +

      +
      +

      + handle() + +

      + + + + + public + handle() : bool + + + + + +
      Return values
      + bool + — +
      + + +
      +
      +

      + getDefaultNamespace() + +

      + + + + + protected + getDefaultNamespace(mixed $rootNamespace) : string + + +
      Parameters
      +
      +
      + $rootNamespace + : mixed +
      +
      + +
      +
      + + + +
      Return values
      + string + — +
      + + +
      +
      +

      + getStub() + +

      + + + + + protected + getStub() : string + + + + + +
      Return values
      + string + — +
      + + +
      +
      + +
      +
      +
      +
      +

      Search results

      + +
      +
      +
        +
        +
        +
        +
        +
        + + +
        + + + + + + + diff --git a/docs/classes/Flat3-Lodata-Console-ClassCreator.html b/docs/classes/Flat3-Lodata-Console-ClassCreator.html new file mode 100644 index 000000000..716ecf6de --- /dev/null +++ b/docs/classes/Flat3-Lodata-Console-ClassCreator.html @@ -0,0 +1,332 @@ + + + + + Lodata + + + + + + + + + + + + + + + + + + +
        +

        Lodata

        + + + + + +
        + +
        +
        + + + + +
        + + +
        +

        + ClassCreator + + + extends GeneratorCommand + + + + +

        + + + +

        Class ClassCreator

        + +
        + + + + + + + + +

        + Table of Contents + +

        + +
        +
        + $stub + +  : mixed +
        +
        + +
        + handle() + +  : bool +
        +
        + +
        + getDefaultNamespace() + +  : string +
        +
        + +
        + getStub() + +  : string +
        +
        + +
        + + + + + + +
        +

        + Properties + +

        +
        +

        + $stub + + + +

        + + + + + protected + mixed + $stub + = null + + + + +
        +
        + +
        +

        + Methods + +

        +
        +

        + handle() + +

        + + + + + public + handle() : bool + + + + + +
        Return values
        + bool + — +
        + + +
        +
        +

        + getDefaultNamespace() + +

        + + + + + protected + getDefaultNamespace(mixed $rootNamespace) : string + + +
        Parameters
        +
        +
        + $rootNamespace + : mixed +
        +
        + +
        +
        + + + +
        Return values
        + string + — +
        + + +
        +
        +

        + getStub() + +

        + + + + + protected + getStub() : string + + + + + +
        Return values
        + string + — +
        + + +
        +
        + +
        +
        +
        +
        +

        Search results

        + +
        +
        +
          +
          +
          +
          +
          +
          + + +
          + + + + + + + diff --git a/docs/classes/Flat3-Lodata-Console-FunctionCommand.html b/docs/classes/Flat3-Lodata-Console-FunctionCommand.html new file mode 100644 index 000000000..b15f1db2c --- /dev/null +++ b/docs/classes/Flat3-Lodata-Console-FunctionCommand.html @@ -0,0 +1,406 @@ + + + + + Lodata + + + + + + + + + + + + + + + + + + +
          +

          Lodata

          + + + + + +
          + +
          +
          + + + + +
          + + +
          +

          + FunctionCommand + + + extends ClassCreator + + + + +

          + + + +

          Class FunctionCommand

          + +
          + + + + + + + + +

          + Table of Contents + +

          + +
          +
          + $description + +  : mixed +
          +
          + +
          + $name + +  : mixed +
          +
          + +
          + $stub + +  : mixed +
          +
          + +
          + handle() + +  : bool +
          +
          + +
          + getDefaultNamespace() + +  : string +
          +
          + +
          + getStub() + +  : string +
          +
          + +
          + + + + + + +
          +

          + Properties + +

          +
          +

          + $description + + + +

          + + + + + protected + mixed + $description + = 'Create a new Function' + + + + +
          +
          +

          + $name + + + +

          + + + + + protected + mixed + $name + = 'lodata:function' + + + + +
          +
          +

          + $stub + + + +

          + + + + + protected + mixed + $stub + = __DIR__ . '/_stubs_/function.php.stub' + + + + +
          +
          + +
          +

          + Methods + +

          +
          +

          + handle() + +

          + + + + + public + handle() : bool + + + + + +
          Return values
          + bool + — +
          + + +
          +
          +

          + getDefaultNamespace() + +

          + + + + + protected + getDefaultNamespace(mixed $rootNamespace) : string + + +
          Parameters
          +
          +
          + $rootNamespace + : mixed +
          +
          + +
          +
          + + + +
          Return values
          + string + — +
          + + +
          +
          +

          + getStub() + +

          + + + + + protected + getStub() : string + + + + + +
          Return values
          + string + — +
          + + +
          +
          + +
          +
          +
          +
          +

          Search results

          + +
          +
          +
            +
            +
            +
            +
            +
            + + +
            + + + + + + + diff --git a/docs/classes/Flat3-Lodata-PathSegment-Metadata-XML.html b/docs/classes/Flat3-Lodata-PathSegment-Metadata-XML.html index a0c40d196..69eed4573 100644 --- a/docs/classes/Flat3-Lodata-PathSegment-Metadata-XML.html +++ b/docs/classes/Flat3-Lodata-PathSegment-Metadata-XML.html @@ -314,7 +314,7 @@

            diff --git a/docs/classes/Flat3-Lodata-ServiceProvider.html b/docs/classes/Flat3-Lodata-ServiceProvider.html index 97db6afc9..90aa06577 100644 --- a/docs/classes/Flat3-Lodata-ServiceProvider.html +++ b/docs/classes/Flat3-Lodata-ServiceProvider.html @@ -98,7 +98,7 @@

            Service Provider

            @@ -185,7 +185,7 @@

            Service provider boot method

            @@ -219,7 +219,7 @@

            Get the endpoint of the OData service document

            @@ -253,7 +253,7 @@

            Service provider registration method

            @@ -287,7 +287,7 @@

            Get the configured route prefix

            diff --git a/docs/files/src-annotation-capabilities-callbackprotocol.html b/docs/files/src-annotation-capabilities-callbackprotocol.html new file mode 100644 index 000000000..994717221 --- /dev/null +++ b/docs/files/src-annotation-capabilities-callbackprotocol.html @@ -0,0 +1,138 @@ + + + + + Lodata + + + + + + + + + + + + + + + + + + +
            +

            Lodata

            + + + + + +
            + +
            +
            + + + + +
            +
              +
            + +
            +

            CallbackProtocol.php

            + + + + + + + + +

            + Interfaces, Classes and Traits + +

            + +
            + +
            CallbackProtocol
            +
            Complex Type
            + +
            + + + + + + + + +
            +
            +
            +
            +

            Search results

            + +
            +
            +
              +
              +
              +
              +
              +
              + + +
              + + + + + + + diff --git a/docs/files/src-annotation-capabilities-callbacktype.html b/docs/files/src-annotation-capabilities-callbacktype.html new file mode 100644 index 000000000..4dd066928 --- /dev/null +++ b/docs/files/src-annotation-capabilities-callbacktype.html @@ -0,0 +1,138 @@ + + + + + Lodata + + + + + + + + + + + + + + + + + + +
              +

              Lodata

              + + + + + +
              + +
              +
              + + + + +
              +
                +
              + +
              +

              CallbackType.php

              + + + + + + + + +

              + Interfaces, Classes and Traits + +

              + +
              + +
              CallbackType
              +
              Complex Type
              + +
              + + + + + + + + +
              +
              +
              +
              +

              Search results

              + +
              +
              +
                +
                +
                +
                +
                +
                + + +
                + + + + + + + diff --git a/docs/files/src-console-actioncommand.html b/docs/files/src-console-actioncommand.html new file mode 100644 index 000000000..9afa71d8a --- /dev/null +++ b/docs/files/src-console-actioncommand.html @@ -0,0 +1,138 @@ + + + + + Lodata + + + + + + + + + + + + + + + + + + +
                +

                Lodata

                + + + + + +
                + +
                +
                + + + + +
                +
                  +
                + +
                +

                ActionCommand.php

                + + + + + + + + +

                + Interfaces, Classes and Traits + +

                + +
                + +
                ActionCommand
                +
                Class ActionCommand
                + +
                + + + + + + + + +
                +
                +
                +
                +

                Search results

                + +
                +
                +
                  +
                  +
                  +
                  +
                  +
                  + + +
                  + + + + + + + diff --git a/docs/files/src-console-classcreator.html b/docs/files/src-console-classcreator.html new file mode 100644 index 000000000..229473d96 --- /dev/null +++ b/docs/files/src-console-classcreator.html @@ -0,0 +1,138 @@ + + + + + Lodata + + + + + + + + + + + + + + + + + + +
                  +

                  Lodata

                  + + + + + +
                  + +
                  +
                  + + + + +
                  +
                    +
                  + +
                  +

                  ClassCreator.php

                  + + + + + + + + +

                  + Interfaces, Classes and Traits + +

                  + +
                  + +
                  ClassCreator
                  +
                  Class ClassCreator
                  + +
                  + + + + + + + + +
                  +
                  +
                  +
                  +

                  Search results

                  + +
                  +
                  +
                    +
                    +
                    +
                    +
                    +
                    + + +
                    + + + + + + + diff --git a/docs/files/src-console-functioncommand.html b/docs/files/src-console-functioncommand.html new file mode 100644 index 000000000..3e705c3ea --- /dev/null +++ b/docs/files/src-console-functioncommand.html @@ -0,0 +1,138 @@ + + + + + Lodata + + + + + + + + + + + + + + + + + + +
                    +

                    Lodata

                    + + + + + +
                    + +
                    +
                    + + + + +
                    +
                      +
                    + +
                    +

                    FunctionCommand.php

                    + + + + + + + + +

                    + Interfaces, Classes and Traits + +

                    + +
                    + +
                    FunctionCommand
                    +
                    Class FunctionCommand
                    + +
                    + + + + + + + + +
                    +
                    +
                    +
                    +

                    Search results

                    + +
                    +
                    +
                      +
                      +
                      +
                      +
                      +
                      + + +
                      + + + + + + + diff --git a/docs/indices/files.html b/docs/indices/files.html index de13b5fbd..68d0727b6 100644 --- a/docs/indices/files.html +++ b/docs/indices/files.html @@ -83,6 +83,7 @@

                      Files

                      A

                      • AcceptedException.php
                      • +
                      • ActionCommand.php
                      • ActionInterface.php
                      • Add.php
                      • And_.php
                      • @@ -114,8 +115,11 @@

                        C

                        G

                        diff --git a/docs/js/searchIndex.js b/docs/js/searchIndex.js index c6b364810..75d6aba55 100644 --- a/docs/js/searchIndex.js +++ b/docs/js/searchIndex.js @@ -30,6 +30,41 @@ Search.appendIndex( "name": "SupportedFormats", "summary": "", "url": "classes/Flat3-Lodata-Annotation-Capabilities-BatchSupportType.html#constant_SupportedFormats" + }, { + "fqsen": "\\Flat3\\Lodata\\Annotation\\Capabilities\\CallbackProtocol", + "name": "CallbackProtocol", + "summary": "Complex\u0020Type", + "url": "classes/Flat3-Lodata-Annotation-Capabilities-CallbackProtocol.html" + }, { + "fqsen": "\\Flat3\\Lodata\\Annotation\\Capabilities\\CallbackProtocol\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "ComplexType\u0020constructor.", + "url": "classes/Flat3-Lodata-Annotation-Capabilities-CallbackProtocol.html#method___construct" + }, { + "fqsen": "\\Flat3\\Lodata\\Annotation\\Capabilities\\CallbackProtocol\u003A\u003AId", + "name": "Id", + "summary": "", + "url": "classes/Flat3-Lodata-Annotation-Capabilities-CallbackProtocol.html#constant_Id" + }, { + "fqsen": "\\Flat3\\Lodata\\Annotation\\Capabilities\\CallbackProtocol\u003A\u003AHTTP", + "name": "HTTP", + "summary": "", + "url": "classes/Flat3-Lodata-Annotation-Capabilities-CallbackProtocol.html#constant_HTTP" + }, { + "fqsen": "\\Flat3\\Lodata\\Annotation\\Capabilities\\CallbackType", + "name": "CallbackType", + "summary": "Complex\u0020Type", + "url": "classes/Flat3-Lodata-Annotation-Capabilities-CallbackType.html" + }, { + "fqsen": "\\Flat3\\Lodata\\Annotation\\Capabilities\\CallbackType\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "ComplexType\u0020constructor.", + "url": "classes/Flat3-Lodata-Annotation-Capabilities-CallbackType.html#method___construct" + }, { + "fqsen": "\\Flat3\\Lodata\\Annotation\\Capabilities\\CallbackType\u003A\u003ACallbackProtocols", + "name": "CallbackProtocols", + "summary": "", + "url": "classes/Flat3-Lodata-Annotation-Capabilities-CallbackType.html#constant_CallbackProtocols" }, { "fqsen": "\\Flat3\\Lodata\\Annotation\\Capabilities\\CountRestrictionsType", "name": "CountRestrictionsType", @@ -805,11 +840,26 @@ Search.appendIndex( "name": "appendJson", "summary": "Append\u0020the\u0020annotation\u0020to\u0020the\u0020provided\u0020schema\u0020element", "url": "classes/Flat3-Lodata-Annotation.html#method_appendJson" + }, { + "fqsen": "\\Flat3\\Lodata\\Annotation\u003A\u003AappendJsonValue\u0028\u0029", + "name": "appendJsonValue", + "summary": "Append\u0020a\u0020JSON\u0020annotation\u0020value", + "url": "classes/Flat3-Lodata-Annotation.html#method_appendJsonValue" }, { "fqsen": "\\Flat3\\Lodata\\Annotation\u003A\u003AappendXml\u0028\u0029", "name": "appendXml", "summary": "Append\u0020the\u0020annotation\u0020to\u0020the\u0020provided\u0020schema\u0020element", "url": "classes/Flat3-Lodata-Annotation.html#method_appendXml" + }, { + "fqsen": "\\Flat3\\Lodata\\Annotation\u003A\u003AappendXmlValue\u0028\u0029", + "name": "appendXmlValue", + "summary": "Append\u0020the\u0020value\u0020to\u0020the\u0020annotation\u0020element", + "url": "classes/Flat3-Lodata-Annotation.html#method_appendXmlValue" + }, { + "fqsen": "\\Flat3\\Lodata\\Annotation\u003A\u003AappendXmlRecord\u0028\u0029", + "name": "appendXmlRecord", + "summary": "Append\u0020the\u0020record\u0020to\u0020the\u0020element", + "url": "classes/Flat3-Lodata-Annotation.html#method_appendXmlRecord" }, { "fqsen": "\\Flat3\\Lodata\\Annotation\u003A\u003AgetValue\u0028\u0029", "name": "getValue", @@ -920,6 +970,71 @@ Search.appendIndex( "name": "identifier", "summary": "", "url": "classes/Flat3-Lodata-ComplexType.html#constant_identifier" + }, { + "fqsen": "\\Flat3\\Lodata\\Console\\ActionCommand", + "name": "ActionCommand", + "summary": "Class\u0020ActionCommand", + "url": "classes/Flat3-Lodata-Console-ActionCommand.html" + }, { + "fqsen": "\\Flat3\\Lodata\\Console\\ActionCommand\u003A\u003A\u0024name", + "name": "name", + "summary": "", + "url": "classes/Flat3-Lodata-Console-ActionCommand.html#property_name" + }, { + "fqsen": "\\Flat3\\Lodata\\Console\\ActionCommand\u003A\u003A\u0024description", + "name": "description", + "summary": "", + "url": "classes/Flat3-Lodata-Console-ActionCommand.html#property_description" + }, { + "fqsen": "\\Flat3\\Lodata\\Console\\ActionCommand\u003A\u003A\u0024stub", + "name": "stub", + "summary": "", + "url": "classes/Flat3-Lodata-Console-ActionCommand.html#property_stub" + }, { + "fqsen": "\\Flat3\\Lodata\\Console\\ClassCreator", + "name": "ClassCreator", + "summary": "Class\u0020ClassCreator", + "url": "classes/Flat3-Lodata-Console-ClassCreator.html" + }, { + "fqsen": "\\Flat3\\Lodata\\Console\\ClassCreator\u003A\u003AgetStub\u0028\u0029", + "name": "getStub", + "summary": "", + "url": "classes/Flat3-Lodata-Console-ClassCreator.html#method_getStub" + }, { + "fqsen": "\\Flat3\\Lodata\\Console\\ClassCreator\u003A\u003AgetDefaultNamespace\u0028\u0029", + "name": "getDefaultNamespace", + "summary": "", + "url": "classes/Flat3-Lodata-Console-ClassCreator.html#method_getDefaultNamespace" + }, { + "fqsen": "\\Flat3\\Lodata\\Console\\ClassCreator\u003A\u003Ahandle\u0028\u0029", + "name": "handle", + "summary": "", + "url": "classes/Flat3-Lodata-Console-ClassCreator.html#method_handle" + }, { + "fqsen": "\\Flat3\\Lodata\\Console\\ClassCreator\u003A\u003A\u0024stub", + "name": "stub", + "summary": "", + "url": "classes/Flat3-Lodata-Console-ClassCreator.html#property_stub" + }, { + "fqsen": "\\Flat3\\Lodata\\Console\\FunctionCommand", + "name": "FunctionCommand", + "summary": "Class\u0020FunctionCommand", + "url": "classes/Flat3-Lodata-Console-FunctionCommand.html" + }, { + "fqsen": "\\Flat3\\Lodata\\Console\\FunctionCommand\u003A\u003A\u0024name", + "name": "name", + "summary": "", + "url": "classes/Flat3-Lodata-Console-FunctionCommand.html#property_name" + }, { + "fqsen": "\\Flat3\\Lodata\\Console\\FunctionCommand\u003A\u003A\u0024description", + "name": "description", + "summary": "", + "url": "classes/Flat3-Lodata-Console-FunctionCommand.html#property_description" + }, { + "fqsen": "\\Flat3\\Lodata\\Console\\FunctionCommand\u003A\u003A\u0024stub", + "name": "stub", + "summary": "", + "url": "classes/Flat3-Lodata-Console-FunctionCommand.html#property_stub" }, { "fqsen": "\\Flat3\\Lodata\\Controller\\Async", "name": "Async", @@ -8190,6 +8305,11 @@ Search.appendIndex( "name": "Flat3", "summary": "", "url": "namespaces/flat3.html" + }, { + "fqsen": "\\Flat3\\Lodata\\Console", + "name": "Console", + "summary": "", + "url": "namespaces/flat3-lodata-console.html" }, { "fqsen": "\\Flat3\\Lodata\\Controller", "name": "Controller", diff --git a/docs/namespaces/flat3-lodata-annotation-capabilities.html b/docs/namespaces/flat3-lodata-annotation-capabilities.html index a103b43ce..26d78e9be 100644 --- a/docs/namespaces/flat3-lodata-annotation-capabilities.html +++ b/docs/namespaces/flat3-lodata-annotation-capabilities.html @@ -105,6 +105,10 @@

                        BatchSupportType
                        +
                        Complex Type
                        +
                        CallbackProtocol
                        +
                        Complex Type
                        +
                        CallbackType
                        Complex Type
                        CountRestrictionsType
                        Complex Type
                        diff --git a/docs/namespaces/flat3-lodata-console.html b/docs/namespaces/flat3-lodata-console.html new file mode 100644 index 000000000..4f2da910c --- /dev/null +++ b/docs/namespaces/flat3-lodata-console.html @@ -0,0 +1,137 @@ + + + + + Lodata + + + + + + + + + + + + + + + + + + +
                        +

                        Lodata

                        + + + + + +
                        + +
                        +
                        + + + + +
                        + + + +
                        +
                        +
                        +

                        Search results

                        + +
                        +
                        +
                          +
                          +
                          +
                          +
                          +
                          + + +
                          + + + + + + + diff --git a/docs/namespaces/flat3-lodata.html b/docs/namespaces/flat3-lodata.html index 2bb586952..7318b09a4 100644 --- a/docs/namespaces/flat3-lodata.html +++ b/docs/namespaces/flat3-lodata.html @@ -93,6 +93,7 @@

                          Annotation
                          +
                          Console
                          Controller
                          Drivers
                          Exception
                          diff --git a/docs/packages/Flat3-Lodata-Console.html b/docs/packages/Flat3-Lodata-Console.html new file mode 100644 index 000000000..62e7a959e --- /dev/null +++ b/docs/packages/Flat3-Lodata-Console.html @@ -0,0 +1,137 @@ + + + + + Lodata + + + + + + + + + + + + + + + + + + +
                          +

                          Lodata

                          + + + + + +
                          + +
                          +
                          + + + + +
                          + + + +
                          +
                          +
                          +

                          Search results

                          + +
                          +
                          +
                            +
                            +
                            +
                            +
                            +
                            + + +
                            + + + + + + + diff --git a/docs/packages/Flat3-Lodata.html b/docs/packages/Flat3-Lodata.html index c90e2254d..365273b3a 100644 --- a/docs/packages/Flat3-Lodata.html +++ b/docs/packages/Flat3-Lodata.html @@ -92,6 +92,7 @@

                            Annotation
                            +
                            Console
                            Controller
                            Drivers
                            Exception
                            @@ -119,6 +120,10 @@

                            Response Interface
                            BatchSupportType
                            +
                            Complex Type
                            +
                            CallbackProtocol
                            +
                            Complex Type
                            +
                            CallbackType
                            Complex Type
                            CountRestrictionsType
                            Complex Type
                            diff --git a/src/Annotation.php b/src/Annotation.php index 502547c53..8c0875193 100644 --- a/src/Annotation.php +++ b/src/Annotation.php @@ -40,43 +40,43 @@ abstract class Annotation */ public function appendJson(object $schema): self { - switch (true) { - case $this->value instanceof Boolean: - case $this->value instanceof String_: - $schema->{"@{$this->name}"} = $this->value->toJson(); - break; + $schema->{'@'.$this->name} = $this->appendJsonValue($this->value); - case $this->value instanceof Enum: - $schema->{"@{$this->name}"} = $this->value->getIdentifier().'/'.$this->value->toUrl(); - break; + return $this; + } + + /** + * Append a JSON annotation value + * @param $value + * @return mixed + */ + public function appendJsonValue($value) + { + switch (true) { + case $value instanceof Enum: + return $value->getIdentifier().'/'.$value->toJson(); - case $this->value instanceof Record: - $record = []; + case $value instanceof Record: + $record = (object) []; - /** @var PropertyValue $propertyValue */ - foreach ($this->value as $propertyValue) { - $record[$propertyValue->getProperty()->getName()] = $propertyValue->getPrimitiveValue()->toJson(); + foreach ($value as $propertyValue) { + $record->{$propertyValue->getProperty()->getName()} = $this->appendJsonValue($propertyValue->getPrimitiveValue()); } - $schema->{"@{$this->name}"} = $record; - break; + return $record; - case $this->value instanceof Collection: + case $value instanceof Collection: $collection = []; - foreach ($this->value->get() as $member) { - switch (true) { - case $member instanceof String_: - $collection[] = $member->get(); - break; - } + foreach ($value->get() as $member) { + $collection[] = $this->appendJsonValue($member); } - $schema->{"@{$this->name}"} = $collection; - break; - } + return $collection; - return $this; + default: + return $value->toJson(); + } } /** @@ -88,65 +88,72 @@ public function appendXml(SimpleXMLElement $schema): self { $annotationElement = $schema->addChild('Annotation'); $annotationElement->addAttribute('Term', $this->name); + $this->appendXmlValue($annotationElement, $this->value); + + return $this; + } + /** + * Append the value to the annotation element + * @param SimpleXMLElement $element + * @param $value + */ + protected function appendXmlValue(SimpleXMLElement $element, $value) + { switch (true) { - case $this->value instanceof Boolean: - $annotationElement->addAttribute('Bool', $this->value->toUrl()); + case $value instanceof Boolean: + $element->addAttribute('Bool', $value->toUrl()); break; - case $this->value instanceof String_: - $annotationElement->addAttribute('String', $this->value->get()); + case $value instanceof Byte: + $element->addAttribute('Int', $value->toUrl()); break; - case $this->value instanceof Enum: - $annotationElement->addAttribute('EnumMember', $this->value->getIdentifier().'/'.$this->value->toUrl()); + case $value instanceof String_: + $element->addAttribute('String', $value->get()); break; - case $this->value instanceof Record: - $recordElement = $annotationElement->addChild('Record'); - - /** @var PropertyValue $propertyValue */ - foreach ($this->value as $propertyValue) { - $propertyValueElement = $recordElement->addChild('PropertyValue'); - $propertyValueElement->addAttribute('Property', $propertyValue->getProperty()->getName()); - - switch (true) { - case $propertyValue->getProperty()->getType()->instance() instanceof Boolean: - $propertyValueElement->addAttribute('Bool', $propertyValue->getPrimitiveValue()->toUrl()); - break; - - case $propertyValue->getProperty()->getType()->instance() instanceof Byte: - $propertyValueElement->addAttribute('Int', $propertyValue->getPrimitiveValue()->toUrl()); - break; + case $value instanceof Enum: + $element->addAttribute('EnumMember', $value->getIdentifier().'/'.$value->toUrl()); + break; - case $propertyValue->getProperty()->getType()->instance() instanceof Collection: - $collection = $propertyValue->getPrimitiveValue(); - $collectionElement = $propertyValueElement->addChild('Collection'); - foreach ($collection->get() as $member) { - switch (true) { - case $member instanceof String_: - $collectionElement->addChild('String', $member->get()); - break; - } - } - break; - } - } + case $value instanceof Record: + $this->appendXmlRecord($element, $value); break; - case $this->value instanceof Collection: - $collection = $annotationElement->addChild('Collection'); - foreach ($this->value->get() as $member) { + case $value instanceof Collection: + $collectionElement = $element->addChild('Collection'); + + foreach ($value->get() as $member) { switch (true) { case $member instanceof String_: - $collection->addChild('String', $member->get()); + $collectionElement->addChild('String', $member->get()); + break; + + case $member instanceof Record: + $this->appendXmlRecord($collectionElement, $member); break; } } break; } + } - return $this; + /** + * Append the record to the element + * @param SimpleXMLElement $element + * @param Record $record + */ + protected function appendXmlRecord(SimpleXMLElement $element, Record $record) + { + $recordElement = $element->addChild('Record'); + + /** @var PropertyValue $propertyValue */ + foreach ($record as $propertyValue) { + $propertyValueElement = $recordElement->addChild('PropertyValue'); + $propertyValueElement->addAttribute('Property', $propertyValue->getProperty()->getName()); + $this->appendXmlValue($propertyValueElement, $propertyValue->getValue()); + } } /** diff --git a/src/Annotation/Capabilities/CallbackProtocol.php b/src/Annotation/Capabilities/CallbackProtocol.php new file mode 100644 index 000000000..1441a78e6 --- /dev/null +++ b/src/Annotation/Capabilities/CallbackProtocol.php @@ -0,0 +1,19 @@ +addDeclaredProperty(self::Id, Type::string()->setNullable(true)); + } +} \ No newline at end of file diff --git a/src/Annotation/Capabilities/CallbackType.php b/src/Annotation/Capabilities/CallbackType.php new file mode 100644 index 000000000..9098e939f --- /dev/null +++ b/src/Annotation/Capabilities/CallbackType.php @@ -0,0 +1,18 @@ +addDeclaredProperty(self::CallbackProtocols, Type::collection()); + } +} \ No newline at end of file diff --git a/src/Annotation/Capabilities/V1/CallbackSupported.php b/src/Annotation/Capabilities/V1/CallbackSupported.php index 90714560f..23eee60dc 100644 --- a/src/Annotation/Capabilities/V1/CallbackSupported.php +++ b/src/Annotation/Capabilities/V1/CallbackSupported.php @@ -3,7 +3,10 @@ namespace Flat3\Lodata\Annotation\Capabilities\V1; use Flat3\Lodata\Annotation; +use Flat3\Lodata\Annotation\Capabilities\CallbackType; +use Flat3\Lodata\Helper\PropertyValue; use Flat3\Lodata\Type\Collection; +use Flat3\Lodata\Type\String_; /** * Callback Supported @@ -15,6 +18,23 @@ class CallbackSupported extends Annotation public function __construct() { - $this->value = new Collection(); + $callbackProtocolType = new Annotation\Capabilities\CallbackProtocol(); + $callbackProtocol = new Annotation\Record(); + $callbackProtocol->setType($callbackProtocolType); + $callbackProtocol[] = (new PropertyValue()) + ->setProperty($callbackProtocolType->getProperty(Annotation\Capabilities\CallbackProtocol::Id)) + ->setValue(String_::factory(Annotation\Capabilities\CallbackProtocol::HTTP)); + + $callbackProtocols = new Collection(); + $callbackProtocols->add($callbackProtocol); + + $callbackType = new CallbackType(); + $record = new Annotation\Record(); + $record->setType($callbackType); + $record[] = (new PropertyValue()) + ->setProperty($callbackType->getProperty(CallbackType::CallbackProtocols)) + ->setValue($callbackProtocols); + + $this->value = $record; } } \ No newline at end of file diff --git a/src/PathSegment/Metadata/XML.php b/src/PathSegment/Metadata/XML.php index e6f7aa4be..804108d89 100644 --- a/src/PathSegment/Metadata/XML.php +++ b/src/PathSegment/Metadata/XML.php @@ -234,6 +234,10 @@ public function emitStream(Transaction $transaction): void } } + if (!$entityContainer->count()) { + unset($entityContainer[0]); + } + $schemaAnnotations = $schema->addChild('Annotations'); $schemaAnnotations->addAttribute('Target', $namespace.'.'.'DefaultContainer'); @@ -241,6 +245,10 @@ public function emitStream(Transaction $transaction): void $annotation->appendXml($schemaAnnotations); } + if (!$schemaAnnotations->count()) { + unset($schemaAnnotations[0]); + } + $transaction->sendOutput($root->asXML()); } diff --git a/tests/TestCase.php b/tests/TestCase.php index e957b95e1..a294723f2 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -2,6 +2,8 @@ namespace Flat3\Lodata\Tests; +use DOMDocument; +use Eclipxe\XmlSchemaValidator\SchemaValidator; use Exception; use Faker\Factory; use Faker\Generator; @@ -269,12 +271,24 @@ protected function assertXmlResponse(Request $request) protected function assertMetadataDocuments() { - $this->assertXmlResponse( + $response = $this->req( Request::factory() ->path('/$metadata') ->xml() ); + $xml = $this->responseContent($response); + $this->assertMatchesXmlSnapshot($xml); + $this->assertResponseMetadata($response); + + $document = new DOMDocument(); + $document->loadXML($xml); + $validator = new SchemaValidator($document); + $schemas = $validator->buildSchemas(); + $schemas->create('http://docs.oasis-open.org/odata/ns/edm', __DIR__.'/schemas/edm.xsd'); + $schemas->create('http://docs.oasis-open.org/odata/ns/edmx', __DIR__.'/schemas/edmx.xsd'); + $validator->validateWithSchemas($schemas); + $this->assertJsonResponse( Request::factory() ->path('/$metadata') diff --git a/tests/Unit/CSV/__snapshots__/CSVTest__test_metadata__1.xml b/tests/Unit/CSV/__snapshots__/CSVTest__test_metadata__1.xml index eb1102689..a8f743064 100644 --- a/tests/Unit/CSV/__snapshots__/CSVTest__test_metadata__1.xml +++ b/tests/Unit/CSV/__snapshots__/CSVTest__test_metadata__1.xml @@ -95,7 +95,15 @@ - + + + + + + + + + diff --git a/tests/Unit/CSV/__snapshots__/CSVTest__test_metadata__3.json b/tests/Unit/CSV/__snapshots__/CSVTest__test_metadata__3.json index f3ce8676e..694ba60ea 100644 --- a/tests/Unit/CSV/__snapshots__/CSVTest__test_metadata__3.json +++ b/tests/Unit/CSV/__snapshots__/CSVTest__test_metadata__3.json @@ -73,7 +73,13 @@ "multipart/mixed" ] }, - "@Org.OData.Capabilities.V1.CallbackSupported": [], + "@Org.OData.Capabilities.V1.CallbackSupported": { + "CallbackProtocols": [ + { + "Id": "http" + } + ] + }, "@Org.OData.Capabilities.V1.ConformanceLevel": "Org.OData.Capabilities.V1.ConformanceLevelType/Advanced", "@Org.OData.Capabilities.V1.KeyAsSegmentSupported": true, "@Org.OData.Capabilities.V1.QuerySegmentSupported": true, diff --git a/tests/Unit/Eloquent/__snapshots__/EloquentTest__test_metadata__1.xml b/tests/Unit/Eloquent/__snapshots__/EloquentTest__test_metadata__1.xml index 8c52b1e87..3101708ab 100644 --- a/tests/Unit/Eloquent/__snapshots__/EloquentTest__test_metadata__1.xml +++ b/tests/Unit/Eloquent/__snapshots__/EloquentTest__test_metadata__1.xml @@ -321,7 +321,15 @@ - + + + + + + + + + diff --git a/tests/Unit/Eloquent/__snapshots__/EloquentTest__test_metadata__3.json b/tests/Unit/Eloquent/__snapshots__/EloquentTest__test_metadata__3.json index 2ffaaff33..6a1f261f3 100644 --- a/tests/Unit/Eloquent/__snapshots__/EloquentTest__test_metadata__3.json +++ b/tests/Unit/Eloquent/__snapshots__/EloquentTest__test_metadata__3.json @@ -200,7 +200,13 @@ "multipart/mixed" ] }, - "@Org.OData.Capabilities.V1.CallbackSupported": [], + "@Org.OData.Capabilities.V1.CallbackSupported": { + "CallbackProtocols": [ + { + "Id": "http" + } + ] + }, "@Org.OData.Capabilities.V1.ConformanceLevel": "Org.OData.Capabilities.V1.ConformanceLevelType/Advanced", "@Org.OData.Capabilities.V1.KeyAsSegmentSupported": true, "@Org.OData.Capabilities.V1.QuerySegmentSupported": true, diff --git a/tests/Unit/Filesystem/__snapshots__/FilesystemTest__test_metadata__1.xml b/tests/Unit/Filesystem/__snapshots__/FilesystemTest__test_metadata__1.xml index 4020df331..514b5c69f 100644 --- a/tests/Unit/Filesystem/__snapshots__/FilesystemTest__test_metadata__1.xml +++ b/tests/Unit/Filesystem/__snapshots__/FilesystemTest__test_metadata__1.xml @@ -99,7 +99,15 @@ - + + + + + + + + + diff --git a/tests/Unit/Filesystem/__snapshots__/FilesystemTest__test_metadata__3.json b/tests/Unit/Filesystem/__snapshots__/FilesystemTest__test_metadata__3.json index 7b0b6b787..8f995cc84 100644 --- a/tests/Unit/Filesystem/__snapshots__/FilesystemTest__test_metadata__3.json +++ b/tests/Unit/Filesystem/__snapshots__/FilesystemTest__test_metadata__3.json @@ -73,7 +73,13 @@ "multipart/mixed" ] }, - "@Org.OData.Capabilities.V1.CallbackSupported": [], + "@Org.OData.Capabilities.V1.CallbackSupported": { + "CallbackProtocols": [ + { + "Id": "http" + } + ] + }, "@Org.OData.Capabilities.V1.ConformanceLevel": "Org.OData.Capabilities.V1.ConformanceLevelType/Advanced", "@Org.OData.Capabilities.V1.KeyAsSegmentSupported": true, "@Org.OData.Capabilities.V1.QuerySegmentSupported": true, diff --git a/tests/Unit/Operation/__snapshots__/OperationTest__test_parameter_bound_modify__1.xml b/tests/Unit/Operation/__snapshots__/OperationTest__test_parameter_bound_modify__1.xml index 60a35c8f8..e95f623ce 100644 --- a/tests/Unit/Operation/__snapshots__/OperationTest__test_parameter_bound_modify__1.xml +++ b/tests/Unit/Operation/__snapshots__/OperationTest__test_parameter_bound_modify__1.xml @@ -336,7 +336,15 @@ - + + + + + + + + + diff --git a/tests/Unit/Operation/__snapshots__/OperationTest__test_parameter_bound_modify__3.json b/tests/Unit/Operation/__snapshots__/OperationTest__test_parameter_bound_modify__3.json index df3ec95f4..d73a16bb1 100644 --- a/tests/Unit/Operation/__snapshots__/OperationTest__test_parameter_bound_modify__3.json +++ b/tests/Unit/Operation/__snapshots__/OperationTest__test_parameter_bound_modify__3.json @@ -208,7 +208,13 @@ "multipart/mixed" ] }, - "@Org.OData.Capabilities.V1.CallbackSupported": [], + "@Org.OData.Capabilities.V1.CallbackSupported": { + "CallbackProtocols": [ + { + "Id": "http" + } + ] + }, "@Org.OData.Capabilities.V1.ConformanceLevel": "Org.OData.Capabilities.V1.ConformanceLevelType/Advanced", "@Org.OData.Capabilities.V1.KeyAsSegmentSupported": true, "@Org.OData.Capabilities.V1.QuerySegmentSupported": true, diff --git a/tests/Unit/Operation/__snapshots__/OperationTest__test_parameter_bound_passthru__1.xml b/tests/Unit/Operation/__snapshots__/OperationTest__test_parameter_bound_passthru__1.xml index d1c74cbc1..90e1e34fe 100644 --- a/tests/Unit/Operation/__snapshots__/OperationTest__test_parameter_bound_passthru__1.xml +++ b/tests/Unit/Operation/__snapshots__/OperationTest__test_parameter_bound_passthru__1.xml @@ -336,7 +336,15 @@ - + + + + + + + + + diff --git a/tests/Unit/Operation/__snapshots__/OperationTest__test_parameter_bound_passthru__3.json b/tests/Unit/Operation/__snapshots__/OperationTest__test_parameter_bound_passthru__3.json index f49d7fa20..9c3d2c5ba 100644 --- a/tests/Unit/Operation/__snapshots__/OperationTest__test_parameter_bound_passthru__3.json +++ b/tests/Unit/Operation/__snapshots__/OperationTest__test_parameter_bound_passthru__3.json @@ -208,7 +208,13 @@ "multipart/mixed" ] }, - "@Org.OData.Capabilities.V1.CallbackSupported": [], + "@Org.OData.Capabilities.V1.CallbackSupported": { + "CallbackProtocols": [ + { + "Id": "http" + } + ] + }, "@Org.OData.Capabilities.V1.ConformanceLevel": "Org.OData.Capabilities.V1.ConformanceLevelType/Advanced", "@Org.OData.Capabilities.V1.KeyAsSegmentSupported": true, "@Org.OData.Capabilities.V1.QuerySegmentSupported": true, diff --git a/tests/Unit/Operation/__snapshots__/OperationTest__test_parameter_order_bound__1.xml b/tests/Unit/Operation/__snapshots__/OperationTest__test_parameter_order_bound__1.xml index e95dd63be..172ce66a0 100644 --- a/tests/Unit/Operation/__snapshots__/OperationTest__test_parameter_order_bound__1.xml +++ b/tests/Unit/Operation/__snapshots__/OperationTest__test_parameter_order_bound__1.xml @@ -8,7 +8,6 @@ - @@ -34,7 +33,15 @@ - + + + + + + + + + diff --git a/tests/Unit/Operation/__snapshots__/OperationTest__test_parameter_order_bound__3.json b/tests/Unit/Operation/__snapshots__/OperationTest__test_parameter_order_bound__3.json index 77a89a6ca..e791c6504 100644 --- a/tests/Unit/Operation/__snapshots__/OperationTest__test_parameter_order_bound__3.json +++ b/tests/Unit/Operation/__snapshots__/OperationTest__test_parameter_order_bound__3.json @@ -35,7 +35,13 @@ "multipart/mixed" ] }, - "@Org.OData.Capabilities.V1.CallbackSupported": [], + "@Org.OData.Capabilities.V1.CallbackSupported": { + "CallbackProtocols": [ + { + "Id": "http" + } + ] + }, "@Org.OData.Capabilities.V1.ConformanceLevel": "Org.OData.Capabilities.V1.ConformanceLevelType/Advanced", "@Org.OData.Capabilities.V1.KeyAsSegmentSupported": true, "@Org.OData.Capabilities.V1.QuerySegmentSupported": true, diff --git a/tests/Unit/Operation/__snapshots__/OperationTest__test_parameter_order_unbound__1.xml b/tests/Unit/Operation/__snapshots__/OperationTest__test_parameter_order_unbound__1.xml index f5ad9c657..f7fa42dd3 100644 --- a/tests/Unit/Operation/__snapshots__/OperationTest__test_parameter_order_unbound__1.xml +++ b/tests/Unit/Operation/__snapshots__/OperationTest__test_parameter_order_unbound__1.xml @@ -36,7 +36,15 @@ - + + + + + + + + + diff --git a/tests/Unit/Operation/__snapshots__/OperationTest__test_parameter_order_unbound__3.json b/tests/Unit/Operation/__snapshots__/OperationTest__test_parameter_order_unbound__3.json index 68f61d091..cf9208e80 100644 --- a/tests/Unit/Operation/__snapshots__/OperationTest__test_parameter_order_unbound__3.json +++ b/tests/Unit/Operation/__snapshots__/OperationTest__test_parameter_order_unbound__3.json @@ -38,7 +38,13 @@ "multipart/mixed" ] }, - "@Org.OData.Capabilities.V1.CallbackSupported": [], + "@Org.OData.Capabilities.V1.CallbackSupported": { + "CallbackProtocols": [ + { + "Id": "http" + } + ] + }, "@Org.OData.Capabilities.V1.ConformanceLevel": "Org.OData.Capabilities.V1.ConformanceLevelType/Advanced", "@Org.OData.Capabilities.V1.KeyAsSegmentSupported": true, "@Org.OData.Capabilities.V1.QuerySegmentSupported": true, diff --git a/tests/Unit/Protocol/__snapshots__/AsyncTest__test_async_batch_service_metadata__5.txt b/tests/Unit/Protocol/__snapshots__/AsyncTest__test_async_batch_service_metadata__5.txt index aa8eb877f..e2f0ee611 100644 --- a/tests/Unit/Protocol/__snapshots__/AsyncTest__test_async_batch_service_metadata__5.txt +++ b/tests/Unit/Protocol/__snapshots__/AsyncTest__test_async_batch_service_metadata__5.txt @@ -6,7 +6,7 @@ HTTP/1.0 200 OK content-type: application/xml -application/jsonmultipart/mixedapplication/json;odata.metadata=full;IEEE754Compatible=true;odata.streaming=trueapplication/json;odata.metadata=minimal;IEEE754Compatible=true;odata.streaming=trueapplication/json;odata.metadata=none;IEEE754Compatible=true;odata.streaming=trueapplication/jsonapplication/xml +application/jsonmultipart/mixedapplication/json;odata.metadata=full;IEEE754Compatible=true;odata.streaming=trueapplication/json;odata.metadata=minimal;IEEE754Compatible=true;odata.streaming=trueapplication/json;odata.metadata=none;IEEE754Compatible=true;odata.streaming=trueapplication/jsonapplication/xml --00000000-0000-0000-0000-000000000001 content-type: application/http diff --git a/tests/Unit/Protocol/__snapshots__/AsyncTest__test_async_batch_service_metadata__6.txt b/tests/Unit/Protocol/__snapshots__/AsyncTest__test_async_batch_service_metadata__6.txt index aa8eb877f..e2f0ee611 100644 --- a/tests/Unit/Protocol/__snapshots__/AsyncTest__test_async_batch_service_metadata__6.txt +++ b/tests/Unit/Protocol/__snapshots__/AsyncTest__test_async_batch_service_metadata__6.txt @@ -6,7 +6,7 @@ HTTP/1.0 200 OK content-type: application/xml -application/jsonmultipart/mixedapplication/json;odata.metadata=full;IEEE754Compatible=true;odata.streaming=trueapplication/json;odata.metadata=minimal;IEEE754Compatible=true;odata.streaming=trueapplication/json;odata.metadata=none;IEEE754Compatible=true;odata.streaming=trueapplication/jsonapplication/xml +application/jsonmultipart/mixedapplication/json;odata.metadata=full;IEEE754Compatible=true;odata.streaming=trueapplication/json;odata.metadata=minimal;IEEE754Compatible=true;odata.streaming=trueapplication/json;odata.metadata=none;IEEE754Compatible=true;odata.streaming=trueapplication/jsonapplication/xml --00000000-0000-0000-0000-000000000001 content-type: application/http diff --git a/tests/Unit/Protocol/__snapshots__/AsyncTest__test_async_metadata__5.txt b/tests/Unit/Protocol/__snapshots__/AsyncTest__test_async_metadata__5.txt index 1d9ec2c7b..cead291f8 100644 --- a/tests/Unit/Protocol/__snapshots__/AsyncTest__test_async_metadata__5.txt +++ b/tests/Unit/Protocol/__snapshots__/AsyncTest__test_async_metadata__5.txt @@ -1,2 +1,2 @@ -application/jsonmultipart/mixedapplication/json;odata.metadata=full;IEEE754Compatible=true;odata.streaming=trueapplication/json;odata.metadata=minimal;IEEE754Compatible=true;odata.streaming=trueapplication/json;odata.metadata=none;IEEE754Compatible=true;odata.streaming=trueapplication/jsonapplication/xml +application/jsonmultipart/mixedapplication/json;odata.metadata=full;IEEE754Compatible=true;odata.streaming=trueapplication/json;odata.metadata=minimal;IEEE754Compatible=true;odata.streaming=trueapplication/json;odata.metadata=none;IEEE754Compatible=true;odata.streaming=trueapplication/jsonapplication/xml diff --git a/tests/Unit/Protocol/__snapshots__/AsyncTest__test_async_metadata__6.txt b/tests/Unit/Protocol/__snapshots__/AsyncTest__test_async_metadata__6.txt index 1d9ec2c7b..cead291f8 100644 --- a/tests/Unit/Protocol/__snapshots__/AsyncTest__test_async_metadata__6.txt +++ b/tests/Unit/Protocol/__snapshots__/AsyncTest__test_async_metadata__6.txt @@ -1,2 +1,2 @@ -application/jsonmultipart/mixedapplication/json;odata.metadata=full;IEEE754Compatible=true;odata.streaming=trueapplication/json;odata.metadata=minimal;IEEE754Compatible=true;odata.streaming=trueapplication/json;odata.metadata=none;IEEE754Compatible=true;odata.streaming=trueapplication/jsonapplication/xml +application/jsonmultipart/mixedapplication/json;odata.metadata=full;IEEE754Compatible=true;odata.streaming=trueapplication/json;odata.metadata=minimal;IEEE754Compatible=true;odata.streaming=trueapplication/json;odata.metadata=none;IEEE754Compatible=true;odata.streaming=trueapplication/jsonapplication/xml diff --git a/tests/Unit/Protocol/__snapshots__/BatchJSONTest__test_metadata_document__1.json b/tests/Unit/Protocol/__snapshots__/BatchJSONTest__test_metadata_document__1.json index 4b7619979..dc1163573 100644 --- a/tests/Unit/Protocol/__snapshots__/BatchJSONTest__test_metadata_document__1.json +++ b/tests/Unit/Protocol/__snapshots__/BatchJSONTest__test_metadata_document__1.json @@ -6,7 +6,7 @@ "headers": { "content-type": "application/xml" }, - "body": "\napplication/jsonmultipart/mixedapplication/json;odata.metadata=full;IEEE754Compatible=true;odata.streaming=trueapplication/json;odata.metadata=minimal;IEEE754Compatible=true;odata.streaming=trueapplication/json;odata.metadata=none;IEEE754Compatible=true;odata.streaming=trueapplication/jsonapplication/xml\n" + "body": "\napplication/jsonmultipart/mixedapplication/json;odata.metadata=full;IEEE754Compatible=true;odata.streaming=trueapplication/json;odata.metadata=minimal;IEEE754Compatible=true;odata.streaming=trueapplication/json;odata.metadata=none;IEEE754Compatible=true;odata.streaming=trueapplication/jsonapplication/xml\n" } ] } diff --git a/tests/Unit/Protocol/__snapshots__/BatchMultipartTest__test_metadata_document__1.txt b/tests/Unit/Protocol/__snapshots__/BatchMultipartTest__test_metadata_document__1.txt index 2e1e7d99c..1ad52e5c6 100644 --- a/tests/Unit/Protocol/__snapshots__/BatchMultipartTest__test_metadata_document__1.txt +++ b/tests/Unit/Protocol/__snapshots__/BatchMultipartTest__test_metadata_document__1.txt @@ -6,6 +6,6 @@ HTTP/1.0 200 OK content-type: application/xml -application/jsonmultipart/mixedapplication/json;odata.metadata=full;IEEE754Compatible=true;odata.streaming=trueapplication/json;odata.metadata=minimal;IEEE754Compatible=true;odata.streaming=trueapplication/json;odata.metadata=none;IEEE754Compatible=true;odata.streaming=trueapplication/jsonapplication/xml +application/jsonmultipart/mixedapplication/json;odata.metadata=full;IEEE754Compatible=true;odata.streaming=trueapplication/json;odata.metadata=minimal;IEEE754Compatible=true;odata.streaming=trueapplication/json;odata.metadata=none;IEEE754Compatible=true;odata.streaming=trueapplication/jsonapplication/xml --00000000-0000-0000-0000-000000000001-- diff --git a/tests/Unit/Protocol/__snapshots__/FormatTest__test_advertises_formats__1.xml b/tests/Unit/Protocol/__snapshots__/FormatTest__test_advertises_formats__1.xml index a715053b4..f74921cf5 100644 --- a/tests/Unit/Protocol/__snapshots__/FormatTest__test_advertises_formats__1.xml +++ b/tests/Unit/Protocol/__snapshots__/FormatTest__test_advertises_formats__1.xml @@ -8,7 +8,6 @@ - @@ -29,7 +28,15 @@ - + + + + + + + + + diff --git a/tests/Unit/Protocol/__snapshots__/ServiceMetadataTest__test_has_empty_metadata_document_at_document_root__1.xml b/tests/Unit/Protocol/__snapshots__/ServiceMetadataTest__test_has_empty_metadata_document_at_document_root__1.xml index a715053b4..f74921cf5 100644 --- a/tests/Unit/Protocol/__snapshots__/ServiceMetadataTest__test_has_empty_metadata_document_at_document_root__1.xml +++ b/tests/Unit/Protocol/__snapshots__/ServiceMetadataTest__test_has_empty_metadata_document_at_document_root__1.xml @@ -8,7 +8,6 @@ - @@ -29,7 +28,15 @@ - + + + + + + + + + diff --git a/tests/Unit/Protocol/__snapshots__/ServiceMetadataTest__test_has_empty_metadata_document_at_document_root__3.json b/tests/Unit/Protocol/__snapshots__/ServiceMetadataTest__test_has_empty_metadata_document_at_document_root__3.json index d26b567ed..4101872e8 100644 --- a/tests/Unit/Protocol/__snapshots__/ServiceMetadataTest__test_has_empty_metadata_document_at_document_root__3.json +++ b/tests/Unit/Protocol/__snapshots__/ServiceMetadataTest__test_has_empty_metadata_document_at_document_root__3.json @@ -35,7 +35,13 @@ "multipart/mixed" ] }, - "@Org.OData.Capabilities.V1.CallbackSupported": [], + "@Org.OData.Capabilities.V1.CallbackSupported": { + "CallbackProtocols": [ + { + "Id": "http" + } + ] + }, "@Org.OData.Capabilities.V1.ConformanceLevel": "Org.OData.Capabilities.V1.ConformanceLevelType/Advanced", "@Org.OData.Capabilities.V1.KeyAsSegmentSupported": true, "@Org.OData.Capabilities.V1.QuerySegmentSupported": true, diff --git a/tests/Unit/Protocol/__snapshots__/ServiceMetadataTest__test_has_flight_metadata_document_at_document_root__1.xml b/tests/Unit/Protocol/__snapshots__/ServiceMetadataTest__test_has_flight_metadata_document_at_document_root__1.xml index edead750e..af3167f9c 100644 --- a/tests/Unit/Protocol/__snapshots__/ServiceMetadataTest__test_has_flight_metadata_document_at_document_root__1.xml +++ b/tests/Unit/Protocol/__snapshots__/ServiceMetadataTest__test_has_flight_metadata_document_at_document_root__1.xml @@ -343,7 +343,15 @@ - + + + + + + + + + diff --git a/tests/Unit/Protocol/__snapshots__/ServiceMetadataTest__test_has_flight_metadata_document_at_document_root__3.json b/tests/Unit/Protocol/__snapshots__/ServiceMetadataTest__test_has_flight_metadata_document_at_document_root__3.json index 8251ea04f..93e8fa515 100644 --- a/tests/Unit/Protocol/__snapshots__/ServiceMetadataTest__test_has_flight_metadata_document_at_document_root__3.json +++ b/tests/Unit/Protocol/__snapshots__/ServiceMetadataTest__test_has_flight_metadata_document_at_document_root__3.json @@ -214,7 +214,13 @@ "multipart/mixed" ] }, - "@Org.OData.Capabilities.V1.CallbackSupported": [], + "@Org.OData.Capabilities.V1.CallbackSupported": { + "CallbackProtocols": [ + { + "Id": "http" + } + ] + }, "@Org.OData.Capabilities.V1.ConformanceLevel": "Org.OData.Capabilities.V1.ConformanceLevelType/Advanced", "@Org.OData.Capabilities.V1.KeyAsSegmentSupported": true, "@Org.OData.Capabilities.V1.QuerySegmentSupported": true, diff --git a/tests/Unit/Queries/Entity/__snapshots__/SingletonTest__test_metadata__1.xml b/tests/Unit/Queries/Entity/__snapshots__/SingletonTest__test_metadata__1.xml index 68bf9753a..c75634657 100644 --- a/tests/Unit/Queries/Entity/__snapshots__/SingletonTest__test_metadata__1.xml +++ b/tests/Unit/Queries/Entity/__snapshots__/SingletonTest__test_metadata__1.xml @@ -34,7 +34,15 @@ - + + + + + + + + + diff --git a/tests/Unit/Queries/Entity/__snapshots__/SingletonTest__test_metadata__3.json b/tests/Unit/Queries/Entity/__snapshots__/SingletonTest__test_metadata__3.json index 1315c2b20..b648c5f19 100644 --- a/tests/Unit/Queries/Entity/__snapshots__/SingletonTest__test_metadata__3.json +++ b/tests/Unit/Queries/Entity/__snapshots__/SingletonTest__test_metadata__3.json @@ -38,7 +38,13 @@ "multipart/mixed" ] }, - "@Org.OData.Capabilities.V1.CallbackSupported": [], + "@Org.OData.Capabilities.V1.CallbackSupported": { + "CallbackProtocols": [ + { + "Id": "http" + } + ] + }, "@Org.OData.Capabilities.V1.ConformanceLevel": "Org.OData.Capabilities.V1.ConformanceLevelType/Advanced", "@Org.OData.Capabilities.V1.KeyAsSegmentSupported": true, "@Org.OData.Capabilities.V1.QuerySegmentSupported": true, diff --git a/tests/Unit/Queries/Types/__snapshots__/EnumerationTypeTest__test_metadata__1.xml b/tests/Unit/Queries/Types/__snapshots__/EnumerationTypeTest__test_metadata__1.xml index 98b51c792..1f33972c1 100644 --- a/tests/Unit/Queries/Types/__snapshots__/EnumerationTypeTest__test_metadata__1.xml +++ b/tests/Unit/Queries/Types/__snapshots__/EnumerationTypeTest__test_metadata__1.xml @@ -335,7 +335,15 @@ - + + + + + + + + + diff --git a/tests/Unit/Queries/Types/__snapshots__/EnumerationTypeTest__test_metadata__3.json b/tests/Unit/Queries/Types/__snapshots__/EnumerationTypeTest__test_metadata__3.json index 01f8937f2..4e37ef419 100644 --- a/tests/Unit/Queries/Types/__snapshots__/EnumerationTypeTest__test_metadata__3.json +++ b/tests/Unit/Queries/Types/__snapshots__/EnumerationTypeTest__test_metadata__3.json @@ -208,7 +208,13 @@ "multipart/mixed" ] }, - "@Org.OData.Capabilities.V1.CallbackSupported": [], + "@Org.OData.Capabilities.V1.CallbackSupported": { + "CallbackProtocols": [ + { + "Id": "http" + } + ] + }, "@Org.OData.Capabilities.V1.ConformanceLevel": "Org.OData.Capabilities.V1.ConformanceLevelType/Advanced", "@Org.OData.Capabilities.V1.KeyAsSegmentSupported": true, "@Org.OData.Capabilities.V1.QuerySegmentSupported": true, diff --git a/tests/Unit/Queries/Types/__snapshots__/EnumerationTypeTest__test_metadata_flags__1.xml b/tests/Unit/Queries/Types/__snapshots__/EnumerationTypeTest__test_metadata_flags__1.xml index af6b146d7..c16e8ba68 100644 --- a/tests/Unit/Queries/Types/__snapshots__/EnumerationTypeTest__test_metadata_flags__1.xml +++ b/tests/Unit/Queries/Types/__snapshots__/EnumerationTypeTest__test_metadata_flags__1.xml @@ -335,7 +335,15 @@ - + + + + + + + + + diff --git a/tests/Unit/Queries/Types/__snapshots__/EnumerationTypeTest__test_metadata_flags__3.json b/tests/Unit/Queries/Types/__snapshots__/EnumerationTypeTest__test_metadata_flags__3.json index 842b7274f..e1c0824ff 100644 --- a/tests/Unit/Queries/Types/__snapshots__/EnumerationTypeTest__test_metadata_flags__3.json +++ b/tests/Unit/Queries/Types/__snapshots__/EnumerationTypeTest__test_metadata_flags__3.json @@ -208,7 +208,13 @@ "multipart/mixed" ] }, - "@Org.OData.Capabilities.V1.CallbackSupported": [], + "@Org.OData.Capabilities.V1.CallbackSupported": { + "CallbackProtocols": [ + { + "Id": "http" + } + ] + }, "@Org.OData.Capabilities.V1.ConformanceLevel": "Org.OData.Capabilities.V1.ConformanceLevelType/Advanced", "@Org.OData.Capabilities.V1.KeyAsSegmentSupported": true, "@Org.OData.Capabilities.V1.QuerySegmentSupported": true, diff --git a/tests/Unit/Redis/__snapshots__/RedisTest__test_metadata__1.xml b/tests/Unit/Redis/__snapshots__/RedisTest__test_metadata__1.xml index 571429d3b..84474d543 100644 --- a/tests/Unit/Redis/__snapshots__/RedisTest__test_metadata__1.xml +++ b/tests/Unit/Redis/__snapshots__/RedisTest__test_metadata__1.xml @@ -93,7 +93,15 @@ - + + + + + + + + + diff --git a/tests/Unit/Redis/__snapshots__/RedisTest__test_metadata__3.json b/tests/Unit/Redis/__snapshots__/RedisTest__test_metadata__3.json index b96324243..d1b4b7faa 100644 --- a/tests/Unit/Redis/__snapshots__/RedisTest__test_metadata__3.json +++ b/tests/Unit/Redis/__snapshots__/RedisTest__test_metadata__3.json @@ -73,7 +73,13 @@ "multipart/mixed" ] }, - "@Org.OData.Capabilities.V1.CallbackSupported": [], + "@Org.OData.Capabilities.V1.CallbackSupported": { + "CallbackProtocols": [ + { + "Id": "http" + } + ] + }, "@Org.OData.Capabilities.V1.ConformanceLevel": "Org.OData.Capabilities.V1.ConformanceLevelType/Advanced", "@Org.OData.Capabilities.V1.KeyAsSegmentSupported": true, "@Org.OData.Capabilities.V1.QuerySegmentSupported": true, diff --git a/tests/schemas/edm.xsd b/tests/schemas/edm.xsd new file mode 100644 index 000000000..3fa9138f5 --- /dev/null +++ b/tests/schemas/edm.xsd @@ -0,0 +1,901 @@ + + + + + + + Entity Data Model part of the Common Schema Definition Language + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/tests/schemas/edmx.xsd b/tests/schemas/edmx.xsd new file mode 100644 index 000000000..74b4b93f8 --- /dev/null +++ b/tests/schemas/edmx.xsd @@ -0,0 +1,116 @@ + + + + + + + Entity Data Model Wrapper part of the Common Schema Definition Language + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file