GeezerVison is showing github.com — Add package docs. · a200332/objectbox-java@4c22bc5
File treeExpand file treeCollapse file tree Open diff view settings objectbox-java-api/src/main/java/io/objectbox objectbox-java/src/main/java/io/objectbox
Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboard +21Lines changed: 21 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| | 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; |
Collapse file Copy file name to clipboard +26Lines changed: 26 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| | 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; |
Collapse file Copy file name to clipboard +24Lines changed: 24 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| | 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; |
Collapse file Copy file name to clipboard +20Lines changed: 20 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| | 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; |
Collapse file Copy file name to clipboardExpand all lines: objectbox-java/src/main/java/io/objectbox/package-info.java +14Lines changed: 14 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 14 | 14 | * limitations under the License. | 15 | 15 | */ | 16 | 16 |
| | 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 | + */ | 17 | 31 | @ParametersAreNonnullByDefault | 18 | 32 | package io.objectbox; | 19 | 33 |
| |
Collapse file Copy file name to clipboardExpand all lines: objectbox-java/src/main/java/io/objectbox/query/package-info.java +7Lines changed: 7 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 14 | 14 | * limitations under the License. | 15 | 15 | */ | 16 | 16 |
| | 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 | + */ | 17 | 24 | @ParametersAreNonnullByDefault | 18 | 25 | package io.objectbox.query; | 19 | 26 |
| |
Collapse file Copy file name to clipboardExpand all lines: objectbox-java/src/main/java/io/objectbox/reactive/package-info.java +7Lines changed: 7 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 14 | 14 | * limitations under the License. | 15 | 15 | */ | 16 | 16 |
| | 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 | + */ | 17 | 24 | @ParametersAreNonnullByDefault | 18 | 25 | package io.objectbox.reactive; | 19 | 26 |
| |
Collapse file Copy file name to clipboardExpand all lines: objectbox-java/src/main/java/io/objectbox/relation/package-info.java +7Lines changed: 7 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 14 | 14 | * limitations under the License. | 15 | 15 | */ | 16 | 16 |
| | 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 | + */ | 17 | 24 | @ParametersAreNonnullByDefault | 18 | 25 | package io.objectbox.relation; | 19 | 26 |
| |
|