Package net.tangly.orm.imp
Class PropertyCode<T extends net.tangly.bus.core.HasOid,V extends net.tangly.bus.codes.Code>
java.lang.Object
net.tangly.orm.imp.PropertySimple<T>
net.tangly.orm.imp.PropertyCode<T,V>
- Type Parameters:
T- type of the class owning the propertyV- type of the reference code stored in the property
- All Implemented Interfaces:
Property<T>
public class PropertyCode<T extends net.tangly.bus.core.HasOid,V extends net.tangly.bus.codes.Code> extends PropertySimple<T>
Defines a property type used to store a reference code as type. The mapping to the persistence layer is predefined.
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors Constructor Description PropertyCode(@NotNull java.lang.String name, @NotNull java.lang.Class<T> entity, @NotNull net.tangly.bus.codes.CodeType<V> codeType) -
Method Summary
Methods inherited from class net.tangly.orm.imp.PropertySimple
entity, field, getConverter, jdbcType, name, sqlType