Package | Description |
---|---|
org.genericsystem.api.core | |
org.genericsystem.api.core.annotations.constraints |
Modifier and Type | Interface and Description |
---|---|
interface |
IContext<T extends IGeneric<T>> |
interface |
IGeneric<T extends IGeneric<T>>
Represents a node of the graph.
|
static class |
IGeneric.Visitor<T extends IGeneric<T>>
Used for the path of a tree.
|
interface |
IRoot<T extends IGeneric<T>>
Represents the root of Generic System.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IRoot<T extends IGeneric<T>>
Represents the root of Generic System.
|
Modifier and Type | Method and Description |
---|---|
static <T extends IGeneric<T>> |
ApiStatics.areOverridesReached(List<T> supers,
List<T> overrides)
Checks that each of the
overrides is inherited by at least one of the supers . |
Modifier and Type | Method and Description |
---|---|
T[] |
IGeneric.addThisToTargets(T... targets)
Utility method for creating a real array of
T implementation with this in first position and targets after. |
T[] |
IGeneric.addThisToTargets(T firstTarget,
T... otherTargets)
Utility method for create a real array of
T implementation with this in first position, firstTarget in second position and otherTargets after. |
T[] |
IGeneric.coerceToTArray(Object... array)
Technical method for creating a real array of
T implementation for passing safe varags parameter and avoid heap pollution. |
Modifier and Type | Method and Description |
---|---|
T |
IGeneric.addAttribute(List<T> overrides,
Serializable value,
T... targets)
Returns a new attribute on this type that satisfies the specified
overrides , value and targets . |
T |
IGeneric.addAttribute(Serializable value,
T... targets)
Returns a new attribute on this type that satisfies the specified
value and targets . |
T |
IGeneric.addAttribute(T override,
Serializable value,
T... targets)
Returns a new attribute on this type that satisfies the specified
override , value and targets . |
T |
IGeneric.addHolder(T attribute,
List<T> overrides,
Serializable value,
T... targets)
Returns a new holder on this instance that satisfies the specified
overrides , value and targets . |
T |
IGeneric.addHolder(T attribute,
Serializable value,
T... targets)
Returns a new holder on this instance that satisfies the specified
value and targets . |
T |
IGeneric.addHolder(T attribute,
T override,
Serializable value,
T... targets)
Returns a new holder on this instance that satisfies the specified
override , value and targets . |
T |
IGeneric.addInstance(List<T> overrides,
Serializable value,
T... components)
Returns a new instance of this type that satisfies the specified
overrides , value and components . |
T |
IGeneric.addInstance(Serializable value,
T... components)
Returns a new instance of this type that satisfies the specified
value and components . |
T |
IGeneric.addInstance(T override,
Serializable value,
T... components)
Returns a new instance of this type that satisfies the specified
override , value and components . |
T |
IGeneric.addLink(T relation,
List<T> overrides,
Serializable value,
T firstTarget,
T... otherTargets)
Returns a new link on this instance that satisfies the specified
overrides , value , firstTarget and otherTargets . |
T |
IGeneric.addLink(T relation,
Serializable value,
T firstTarget,
T... otherTargets)
Returns a new link on this instance that satisfies the specified
value , firstTarget and otherTargets . |
T |
IGeneric.addLink(T relation,
T override,
Serializable value,
T firstTarget,
T... otherTargets)
Returns a new link on this instance that satisfies the specified
override , value , firstTarget and otherTargets . |
T |
IGeneric.addRelation(List<T> overrides,
Serializable value,
T firstTarget,
T... otherTargets)
Returns a new relation on this type that satisfies the specified
overrides , value , firstTarget and otherTargets . |
T |
IGeneric.addRelation(Serializable value,
T firstTarget,
T... otherTargets)
Returns a new relation on this type that satisfies the specified
value , firstTarget and otherTargets . |
T |
IGeneric.addRelation(T override,
Serializable value,
T firstTarget,
T... otherTargets)
Returns a new relation on this type that satisfies the specified
override , value , firstTarget and otherTargets . |
T[] |
IGeneric.addThisToTargets(T... targets)
Utility method for creating a real array of
T implementation with this in first position and targets after. |
T[] |
IGeneric.addThisToTargets(T firstTarget,
T... otherTargets)
Utility method for create a real array of
T implementation with this in first position, firstTarget in second position and otherTargets after. |
T |
IGeneric.disableSystemProperty(Class<? extends IGeneric.SystemProperty> propertyClass,
int pos,
T... targets)
Disable this vertex for the specified boolean system property, position and
targets . |
T |
IGeneric.enableSystemProperty(Class<? extends IGeneric.SystemProperty> propertyClass,
int pos,
T... targets)
Enable this vertex for the specified boolean system property, position and
targets . |
T |
IGeneric.getAttribute(Serializable value,
T... targets)
Returns if exists the attribute of this (meta) vertex.
|
T |
IGeneric.getAttribute(T... targets)
Returns if exists the attribute of this (meta) vertex.
|
Snapshot<T> |
IGeneric.getAttributes(Serializable value,
T... targets)
Returns the attributes of this vertex (directly if this vertex is a type, the attributes of its type if this vertex is an instance).
|
Snapshot<T> |
IGeneric.getAttributes(T... targets)
Returns the attributes of this vertex (directly if this vertex is a type, the attributes of its type if this vertex is an instance).
|
T |
IGeneric.getHolder(T attribute,
Serializable value,
T... targets)
Returns if exists the holder of this (meta) vertex.
|
T |
IGeneric.getHolder(T attribute,
T... targets)
Returns if exists the holder of this (meta) vertex.
|
Snapshot<T> |
IGeneric.getHolders(T attribute,
Serializable value,
T... targets)
Returns the holders of this vertex that are instances of the specified attribute and for which this vertex is in the specified position in the components of these holders.
|
Snapshot<T> |
IGeneric.getHolders(T attribute,
T... targets)
Returns the holders of this vertex that are instances of the specified attribute and for which this vertex is in the specified position in the components of these holders.
|
T |
IGeneric.getInheriting(Serializable value,
T... components)
Return vertex that have this vertex as super.
|
T |
IGeneric.getInheriting(T... components)
Return vertex that have this vertex as super.
|
Snapshot<T> |
IGeneric.getInheritings(Serializable value,
T... components)
Returns vertices that have this vertex as super.
|
Snapshot<T> |
IGeneric.getInheritings(T... components)
Returns vertices that have this vertex as super.
|
T |
IGeneric.getInstance(List<T> overrides,
Serializable value,
T... components)
Returns if exists an instance of this (meta) vertex.
|
T |
IGeneric.getInstance(Serializable value,
T... components)
Returns if exists an instance of this (meta) vertex.
|
T |
IGeneric.getInstance(T... components)
Returns if exists an instance of this (meta) vertex.
|
T |
IGeneric.getInstance(T override,
Serializable value,
T... components)
Returns if exists an instance of this (meta) vertex.
|
Snapshot<T> |
IGeneric.getInstances(List<T> overrides,
Serializable value,
T... components)
Returns vertices that have this vertex as meta.
|
Snapshot<T> |
IGeneric.getInstances(Serializable value,
T... components)
Returns vertices that have this vertex as meta.
|
Snapshot<T> |
IGeneric.getInstances(T... components)
Returns vertices that have this vertex as meta.
|
Snapshot<T> |
IGeneric.getInstances(T override,
Serializable value,
T... components)
Returns vertices that have this vertex as meta.
|
T |
IGeneric.getLink(T relation,
Serializable value,
T... targets)
Returns if exists the link of this (meta) vertex.
|
T |
IGeneric.getLink(T relation,
T... targets)
Returns if exists the link of this (meta) vertex.
|
Snapshot<T> |
IGeneric.getLinks(T relation,
Serializable value,
T... targets)
Returns the links of this vertex that are instances of the specified
relation and for which this vertex is in the specified position in the components of these links. |
Snapshot<T> |
IGeneric.getLinks(T relation,
T... targets)
Returns the links of this vertex that are instances of the specified
relation and for which this vertex is in the specified position in the components of these links. |
T |
IGeneric.getRelation(Serializable value,
T... targets)
Returns if exists the relation of this (meta) vertex.
|
T |
IGeneric.getRelation(T... targets)
Returns if exists the relation of this (meta) vertex.
|
Snapshot<T> |
IGeneric.getRelations(Serializable value,
T... targets)
Returns the relations of this vertex that inherit from the specified
relation . |
Snapshot<T> |
IGeneric.getRelations(T... targets)
Returns the relations of this vertex that inherit from the specified
relation . |
T |
IGeneric.getSubInheriting(Serializable value,
T... components)
Returns vertex that inherit from this vertex.
|
T |
IGeneric.getSubInheriting(T... components)
Returns vertex that inherit from this vertex.
|
Snapshot<T> |
IGeneric.getSubInheritings(Serializable value,
T... components)
Returns vertices that inherit from this vertex.
|
Snapshot<T> |
IGeneric.getSubInheritings(T... components)
Returns vertices that inherit from this vertex.
|
T |
IGeneric.getSubInstance(List<T> overrides,
Serializable value,
T... components)
Return vertex that are instances of this vertex.
|
T |
IGeneric.getSubInstance(Serializable value,
T... components)
Return vertex that are instances of this vertex.
|
T |
IGeneric.getSubInstance(T... components)
Return vertex that are instances of this vertex.
|
T |
IGeneric.getSubInstance(T override,
Serializable value,
T... components)
Return vertex that are instances of this vertex.
|
Snapshot<T> |
IGeneric.getSubInstances(List<T> overrides,
Serializable value,
T... components)
Returns vertices that are instances of this vertex.
|
Snapshot<T> |
IGeneric.getSubInstances(Serializable value,
T... components)
Returns vertices that are instances of this vertex.
|
Snapshot<T> |
IGeneric.getSubInstances(T... components)
Returns vertices that are instances of this vertex.
|
Snapshot<T> |
IGeneric.getSubInstances(T override,
Serializable value,
T... components)
Returns vertices that are instances of this vertex.
|
Serializable |
IGeneric.getValue(T attribute,
Serializable value,
T... targets)
Return value for each holder that is instance of the specified
attribute and position and for which this vertex is in the specified position in its components. |
Serializable |
IGeneric.getValue(T attribute,
T... targets)
Return value for each holder that is instance of the specified
attribute and position and for which this vertex is in the specified position in its components. |
Snapshot<Serializable> |
IGeneric.getValues(T attribute,
Serializable value,
T... targets)
Returns values for each holder that is instance of the specified
attribute and position and for which this vertex is in the specified position in its components. |
Snapshot<Serializable> |
IGeneric.getValues(T attribute,
T... targets)
Returns values for each holder that is instance of the specified
attribute and position and for which this vertex is in the specified position in its components. |
T |
IGeneric.setAttribute(List<T> overrides,
Serializable value,
T... targets)
Returns a new or the existing attribute on this type that satisfies the specified
overrides , value and targets . |
T |
IGeneric.setAttribute(Serializable value,
T... targets)
Returns a new or the existing attribute on this type that satisfies the specified
value and targets . |
T |
IGeneric.setAttribute(T override,
Serializable value,
T... targets)
Returns a new or the existing attribute on this type that satisfies the specified
override , value and targets . |
T |
IGeneric.setHolder(T attribute,
List<T> overrides,
Serializable value,
T... targets)
Returns a new or the existing holder on this type that satisfies the specified
overrides , value and targets . |
T |
IGeneric.setHolder(T attribute,
Serializable value,
T... targets)
Returns a new or the existing holder on this type that satisfies the specified
overrides , value and targets . |
T |
IGeneric.setHolder(T attribute,
T override,
Serializable value,
T... targets)
Returns a new or the existing holder on this type that satisfies the specified
overrides , value and targets . |
T |
IGeneric.setInstance(List<T> overrides,
Serializable value,
T... components)
Returns an existing or a new instance of this type that satisfies the specified
overrides , value and components . |
T |
IGeneric.setInstance(Serializable value,
T... components)
Returns an existing or a new instance of this type that satisfies the specified
value and components . |
T |
IGeneric.setInstance(T override,
Serializable value,
T... components)
Returns an existing or a new instance of this type that satisfies the specified
override , value and components . |
T |
IGeneric.setLink(T relation,
List<T> overrides,
Serializable value,
T firstTarget,
T... otherTargets)
Returns a new or the existing link on this type that satisfies the specified
overrides , value , firstTarget and otherTargets . |
T |
IGeneric.setLink(T relation,
Serializable value,
T firstTarget,
T... otherTargets)
Returns a new or the existing link on this type that satisfies the specified
overrides , value , firstTarget and otherTargets . |
T |
IGeneric.setLink(T relation,
T override,
Serializable value,
T firstTarget,
T... otherTargets)
Returns a new or the existing link on this type that satisfies the specified
override , value , firstTarget and otherTargets . |
T |
IGeneric.setRelation(List<T> overrides,
Serializable value,
T firstTarget,
T... otherTargets)
Returns a new or the existing relation on this type that satisfies the specified
overrides , value , firstTarget and otherTargets . |
T |
IGeneric.setRelation(Serializable value,
T firstTarget,
T... otherTargets)
Returns a new or the existing relation on this type that satisfies the specified
value , firstTarget and otherTargets . |
T |
IGeneric.setRelation(T override,
Serializable value,
T firstTarget,
T... otherTargets)
Returns a new or the existing relation on this type that satisfies the specified
override , value , firstTarget and otherTargets . |
T |
IGeneric.setSystemPropertyValue(Class<? extends IGeneric.SystemProperty> propertyClass,
int pos,
Serializable value,
T... targets)
Set the property value of this vertex for the specified system property, position and
targets . |
boolean |
IndexFilter.test(IGeneric<?> generic) |
T |
IGeneric.update(List<T> overrides,
Serializable newValue,
T... newComponents)
Update this Generic with the specified
overrides , newValue and newComponents . |
T |
IGeneric.update(Serializable newValue,
T... newComponents)
Update this Generic with the specified
newValue and newComponents . |
T |
IGeneric.update(T override,
Serializable newValue,
T... newComponents)
Update this Generic with the specified
override , newValue and newComponents . |
T |
IGeneric.updateComponents(T... newComponents)
Update the components of this Generic with the specified
newComponents . |
T |
IGeneric.updateSupers(T... overrides)
Update the supers of this Generic with the specified
overrides . |
Modifier and Type | Class and Description |
---|---|
static class |
InstanceValueGenerator.DefaultInstanceValueGenerator<T extends IGeneric<T>> |
static interface |
InstanceValueGenerator.ValueGenerator<T extends IGeneric<T>> |
Copyright © 2022. All rights reserved.