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 property
V - 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.
  • Constructor Details

    • PropertyCode

      public PropertyCode​(@NotNull @NotNull java.lang.String name, @NotNull @NotNull java.lang.Class<T> entity, @NotNull @NotNull net.tangly.bus.codes.CodeType<V> codeType)