ch.elca.el4j.core.metadata
Annotation Type InstanceClass


@Target(value=METHOD)
@Retention(value=RUNTIME)
public @interface InstanceClass

Annotation describing the property class to instantiate if the current value of a property is null but we want to create one.

The class passed as parameter must be instantiable and have a zero-argument constructor. This class is useful if the return type of the property is an interface and you want to declare a default implementation.

Author:
David Bernhard (DBD)
File-location:
InstanceClass
Last check-in date:
2009-08-04 15:06:35 +0200 (Di, 04. Aug 2009) by swismer for revision 3878

Required Element Summary
 Class<?> instanceClass
          The class to use.
 

Element Detail

instanceClass

public abstract Class<?> instanceClass
The class to use.



Copyright © 2005-2011 ELCA. All Rights Reserved.