Package org.apache.sis.internal.metadata
Annotation Type Dependencies
Indicates that the value of a property is computed from values of other properties.
This annotation can be applied on public getter methods. All dependent properties
must be in the same class than the annotated method. Transitive dependencies do not
need to be declared, but the dependency graph shall not contain cycle.
Example:
ResponsibleParty.individualName
is now deprecated and replaced by the first Individual.name
value
found in Responsibility.party
list. Consequently, the DefaultResponsibleParty.getIndividualName()
method is annotated with @Dependencies("getParties")
where getParties()
is a method inherited from
the parent class.
- Since:
- 0.8
- Version:
- 0.8
-
Required Element Summary
Required Elements
-
Element Details
-
value
String[] valueNames of other Java method required for computing the annotated property. Should be Java method names rather than UML identifier, in order to avoid ambiguity when a property has both a singular and a plural form (usually with the singular form deprecated).- Returns:
- other properties in the same class required for computation, not including transitive dependencies.
-