| 1: | <?php |
| 2: | |
| 3: | declare(strict_types=1); |
| 4: | |
| 5: | namespace LaravelUi5\OData\Service\Contracts; |
| 6: | |
| 7: | use LaravelUi5\OData\Edm\Contracts\Container\EntitySetInterface; |
| 8: | use LaravelUi5\OData\Edm\Contracts\Container\FunctionImportInterface; |
| 9: | use LaravelUi5\OData\Edm\Contracts\Container\SingletonInterface; |
| 10: | use LaravelUi5\OData\Edm\Contracts\Type\EnumTypeInterface; |
| 11: | use LaravelUi5\OData\Edm\Contracts\EdmxInterface; |
| 12: | use LaravelUi5\OData\Edm\Contracts\FunctionInterface; |
| 13: | use LaravelUi5\OData\Edm\Contracts\Property\NavigationPropertyInterface; |
| 14: | use LaravelUi5\OData\Edm\Contracts\ReferenceInterface; |
| 15: | use LaravelUi5\OData\Edm\Vocabularies\Vocabulary; |
| 16: | use LaravelUi5\OData\Edm\Contracts\Type\ComplexTypeInterface; |
| 17: | use LaravelUi5\OData\Edm\Contracts\Type\EntityTypeInterface; |
| 18: | use LaravelUi5\OData\Edm\Contracts\Type\TypeDefinitionInterface; |
| 19: | |
| 20: | |
| 21: | |
| 22: | |
| 23: | |
| 24: | |
| 25: | |
| 26: | |
| 27: | |
| 28: | |
| 29: | |
| 30: | |
| 31: | |
| 32: | |
| 33: | interface EdmBuilderInterface |
| 34: | { |
| 35: | |
| 36: | |
| 37: | |
| 38: | |
| 39: | |
| 40: | public function namespace(string $namespace): static; |
| 41: | |
| 42: | |
| 43: | |
| 44: | |
| 45: | public function alias(string $alias): static; |
| 46: | |
| 47: | |
| 48: | |
| 49: | |
| 50: | |
| 51: | |
| 52: | |
| 53: | |
| 54: | public function containerName(string $name): static; |
| 55: | |
| 56: | |
| 57: | |
| 58: | public function addReference(ReferenceInterface $reference): static; |
| 59: | |
| 60: | |
| 61: | |
| 62: | |
| 63: | |
| 64: | |
| 65: | |
| 66: | public function useVocabulary(Vocabulary $vocabulary): static; |
| 67: | |
| 68: | |
| 69: | |
| 70: | public function addEntityType(EntityTypeInterface $type): static; |
| 71: | |
| 72: | public function addComplexType(ComplexTypeInterface $type): static; |
| 73: | |
| 74: | public function addEnumType(EnumTypeInterface $type): static; |
| 75: | |
| 76: | public function addTypeDefinition(TypeDefinitionInterface $type): static; |
| 77: | |
| 78: | public function addFunction(FunctionInterface $function): static; |
| 79: | |
| 80: | |
| 81: | |
| 82: | |
| 83: | |
| 84: | |
| 85: | |
| 86: | |
| 87: | |
| 88: | public function addEntitySet(EntitySetInterface $set): static; |
| 89: | |
| 90: | |
| 91: | |
| 92: | |
| 93: | |
| 94: | |
| 95: | |
| 96: | public function injectNavigationProperty( |
| 97: | string $entityTypeName, |
| 98: | NavigationPropertyInterface $navProperty, |
| 99: | string $targetEntitySetName, |
| 100: | ): static; |
| 101: | |
| 102: | |
| 103: | |
| 104: | |
| 105: | |
| 106: | |
| 107: | |
| 108: | public function addSingleton(SingletonInterface $singleton): static; |
| 109: | |
| 110: | |
| 111: | |
| 112: | |
| 113: | |
| 114: | |
| 115: | public function addFunctionImport(FunctionImportInterface $import): static; |
| 116: | |
| 117: | |
| 118: | |
| 119: | |
| 120: | |
| 121: | |
| 122: | |
| 123: | |
| 124: | |
| 125: | public function build(): EdmxInterface; |
| 126: | } |
| 127: | |