Index
B C D E F G I J N P R S T U V W
All Classes|All Packages
All Classes|All Packages
All Classes|All Packages
B
- build(String, String, DataSource) - Method in class net.tangly.orm.DaoBuilder
C
- clearCache() - Method in class net.tangly.orm.Dao
- converters - Variable in class net.tangly.orm.imp.PropertySimple
D
- Dao<T extends net.tangly.bus.core.HasOid> - Class in net.tangly.orm
-
Represents the mapping between a Java class and a relational database table containing the values of the instances of the class.
- Dao(String, String, Class<T>, DataSource, List<Property<T>>, List<Relation<T, ?>>, List<Relation<T, ?>>) - Constructor for class net.tangly.orm.Dao
- DaoBuilder<T extends net.tangly.bus.core.HasOid> - Class in net.tangly.orm
-
Builder for the table class.
- DaoBuilder(Class<T>) - Constructor for class net.tangly.orm.DaoBuilder
- delete(long) - Method in class net.tangly.orm.Dao
- delete(T) - Method in class net.tangly.orm.Dao
- delete(T) - Method in class net.tangly.orm.imp.PropertyOne2Many
- delete(T) - Method in class net.tangly.orm.imp.PropertyOne2One
- delete(T) - Method in interface net.tangly.orm.Relation
-
Deletes all the instances at the end of the relation.
E
- entity - Variable in class net.tangly.orm.imp.PropertySimple
-
Class of the owning entity of the property.
- entity() - Method in class net.tangly.orm.imp.PropertyOne2Many
- entity() - Method in class net.tangly.orm.imp.PropertySimple
- entity() - Method in interface net.tangly.orm.Property
-
Returns the type of the entity owning the property.
F
- field - Variable in class net.tangly.orm.imp.PropertySimple
-
Field associated with the property and used to get and set values of the property.
- field() - Method in class net.tangly.orm.imp.PropertyOne2Many
- field() - Method in class net.tangly.orm.imp.PropertySimple
- field() - Method in interface net.tangly.orm.Property
-
Returns the Java field associated with the property.
- find(long) - Method in class net.tangly.orm.Dao
- find(String) - Method in class net.tangly.orm.Dao
G
- get(T, Property.ConverterType) - Method in interface net.tangly.orm.Property
- getAll() - Method in class net.tangly.orm.Dao
- getConverter(Property.ConverterType) - Method in class net.tangly.orm.imp.PropertyOne2Many
- getConverter(Property.ConverterType) - Method in class net.tangly.orm.imp.PropertySimple
- getConverter(Property.ConverterType) - Method in interface net.tangly.orm.Property
- getParameter(ResultSet, int, T) - Method in interface net.tangly.orm.Property
- getPropertyBy(String) - Method in class net.tangly.orm.Dao
-
Returns the property with the given name.
I
- isOwned() - Method in class net.tangly.orm.imp.PropertyOne2Many
- isOwned() - Method in class net.tangly.orm.imp.PropertyOne2One
- isOwned() - Method in interface net.tangly.orm.Relation
-
Returns flag indicating if the instances at the end of the relation are owned or not.
J
- java2jdbc - net.tangly.orm.Property.ConverterType
- jdbc2java - net.tangly.orm.Property.ConverterType
- jdbcType() - Method in class net.tangly.orm.imp.PropertyOne2Many
- jdbcType() - Method in class net.tangly.orm.imp.PropertySimple
- jdbcType() - Method in interface net.tangly.orm.Property
N
- name - Variable in class net.tangly.orm.imp.PropertySimple
-
Name of the property.
- name() - Method in class net.tangly.orm.imp.PropertyOne2Many
- name() - Method in class net.tangly.orm.imp.PropertySimple
- name() - Method in interface net.tangly.orm.Property
-
Returns the name of the property.
- net.tangly.orm - package net.tangly.orm
- net.tangly.orm.imp - package net.tangly.orm.imp
P
- Property<T extends net.tangly.bus.core.HasOid> - Interface in net.tangly.orm
-
Models the common attributes of an entity property.
- Property.ConverterType - Enum in net.tangly.orm
- PropertyCode<T extends net.tangly.bus.core.HasOid,V extends net.tangly.bus.codes.Code> - Class in net.tangly.orm.imp
-
Defines a property type used to store a reference code as type.
- PropertyCode(String, Class<T>, CodeType<V>) - Constructor for class net.tangly.orm.imp.PropertyCode
- PropertyJson<T extends net.tangly.bus.core.HasOid,V> - Class in net.tangly.orm.imp
-
A property which stores its values as as JSON representation in one column in the database table.
- PropertyJson(String, Class<T>, Class<V>) - Constructor for class net.tangly.orm.imp.PropertyJson
-
Constructor of the JSON property.
- PropertyOne2Many<T extends net.tangly.bus.core.HasOid,R extends net.tangly.bus.core.HasOid> - Class in net.tangly.orm.imp
-
Models a propertyBy with managed objects as values and supporting multiple objects.
- PropertyOne2Many(String, Class<T>, String, Reference<Dao<R>>, boolean) - Constructor for class net.tangly.orm.imp.PropertyOne2Many
- PropertyOne2One<T extends net.tangly.bus.core.HasOid,R extends net.tangly.bus.core.HasOid> - Class in net.tangly.orm.imp
-
Models a property with at most one managed instance of a target entity.
- PropertyOne2One(String, Class<T>, Reference<Dao<R>>, boolean) - Constructor for class net.tangly.orm.imp.PropertyOne2One
- PropertySimple<T extends net.tangly.bus.core.HasOid> - Class in net.tangly.orm.imp
-
Models a property with simple Java objects or primitive.
- PropertySimple(String, Class<T>, Class<?>, int, Map<Property.ConverterType, Function<?, ?>>) - Constructor for class net.tangly.orm.imp.PropertySimple
R
- RecordDao<T extends net.tangly.bus.core.HasId> - Class in net.tangly.orm
- RecordDao() - Constructor for class net.tangly.orm.RecordDao
- Relation<T extends net.tangly.bus.core.HasOid,R extends net.tangly.bus.core.HasOid> - Interface in net.tangly.orm
-
Models a directional relation between two classes.
- retrieve(T, Long) - Method in class net.tangly.orm.imp.PropertyOne2Many
- retrieve(T, Long) - Method in class net.tangly.orm.imp.PropertyOne2One
- retrieve(T, Long) - Method in interface net.tangly.orm.Relation
-
Retrieves all the instances at the end of the relation.
S
- self() - Method in class net.tangly.orm.DaoBuilder
- set(T, V, Property.ConverterType) - Method in class net.tangly.orm.imp.PropertyJson
- set(T, V, Property.ConverterType) - Method in interface net.tangly.orm.Property
- setParameter(PreparedStatement, int, T) - Method in interface net.tangly.orm.Property
- sqlType() - Method in class net.tangly.orm.imp.PropertyOne2Many
- sqlType() - Method in class net.tangly.orm.imp.PropertySimple
- sqlType() - Method in interface net.tangly.orm.Property
T
- type() - Method in class net.tangly.orm.Dao
- type() - Method in class net.tangly.orm.imp.PropertyOne2Many
- type() - Method in class net.tangly.orm.imp.PropertyOne2One
- type() - Method in interface net.tangly.orm.Relation
-
Returns the DAO is charge of the objects at the end of the relation.
U
- update(T) - Method in class net.tangly.orm.Dao
-
Updates the persistent data associated with the entity.If the entity is new a row is inserted into the table otherwise the columns are updated.
- update(T) - Method in class net.tangly.orm.imp.PropertyOne2Many
- update(T) - Method in class net.tangly.orm.imp.PropertyOne2One
- update(T) - Method in interface net.tangly.orm.Relation
-
Updates all the instances at the end of the relation.
V
- valueOf(String) - Static method in enum net.tangly.orm.Property.ConverterType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum net.tangly.orm.Property.ConverterType
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- withBigDecimal(String) - Method in class net.tangly.orm.DaoBuilder
- withCode(String, CodeType<U>) - Method in class net.tangly.orm.DaoBuilder
- withDate(String) - Method in class net.tangly.orm.DaoBuilder
- withDateTime(String) - Method in class net.tangly.orm.DaoBuilder
- withFid(String) - Method in class net.tangly.orm.DaoBuilder
- withInt(String) - Method in class net.tangly.orm.DaoBuilder
-
Add an integer property and column.
- withJson(String, Class<U>) - Method in class net.tangly.orm.DaoBuilder
- withLong(String) - Method in class net.tangly.orm.DaoBuilder
- withOid() - Method in class net.tangly.orm.DaoBuilder
-
Adds a long unique object identifier property and column.
- withOne2Many(String, String, Reference<Dao<R>>, boolean) - Method in class net.tangly.orm.DaoBuilder
- withOne2One(String, Reference<Dao<R>>, boolean) - Method in class net.tangly.orm.DaoBuilder
- withString(String) - Method in class net.tangly.orm.DaoBuilder
- withTags(String) - Method in class net.tangly.orm.DaoBuilder
- withText(String) - Method in class net.tangly.orm.DaoBuilder
All Classes|All Packages