001/*
002 * $RCSfile: Default.java,v $
003 * $Revision: 1.1.2.3 $ $Date: 2009/11/24 15:09:12 $
004 *
005 * Copyright 2009 Kabira Technologies, Inc. All rights reserved.
006 */
007package com.kabira.platform.management;
008
009import java.lang.annotation.Documented;
010import java.lang.annotation.ElementType;
011import java.lang.annotation.Inherited;
012import java.lang.annotation.Retention;
013import java.lang.annotation.RetentionPolicy;
014import java.lang.annotation.Target;
015
016/**
017 * Defines default values for parameters.
018 * see java.lang.String for descriptions of valid String formats for
019 * the supported parameter types.
020 */
021@Documented
022@Inherited
023@Retention(RetentionPolicy.RUNTIME)
024@Target(ElementType.ANNOTATION_TYPE)
025public @interface Default
026{
027    /**
028     * Must be set true if the default value is provided.
029     */
030    boolean provided() default true;
031
032    /**
033     * The default value to be used.
034     */
035    String value();
036}