@Target(value=FIELD)
@Retention(value=RUNTIME)
public @interface Property
| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.String |
defaultValue
Default value of the property.
|
DefaultValueType |
defaultValueType
By default the value being assigned to the property as string literal (e.g.)
|
Expression |
expression
If generated property is a method expression, then this field should be set to Expresion.METHOD_EXPRESSION.
|
Implementation |
implementation
If this property exists in a superclass, and one desires to use such implementation and/or to inherit the settings
specified in the @Property annotation found in ancestor classes for this property, then one should set this field
to Implementation.EXISTS_IN_SUPERCLASS.
|
java.lang.String |
javadocGet
javadoc for the getter.
|
java.lang.String |
javadocSet
javadoc for the setter.
|
java.lang.String |
methodExpressionArgument
Allows to define method expression argument if any.
|
java.lang.String |
name
Allow the user to specify a 'name' for the property that is different
from the field name.
|
Required |
required
Attribute that goes inside the TLD for each attribute.
|
java.lang.String |
tlddoc
TLDDoc for this property
|
public abstract Expression expression
public abstract java.lang.String methodExpressionArgument
public abstract java.lang.String defaultValue
public abstract DefaultValueType defaultValueType
public abstract java.lang.String name
public abstract java.lang.String tlddoc
public abstract java.lang.String javadocGet
public abstract java.lang.String javadocSet
public abstract Required required
public abstract Implementation implementation
Copyright 2017 ICEsoft Technologies Canada Corp., All Rights Reserved.