@Target(value={METHOD,FIELD,TYPE})
@Retention(value=RUNTIME)
@Repeatable(value=Properties.class)
public @interface Property
Embeddable,
Entity,
Id,
Basic,
ManyToMany,
ManyToOne,
MappedSuperclass,
OneToMany,
OneToOne,
BasicCollection,
BasicMap,
Properties,
Transformation,
VariableOneToOne| Modifier and Type | Required Element and Description |
|---|---|
java.lang.String |
name
Property name.
|
java.lang.String |
value
String representation of Property value,
converted to an instance of valueType.
|
| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.Class |
valueType
Property value type.
|