|
1 | | -/* |
2 | | - * DISCLAIMER |
3 | | - * |
4 | | - * Copyright 2017 ArangoDB GmbH, Cologne, Germany |
5 | | - * |
6 | | - * Licensed under the Apache License, Version 2.0 (the "License"); |
7 | | - * you may not use this file except in compliance with the License. |
8 | | - * You may obtain a copy of the License at |
9 | | - * |
10 | | - * http://www.apache.org/licenses/LICENSE-2.0 |
11 | | - * |
12 | | - * Unless required by applicable law or agreed to in writing, software |
13 | | - * distributed under the License is distributed on an "AS IS" BASIS, |
14 | | - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
15 | | - * See the License for the specific language governing permissions and |
16 | | - * limitations under the License. |
17 | | - * |
18 | | - * Copyright holder is ArangoDB GmbH, Cologne, Germany |
19 | | - */ |
20 | | - |
21 | | -package com.arangodb.springframework.core.mapping; |
22 | | - |
23 | | -import java.util.Optional; |
24 | | - |
25 | | -import org.springframework.data.mapping.PersistentProperty; |
26 | | - |
27 | | -import com.arangodb.springframework.annotation.From; |
28 | | -import com.arangodb.springframework.annotation.FulltextIndexed; |
29 | | -import com.arangodb.springframework.annotation.GeoIndexed; |
30 | | -import com.arangodb.springframework.annotation.HashIndexed; |
31 | | -import com.arangodb.springframework.annotation.PersistentIndexed; |
32 | | -import com.arangodb.springframework.annotation.Ref; |
33 | | -import com.arangodb.springframework.annotation.Relations; |
34 | | -import com.arangodb.springframework.annotation.SkiplistIndexed; |
35 | | -import com.arangodb.springframework.annotation.To; |
36 | | - |
37 | | -/** |
38 | | - * @author Mark Vollmary |
39 | | - * |
40 | | - */ |
41 | | -public interface ArangoPersistentProperty extends PersistentProperty<ArangoPersistentProperty> { |
42 | | - |
43 | | - String getFieldName(); |
44 | | - |
45 | | - boolean isKeyProperty(); |
46 | | - |
47 | | - boolean isRevProperty(); |
48 | | - |
49 | | - Optional<Ref> getRef(); |
50 | | - |
51 | | - Optional<Relations> getRelations(); |
52 | | - |
53 | | - Optional<From> getFrom(); |
54 | | - |
55 | | - Optional<To> getTo(); |
56 | | - |
57 | | - Optional<HashIndexed> getHashIndexed(); |
58 | | - |
59 | | - Optional<SkiplistIndexed> getSkiplistIndexed(); |
60 | | - |
61 | | - Optional<PersistentIndexed> getPersistentIndexed(); |
62 | | - |
63 | | - Optional<GeoIndexed> getGeoIndexed(); |
64 | | - |
65 | | - Optional<FulltextIndexed> getFulltextIndexed(); |
66 | | - |
67 | | -} |
| 1 | +/* |
| 2 | + * DISCLAIMER |
| 3 | + * |
| 4 | + * Copyright 2017 ArangoDB GmbH, Cologne, Germany |
| 5 | + * |
| 6 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | + * you may not use this file except in compliance with the License. |
| 8 | + * You may obtain a copy of the License at |
| 9 | + * |
| 10 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | + * |
| 12 | + * Unless required by applicable law or agreed to in writing, software |
| 13 | + * distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | + * See the License for the specific language governing permissions and |
| 16 | + * limitations under the License. |
| 17 | + * |
| 18 | + * Copyright holder is ArangoDB GmbH, Cologne, Germany |
| 19 | + */ |
| 20 | + |
| 21 | +package com.arangodb.springframework.core.mapping; |
| 22 | + |
| 23 | +import java.util.Optional; |
| 24 | + |
| 25 | +import org.springframework.data.mapping.PersistentProperty; |
| 26 | + |
| 27 | +import com.arangodb.springframework.annotation.From; |
| 28 | +import com.arangodb.springframework.annotation.FulltextIndexed; |
| 29 | +import com.arangodb.springframework.annotation.GeoIndexed; |
| 30 | +import com.arangodb.springframework.annotation.HashIndexed; |
| 31 | +import com.arangodb.springframework.annotation.PersistentIndexed; |
| 32 | +import com.arangodb.springframework.annotation.Ref; |
| 33 | +import com.arangodb.springframework.annotation.Relations; |
| 34 | +import com.arangodb.springframework.annotation.SkiplistIndexed; |
| 35 | +import com.arangodb.springframework.annotation.To; |
| 36 | + |
| 37 | +/** |
| 38 | + * @author Mark Vollmary |
| 39 | + * |
| 40 | + */ |
| 41 | +public interface ArangoPersistentProperty extends PersistentProperty<ArangoPersistentProperty> { |
| 42 | + |
| 43 | + String getFieldName(); |
| 44 | + |
| 45 | + boolean isRevProperty(); |
| 46 | + |
| 47 | + Optional<Ref> getRef(); |
| 48 | + |
| 49 | + Optional<Relations> getRelations(); |
| 50 | + |
| 51 | + Optional<From> getFrom(); |
| 52 | + |
| 53 | + Optional<To> getTo(); |
| 54 | + |
| 55 | + Optional<HashIndexed> getHashIndexed(); |
| 56 | + |
| 57 | + Optional<SkiplistIndexed> getSkiplistIndexed(); |
| 58 | + |
| 59 | + Optional<PersistentIndexed> getPersistentIndexed(); |
| 60 | + |
| 61 | + Optional<GeoIndexed> getGeoIndexed(); |
| 62 | + |
| 63 | + Optional<FulltextIndexed> getFulltextIndexed(); |
| 64 | + |
| 65 | +} |
0 commit comments