| Modifier and Type | Method and Description |
|---|---|
Property |
BundleContext.bundle() |
static Property |
AppCtxHelper.get(Property property,
String name) |
| Modifier and Type | Method and Description |
|---|---|
PropertyAdapter |
PropertyAdapterFactory.create(Property property) |
static Property |
AppCtxHelper.get(Property property,
String name) |
AppCtx |
PropertyAdapterResolver.getAdapter(Property property) |
AppCtx |
AppCtx.of(Property p) |
static AppCtx |
AppCtx.of(Property p,
AppCtx parent) |
AppCtx |
AppCtx.with(String key,
Property prop) |
| Constructor and Description |
|---|
AppCtx(Property property) |
AppCtx(Property property,
boolean checkAdapter) |
BundleContext(Property property) |
PropertyAdapter(Property property) |
| Modifier and Type | Method and Description |
|---|---|
static Object |
SQLUtils.value(Property prop) |
| Modifier and Type | Method and Description |
|---|---|
T |
AbstractPersistenceDom.with(Property prop) |
T |
AbstractPersistenceDom.with(String key,
Property gmoElement) |
| Constructor and Description |
|---|
HyperonPersistenceRemoveException(Property prop,
Property referenced) |
| Modifier and Type | Method and Description |
|---|---|
Property |
BundleData.findSimpleProperty(long propId,
String propName,
String defName,
String simpleType,
String name) |
Property |
RefLink.getTarget() |
| Modifier and Type | Method and Description |
|---|---|
Set<Property> |
IdentitySet.getAll() |
| Modifier and Type | Method and Description |
|---|---|
void |
IdentitySet.add(Property obj) |
static int |
BundleHelper.computeHash(Property prop) |
boolean |
IdentitySet.contains(Property obj) |
static List<RefLink> |
BundleHelper.createRefLinks(Property prop) |
Object |
IdentitySet.remove(Property obj) |
default void |
PropertyVisitor.visit(Property p,
ElementType type)
method to visit whole subtree starting from given property.
|
void |
PropertyVisitor.visit(Property p,
String path,
ElementType type)
Deprecated.
|
static void |
BundleWalker.walk(Property root,
PropertyVisitor visitor) |
static void |
BundleWalker.walk(Property root,
PropertyVisitor visitor,
boolean usePathsInVisitor) |
| Modifier and Type | Method and Description |
|---|---|
Property |
PropertyDef.createProperty() |
| Modifier and Type | Class and Description |
|---|---|
class |
Bundle
This is main class, that developer can interact with using hyperon persistence engine.
|
class |
CollectionProperty
This class represents collection of properties, that should store other properties with the same type
TypeDef. |
class |
EntityProperty
This class represents property of entity (complex) type with fields.
|
class |
RefProperty
This class represents reference (pointer) to real
target Property. |
class |
ValueProperty
This class represents value property, which is a simple wrapper for any value of simple type.
|
| Modifier and Type | Method and Description |
|---|---|
Property |
Property.add(Property... properties)
Adds one or multiple properties to collection property.
|
Property |
Handle.add(Property... properties)
Adds one or multiple properties to collection property.
|
Property |
Property.add(String path,
Property... properties)
Adds one or multiple properties to collection property, that exists under given
path. |
Property |
Handle.add(String path,
Property... properties)
Adds one or multiple properties to collection property, that exists under given
path. |
Property |
Property.at(int index) |
Property |
Handle.at(int index)
Gets property at given
index withing this property. |
Property |
CollectionProperty.at(int index)
Gets property at given
index withing this property. |
Property |
Property.clear() |
Property |
Handle.clear()
Clear all children of
this property. |
Property |
CollectionProperty.clear()
Clear all children of
this property. |
Property |
Property.create() |
Property |
Handle.create() |
Property |
CollectionProperty.create()
Creates new property of
EntityProperty with compound type matching collection supported type. |
Property |
EntityProperty.create() |
Property |
Bundle.create(String type)
Create instance of property, that matches given
type name from associated bundle definition. |
Property |
Property.deepcopy()
- creates deepcopy of this property
- resets all IDs and ownerIDs
|
abstract Property |
Property.deepcopy(boolean resetIds)
Returns deep copy of this property's subtree.
|
Property |
RefProperty.deepcopy(boolean resetIds)
Creates new instance of
RefProperty with same target instance. |
Property |
CollectionProperty.deepcopy(boolean resetIds)
Creates defensive copies of collection property and it's property elements.
|
Property |
ValueProperty.deepcopy(boolean resetIds)
Returns deep copy of this property's subtree.
|
Property |
EntityProperty.deepcopy(boolean resetIds)
Returns deep copy of this property's subtree.
|
default Property |
Handle.find(long id)
Find child property by id.
|
Property |
RefProperty.find(long id)
Find child property in the target.
|
Property |
CollectionProperty.find(long id)
Search for element with id within collection and it's subtree.
|
Property |
EntityProperty.find(long id)
Find child property by id.
|
Property |
Property.get(String path)
Gets property under given
path. |
Property |
Handle.get(String path)
Gets property under given
path. |
Property |
Property.getContainer() |
Property |
Handle.getEntity(String path)
Find entity property based on given
path within this property subtree. |
Property |
EntityProperty.getProp(String name)
Gets property based on given
name. |
Property |
Property.getRefTarget()
Gets property of reference's target.
|
Property |
Handle.getRefTarget()
Gets property of reference's target.
|
Property |
RefProperty.getRefTarget()
Gets property of reference's target.
|
Property |
Property.remove()
Removes itself.
|
Property |
Bundle.remove()
This method is not supported.
|
Property |
Handle.remove()
Removes itself.
|
Property |
Property.remove(String path)
Removes property from given
path. |
Property |
Handle.remove(String path)
Removes property from given
path. |
Property |
Property.set(String path,
Object value)
Sets new
value under given path, which must exists. |
Property |
Handle.set(String path,
Object value)
Sets new
value under given path, which must exists. |
Property[] |
CollectionProperty.toArray()
Creates snapshot array
|
| Modifier and Type | Method and Description |
|---|---|
Set<Property> |
Bundle.getAll()
Get all properties within bundle.
|
Map<String,Property> |
EntityProperty.getFields() |
List<Property> |
CollectionProperty.getList() |
Iterator<Property> |
Property.iterator()
.
|
Iterator<Property> |
CollectionProperty.iterator() |
| Modifier and Type | Method and Description |
|---|---|
CollectionProperty |
CollectionProperty.add(int index,
Property property)
Attach given
property at provided index. |
CollectionProperty |
CollectionProperty.add(int index,
Property property,
boolean checkRef)
Attach given
property at provided index. |
Property |
Property.add(Property... properties)
Adds one or multiple properties to collection property.
|
Property |
Handle.add(Property... properties)
Adds one or multiple properties to collection property.
|
CollectionProperty |
CollectionProperty.add(Property... properties)
Adds multiple properties in given order using
CollectionProperty.add(Property). |
CollectionProperty |
CollectionProperty.add(Property property)
Attach given
property at the end. |
CollectionProperty |
CollectionProperty.add(Property property,
boolean checkRef)
Attach given
property at the end. |
Property |
Property.add(String path,
Property... properties)
Adds one or multiple properties to collection property, that exists under given
path. |
Property |
Handle.add(String path,
Property... properties)
Adds one or multiple properties to collection property, that exists under given
path. |
Bundle |
Bundle.add(String name,
Property prop)
Adds given
property under provided name. |
EntityProperty |
EntityProperty.add(String name,
Property prop)
Adds given
property under provided name. |
boolean |
Bundle.contains(Property prop)
Checks if given
prop property exists within bundle. |
CollectionProperty |
CollectionProperty.set(int index,
Property property)
Attach given
property at provided index. |
void |
Property.setContainer(Property container)
Sets container for property.
|
void |
IdentityScanner.visit(Property p,
ElementType type) |
void |
IdentityScanner.visit(Property p,
String path,
ElementType type) |
| Constructor and Description |
|---|
RefProperty(Property target)
Creates reference property, which points to
target Property. |
| Modifier and Type | Method and Description |
|---|---|
T |
ModelFactory.create(Property p) |
T |
ModelFactoryImpl.create(Property p) |
| Constructor and Description |
|---|
HyperonEntityList(Property coll,
Class<T> adapterClass) |
Copyright © 2021. All rights reserved.