aicas logoJamaica 3.2 release 62

java.beans
Annotation Type ConstructorProperties


@Retention(value=RUNTIME)
@Target(value=CONSTRUCTOR)
public @interface ConstructorProperties

An annotation used to associate the parameters of a constructor with the accessor methods that later provide access to these values. For example, the parameters of the constructor Person(String name, int age) may be linked to the bean's two accessors, getName() and getAge() using @ConstructorProperties({"name","age"}).

Since:
1.6

Required Element Summary
 String[] value
          Contains the name of the accessor methods associated with each constructor parameter.
 

Element Detail

value

public abstract String[] value
Contains the name of the accessor methods associated with each constructor parameter.

Returns:
the accessor method names corresponding to the constructor parameters.

aicas logoJamaica 3.2 release 62

aicas GmbH, Karlsruhe - Germany    www.aicas.com
Copyright 2001-2008 aicas GmbH. All Rights Reserved.