@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface Property
RegistryObject
.Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
addRemoveMethodName
Used only with collection properties.
|
java.lang.String |
target
Name of the target property from the
RegistryObject . |
java.lang.Class<?> |
targetType
The target type
Class . |
public abstract java.lang.String target
RegistryObject
.String
the name of the property to be setpublic abstract java.lang.Class<?> targetType
Class
.public abstract java.lang.String addRemoveMethodName
add
and remove
methods.
add
method called
addChildConcepts() Because of the name inconsistency the property
addRemoveMethodName should be set to "ChildConcepts"String
the name of the add method for this property