Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- Attribute(String, Class<T>, Entity.Cardinality, String) - Constructor for record class net.tangly.gleam.model.Entity.Attribute
-
Creates an instance of a
Attribute
record class.
C
- cardinality() - Method in record class net.tangly.gleam.model.Entity.Attribute
-
Returns the value of the
cardinality
record component. - cardinality() - Method in record class net.tangly.gleam.model.Entity.Relation
-
Returns the value of the
cardinality
record component. - clazz() - Method in record class net.tangly.gleam.model.TsvEntity
-
Returns the value of the
clazz
record component. - columns() - Method in record class net.tangly.gleam.model.TsvProperty
-
Returns the value of the
columns
record component. - CONVERT_BIG_DECIMAL_FROM - Static variable in record class net.tangly.gleam.model.TsvProperty
- CONVERT_DATE_FROM - Static variable in record class net.tangly.gleam.model.TsvProperty
- CONVERT_DATETIME_FROM - Static variable in record class net.tangly.gleam.model.TsvProperty
- convertFromJson(JSONObject) - Method in record class net.tangly.gleam.model.JsonProperty
-
Import the JSON value and transform it to the type of the associated property after an optional conversion.
- convertToJson(U, JSONObject) - Method in record class net.tangly.gleam.model.JsonProperty
-
Export the JSON value from the associated property after an optional conversion.
D
- description() - Method in record class net.tangly.gleam.model.Entity.Attribute
-
Returns the value of the
description
record component. - description() - Method in record class net.tangly.gleam.model.Entity.Relation
-
Returns the value of the
description
record component.
E
- Entity<T> - Interface in net.tangly.gleam.model
- Entity.Attribute<T> - Record Class in net.tangly.gleam.model
- Entity.Cardinality - Enum Class in net.tangly.gleam.model
- Entity.Relation<T> - Record Class in net.tangly.gleam.model
- equals(Object) - Method in record class net.tangly.gleam.model.Entity.Attribute
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.tangly.gleam.model.Entity.Relation
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.tangly.gleam.model.JsonArray
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.tangly.gleam.model.JsonEntity
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.tangly.gleam.model.JsonProperty
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.tangly.gleam.model.TsvEntity
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.tangly.gleam.model.TsvProperty
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.tangly.gleam.model.TsvRelation
-
Indicates whether some other object is "equal to" this one.
- exportRelation(TsvRelation<T>, CSVPrinter) - Method in record class net.tangly.gleam.model.TsvEntity
-
Export the relation to the TSV file.
- exports() - Method in record class net.tangly.gleam.model.JsonEntity
-
Returns the value of the
exports
record component. - exports() - Method in record class net.tangly.gleam.model.TsvEntity
-
Returns the value of the
exports
record component. - exports(T) - Method in record class net.tangly.gleam.model.JsonEntity
-
Export an entity as a JSON entity.
- exports(T, Object) - Method in record class net.tangly.gleam.model.JsonEntity
-
Export an entity as a JSON entity.
- exports(T, CSVPrinter) - Method in record class net.tangly.gleam.model.TsvEntity
-
Export an entity as a row in a TSV file.
- exports(T, CSVPrinter) - Method in record class net.tangly.gleam.model.TsvProperty
-
Export the TSV value from the associated property after an optional conversion.
- exports(T, JSONObject) - Method in record class net.tangly.gleam.model.JsonArray
- exports(T, JSONObject) - Method in interface net.tangly.gleam.model.JsonField
-
Export the JSON value from the associated property after an optional conversion.
- exports(T, JSONObject) - Method in record class net.tangly.gleam.model.JsonProperty
- exportSelector() - Method in record class net.tangly.gleam.model.JsonArray
-
Returns the value of the
exportSelector
record component. - extracts() - Method in record class net.tangly.gleam.model.JsonProperty
-
Returns the value of the
extracts
record component.
F
- factory() - Method in record class net.tangly.gleam.model.JsonEntity
-
Returns the value of the
factory
record component. - fields() - Method in record class net.tangly.gleam.model.TsvEntity
-
Returns the value of the
fields
record component.
G
- get(CSVRecord, String) - Static method in record class net.tangly.gleam.model.TsvEntity
- getter() - Method in record class net.tangly.gleam.model.JsonArray
-
Returns the value of the
getter
record component. - getter() - Method in record class net.tangly.gleam.model.JsonProperty
-
Returns the value of the
getter
record component. - getter() - Method in record class net.tangly.gleam.model.TsvProperty
-
Returns the value of the
getter
record component.
H
- hashCode() - Method in record class net.tangly.gleam.model.Entity.Attribute
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.tangly.gleam.model.Entity.Relation
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.tangly.gleam.model.JsonArray
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.tangly.gleam.model.JsonEntity
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.tangly.gleam.model.JsonProperty
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.tangly.gleam.model.TsvEntity
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.tangly.gleam.model.TsvProperty
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.tangly.gleam.model.TsvRelation
-
Returns a hash code value for this object.
- headers() - Method in record class net.tangly.gleam.model.TsvEntity
-
Return the ordered list of column header names for the TSV record header.
I
- identity() - Method in interface net.tangly.gleam.model.Entity
- importRelation(CSVRecord) - Method in record class net.tangly.gleam.model.TsvEntity
- imports() - Method in record class net.tangly.gleam.model.JsonEntity
-
Returns the value of the
imports
record component. - imports() - Method in record class net.tangly.gleam.model.TsvEntity
-
Returns the value of the
imports
record component. - imports(CSVRecord) - Method in record class net.tangly.gleam.model.TsvEntity
-
Import an entity from a TSV record.
- imports(JSONObject) - Method in record class net.tangly.gleam.model.JsonEntity
-
Imports an entity from a JSON object.
- imports(JSONObject, Object) - Method in record class net.tangly.gleam.model.JsonEntity
-
Imports an entity from a JSON object.
- imports(T, CSVRecord) - Method in record class net.tangly.gleam.model.TsvProperty
-
Import the TSV value and set the associated property after an optional conversion.
- imports(T, JSONObject) - Method in record class net.tangly.gleam.model.JsonArray
- imports(T, JSONObject) - Method in interface net.tangly.gleam.model.JsonField
-
Import the JSON value and set the associated property after an optional conversion.
- imports(T, JSONObject) - Method in record class net.tangly.gleam.model.JsonProperty
- importSelector() - Method in record class net.tangly.gleam.model.JsonArray
-
Returns the value of the
importSelector
record component. - inserts() - Method in record class net.tangly.gleam.model.JsonProperty
-
Returns the value of the
inserts
record component.
J
- json() - Method in interface net.tangly.gleam.model.Entity
- JsonArray<T,
U> - Record Class in net.tangly.gleam.model -
Define a field containing an array of entities.
- JsonArray(String, Function<T, Collection<U>>, BiConsumer<T, U>, Function<JSONObject, JsonEntity<?>>, Function<Object, JsonEntity<?>>) - Constructor for record class net.tangly.gleam.model.JsonArray
-
Creates an instance of a
JsonArray
record class. - JsonEntity<T> - Record Class in net.tangly.gleam.model
-
Defines a mapping between JSON entity and a Java entity.
- JsonEntity(List<JsonField<T, ?>>, Supplier<T>, BiFunction<JSONObject, Object, T>, BiFunction<T, Object, JSONObject>) - Constructor for record class net.tangly.gleam.model.JsonEntity
-
Creates an instance of a
JsonEntity
record class. - JsonField<T,
U> - Interface in net.tangly.gleam.model -
Defines the abstraction of a mapping between a Java property - simple type, another class mapped to a JSON entity, or a collection mapped to a JSON array - and a JSON property, type, or array.
- JsonProperty<T,
U> - Record Class in net.tangly.gleam.model -
Defines a JSON property mapping a Java class to a JSON entity property or mapping a simple property to a simple JSON property.
- JsonProperty(String, Function<T, U>, BiConsumer<T, U>, Function<JSONObject, U>, BiFunction<U, JSONObject, JSONObject>) - Constructor for record class net.tangly.gleam.model.JsonProperty
-
Creates an instance of a
JsonProperty
record class.
K
- key() - Method in record class net.tangly.gleam.model.JsonArray
-
Returns the value of the
key
record component. - key() - Method in interface net.tangly.gleam.model.JsonField
-
Return the JSON property key name storing the property in a JSON structure.
- key() - Method in record class net.tangly.gleam.model.JsonProperty
-
Returns the value of the
key
record component.
N
- name() - Method in record class net.tangly.gleam.model.Entity.Attribute
-
Returns the value of the
name
record component. - name() - Method in record class net.tangly.gleam.model.Entity.Relation
-
Returns the value of the
name
record component. - net.tangly.gleam.model - package net.tangly.gleam.model
-
Provides the abstraction to configure programmatically the declarative mapping of business entities to various ports.
O
- of(String, Function<T, U>, BiConsumer<T, U>, Function<JSONObject, U>, BiFunction<U, JSONObject, JSONObject>) - Static method in record class net.tangly.gleam.model.JsonProperty
- of(String, Function<T, U>, BiConsumer<T, U>, Function<String, U>, Function<U, Object>) - Static method in record class net.tangly.gleam.model.TsvProperty
-
Define a property mapped to one column with the transformations between string and property type.
- of(String, Function<T, U>, BiConsumer<T, U>, Function<String, U>) - Static method in record class net.tangly.gleam.model.TsvProperty
-
Define a property mapped to one column with a transformation step from the string representation to the property type.
- of(Class<T>, List<TsvProperty<T, ?>>, Function<CSVRecord, T>) - Static method in record class net.tangly.gleam.model.TsvEntity
-
Defines an entity for a class with a set of property and a function creating an instance of the class with values from the CSV record.
- of(Class<T>, List<TsvProperty<T, ?>>, Supplier<T>) - Static method in record class net.tangly.gleam.model.TsvEntity
-
Defines an entity with a default constructor and no special mapping rules to CSV record.
- of(List<String>, Function<T, U>, BiConsumer<T, U>, Function<CSVRecord, U>, BiConsumer<U, CSVPrinter>) - Static method in record class net.tangly.gleam.model.TsvProperty
- of(List<JsonField<T, ?>>, Function<JSONObject, T>) - Static method in record class net.tangly.gleam.model.JsonEntity
-
Defines a factory method for a Java record mapped to a JSON type.
- of(List<JsonField<T, ?>>, Supplier<T>) - Static method in record class net.tangly.gleam.model.JsonEntity
-
Defines a factory method for a regular Java class mapped to a JSON type.
- of(BiFunction<JSONObject, Object, T>, BiFunction<T, Object, JSONObject>) - Static method in record class net.tangly.gleam.model.JsonEntity
- of(List<JsonField<T, ?>>, Supplier<T>, BiFunction<JSONObject, Object, T>, BiFunction<T, Object, JSONObject>) - Static method in record class net.tangly.gleam.model.JsonEntity
-
Defines a factory method for transformation process with the context of the owning entity
- of(List<JsonField<T, ?>>, Supplier<T>, Function<JSONObject, T>, Function<T, JSONObject>) - Static method in record class net.tangly.gleam.model.JsonEntity
-
Defines a factory method for a context less transformation process.
- of(TsvEntity<U>, Function<T, U>, BiConsumer<T, U>) - Static method in record class net.tangly.gleam.model.TsvProperty
- ofBigDecimal(String, Function<T, BigDecimal>, BiConsumer<T, BigDecimal>) - Static method in record class net.tangly.gleam.model.JsonProperty
- ofBigDecimal(String, Function<T, BigDecimal>, BiConsumer<T, BigDecimal>) - Static method in record class net.tangly.gleam.model.TsvProperty
- ofCurrency(String, Function<T, Currency>, BiConsumer<T, Currency>) - Static method in record class net.tangly.gleam.model.JsonProperty
- ofDate(String, Function<T, LocalDate>, BiConsumer<T, LocalDate>) - Static method in record class net.tangly.gleam.model.TsvProperty
- ofEmpty(String) - Static method in record class net.tangly.gleam.model.TsvProperty
- ofEnum(Class<U>, String, Function<T, U>, BiConsumer<T, U>) - Static method in record class net.tangly.gleam.model.TsvProperty
- ofInt(String, Function<T, Integer>, BiConsumer<T, Integer>) - Static method in record class net.tangly.gleam.model.JsonProperty
- ofInt(String, Function<T, Integer>, BiConsumer<T, Integer>) - Static method in record class net.tangly.gleam.model.TsvProperty
- ofLocalDate(String, Function<T, LocalDate>, BiConsumer<T, LocalDate>) - Static method in record class net.tangly.gleam.model.JsonProperty
- ofLocale(String, Function<T, Locale>, BiConsumer<T, Locale>) - Static method in record class net.tangly.gleam.model.JsonProperty
- ofLong(String, Function<T, Long>, BiConsumer<T, Long>) - Static method in record class net.tangly.gleam.model.JsonProperty
- ofLong(String, Function<T, Long>, BiConsumer<T, Long>) - Static method in record class net.tangly.gleam.model.TsvProperty
- ofString(String, Function<T, String>, BiConsumer<T, String>) - Static method in record class net.tangly.gleam.model.JsonProperty
- ofString(String, Function<T, String>, BiConsumer<T, String>) - Static method in record class net.tangly.gleam.model.TsvProperty
- ofType(String, Function<T, U>, BiConsumer<T, U>, JsonEntity<U>) - Static method in record class net.tangly.gleam.model.JsonProperty
-
Create a JSON property of type U
- one_m - Enum constant in enum class net.tangly.gleam.model.Entity.Cardinality
- one_one - Enum constant in enum class net.tangly.gleam.model.Entity.Cardinality
- ownedEntity() - Method in record class net.tangly.gleam.model.TsvRelation
-
Returns the value of the
ownedEntity
record component. - OWNER_FOID - Static variable in record class net.tangly.gleam.model.TsvEntity
- ownerId() - Method in record class net.tangly.gleam.model.TsvRelation
-
Returns the value of the
ownerId
record component.
P
- print(CSVPrinter, Object) - Static method in record class net.tangly.gleam.model.TsvProperty
-
Wrapper function to transformed checked exception to standard unchecked exception for usage in lambda expressions
- properties() - Method in record class net.tangly.gleam.model.JsonEntity
-
Returns the value of the
properties
record component.
R
- reader() - Method in record class net.tangly.gleam.model.TsvProperty
-
Returns the value of the
reader
record component. - references() - Method in interface net.tangly.gleam.model.Entity
- Relation(String, Entity<T>, Entity.Cardinality, String) - Constructor for record class net.tangly.gleam.model.Entity.Relation
-
Creates an instance of a
Relation
record class.
S
- setter() - Method in record class net.tangly.gleam.model.JsonArray
-
Returns the value of the
setter
record component. - setter() - Method in record class net.tangly.gleam.model.JsonProperty
-
Returns the value of the
setter
record component. - setter() - Method in record class net.tangly.gleam.model.TsvProperty
-
Returns the value of the
setter
record component. - string(JSONObject, String) - Static method in interface net.tangly.gleam.model.JsonField
T
- toString() - Method in record class net.tangly.gleam.model.Entity.Attribute
-
Returns a string representation of this record class.
- toString() - Method in record class net.tangly.gleam.model.Entity.Relation
-
Returns a string representation of this record class.
- toString() - Method in record class net.tangly.gleam.model.JsonArray
-
Returns a string representation of this record class.
- toString() - Method in record class net.tangly.gleam.model.JsonEntity
-
Returns a string representation of this record class.
- toString() - Method in record class net.tangly.gleam.model.JsonProperty
-
Returns a string representation of this record class.
- toString() - Method in record class net.tangly.gleam.model.TsvEntity
-
Returns a string representation of this record class.
- toString() - Method in record class net.tangly.gleam.model.TsvProperty
-
Returns a string representation of this record class.
- toString() - Method in record class net.tangly.gleam.model.TsvRelation
-
Returns a string representation of this record class.
- tsv() - Method in interface net.tangly.gleam.model.Entity
- TsvEntity<T> - Record Class in net.tangly.gleam.model
-
Defines an entity mapped to a row of TSV values written to a TSV file.
- TsvEntity(Class<T>, List<TsvProperty<T, ?>>, Function<CSVRecord, T>, BiConsumer<T, CSVPrinter>) - Constructor for record class net.tangly.gleam.model.TsvEntity
-
Creates an instance of a
TsvEntity
record class. - TsvProperty<T,
U> - Record Class in net.tangly.gleam.model -
The TSV property defines the mapping between a Java property and one or multiple cells in a TSV file.
- TsvProperty(List<String>, Function<T, U>, BiConsumer<T, U>, Function<CSVRecord, U>, BiConsumer<U, CSVPrinter>) - Constructor for record class net.tangly.gleam.model.TsvProperty
-
Creates an instance of a
TsvProperty
record class. - TsvRelation<T> - Record Class in net.tangly.gleam.model
-
Model an one to multiple relation.
- TsvRelation(long, T) - Constructor for record class net.tangly.gleam.model.TsvRelation
-
Creates an instance of a
TsvRelation
record class. - type() - Method in record class net.tangly.gleam.model.Entity.Attribute
-
Returns the value of the
type
record component. - type() - Method in record class net.tangly.gleam.model.Entity.Relation
-
Returns the value of the
type
record component.
V
- valueOf(Class<T>, String) - Static method in record class net.tangly.gleam.model.TsvProperty
-
Return the enumeration value of the name if not null otherwise null.
- valueOf(String) - Static method in enum class net.tangly.gleam.model.Entity.Cardinality
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class net.tangly.gleam.model.Entity.Cardinality
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- writer() - Method in record class net.tangly.gleam.model.TsvProperty
-
Returns the value of the
writer
record component.
Z
- zero_m - Enum constant in enum class net.tangly.gleam.model.Entity.Cardinality
- zero_one - Enum constant in enum class net.tangly.gleam.model.Entity.Cardinality
All Classes and Interfaces|All Packages|Constant Field Values