Skip to content

Commit 7e56da6

Browse files
Merge branch '29-package-docs' into v2.4.0
2 parents 1f7d2d6 + 4c22bc5 commit 7e56da6

File tree

8 files changed

+126
-0
lines changed

8 files changed

+126
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
/*
2+
* Copyright 2019 ObjectBox Ltd. All rights reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
/**
18+
* Annotations to mark APIs as for example {@link io.objectbox.annotation.apihint.Internal @Internal}
19+
* or {@link io.objectbox.annotation.apihint.Experimental @Experimental}.
20+
*/
21+
package io.objectbox.annotation.apihint;
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
/*
2+
* Copyright 2019 ObjectBox Ltd. All rights reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
/**
18+
* Annotations to mark a class as an {@link io.objectbox.annotation.Entity @Entity},
19+
* to specify the {@link io.objectbox.annotation.Id @Id} property,
20+
* to create an {@link io.objectbox.annotation.Index @Index} or
21+
* a {@link io.objectbox.annotation.Transient @Transient} property.
22+
* <p>
23+
* For more details look at the documentation of individual classes and
24+
* <a href="https://docs.objectbox.io/entity-annotations">docs.objectbox.io/entity-annotations</a>.
25+
*/
26+
package io.objectbox.annotation;
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/*
2+
* Copyright 2019 ObjectBox Ltd. All rights reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
/**
18+
* For use with {@link io.objectbox.annotation.Convert @Convert}: {@link io.objectbox.converter.PropertyConverter}
19+
* to convert custom property types.
20+
* <p>
21+
* For more details look at the documentation of individual classes and
22+
* <a href="https://docs.objectbox.io/advanced/custom-types">docs.objectbox.io/advanced/custom-types</a>.
23+
*/
24+
package io.objectbox.converter;
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
/*
2+
* Copyright 2019 ObjectBox Ltd. All rights reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
/**
18+
* Various exceptions thrown by ObjectBox.
19+
*/
20+
package io.objectbox.exception;

objectbox-java/src/main/java/io/objectbox/package-info.java

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,20 @@
1414
* limitations under the License.
1515
*/
1616

17+
/**
18+
* ObjectBox is an an easy to use, object-oriented lightweight database and a full alternative to SQLite.
19+
* <p>
20+
* The following core classes are the essential interface to ObjectBox:
21+
* <ul>
22+
* <li>MyObjectBox: Generated by the Gradle plugin, supplies a {@link io.objectbox.BoxStoreBuilder}
23+
* to build a BoxStore for your app.</li>
24+
* <li>{@link io.objectbox.BoxStore}: The database interface, allows to manage Boxes.</li>
25+
* <li>{@link io.objectbox.Box}: Persists and queries for entities, there is one for each entity.</li>
26+
* </ul>
27+
* <p>
28+
* For more details look at the documentation of individual classes and
29+
* <a href="https://docs.objectbox.io">docs.objectbox.io</a>.
30+
*/
1731
@ParametersAreNonnullByDefault
1832
package io.objectbox;
1933

objectbox-java/src/main/java/io/objectbox/query/package-info.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@
1414
* limitations under the License.
1515
*/
1616

17+
/**
18+
* Classes related to {@link io.objectbox.query.QueryBuilder building}
19+
* a {@link io.objectbox.query.Query} or {@link io.objectbox.query.PropertyQuery}.
20+
* <p>
21+
* For more details look at the documentation of individual classes and
22+
* <a href="https://docs.objectbox.io/queries">docs.objectbox.io/queries</a>.
23+
*/
1724
@ParametersAreNonnullByDefault
1825
package io.objectbox.query;
1926

objectbox-java/src/main/java/io/objectbox/reactive/package-info.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@
1414
* limitations under the License.
1515
*/
1616

17+
/**
18+
* Classes to {@link io.objectbox.reactive.SubscriptionBuilder configure}
19+
* a {@link io.objectbox.reactive.DataSubscription} for observing box or query changes.
20+
* <p>
21+
* For more details look at the documentation of individual classes and
22+
* <a href="https://docs.objectbox.io/data-observers-and-rx">docs.objectbox.io/data-observers-and-rx</a>.
23+
*/
1724
@ParametersAreNonnullByDefault
1825
package io.objectbox.reactive;
1926

objectbox-java/src/main/java/io/objectbox/relation/package-info.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@
1414
* limitations under the License.
1515
*/
1616

17+
/**
18+
* Classes to manage {@link io.objectbox.relation.ToOne} and {@link io.objectbox.relation.ToMany}
19+
* relations between entities.
20+
* <p>
21+
* For more details look at the documentation of individual classes and
22+
* <a href="https://docs.objectbox.io/relations">docs.objectbox.io/relations</a>.
23+
*/
1724
@ParametersAreNonnullByDefault
1825
package io.objectbox.relation;
1926

0 commit comments

Comments
 (0)