org.kuali.rice.krad.data.provider.annotation
Annotation Type InheritProperty


@Target(value={FIELD,METHOD})
@Retention(value=RUNTIME)
@Documented
public @interface InheritProperty

Represents a property which should be inherited from another data object class.

Allows for the label to be overridden, but nothing else.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Required Element Summary
 String name
          Gets the name of the property to be inherited.
 
Optional Element Summary
 UifDisplayHints displayHints
          BETA: Gets the hints which can be passed through when auto-generating the input fields for an attribute.
 Label label
          Gets the label to override.
 

Element Detail

name

public abstract String name
Gets the name of the property to be inherited.

Returns:
the name of the property to be inherited.

label

public abstract Label label
Gets the label to override.

Returns:
the label to override.
Default:
@org.kuali.rice.krad.data.provider.annotation.Label("")

displayHints

@Beta
public abstract UifDisplayHints displayHints
BETA: Gets the hints which can be passed through when auto-generating the input fields for an attribute.

Returns:
the hints which can be passed through when auto-generating the input fields for an attribute.
Default:
@org.kuali.rice.krad.data.provider.annotation.UifDisplayHints(@org.kuali.rice.krad.data.provider.annotation.UifDisplayHint(org.kuali.rice.krad.data.provider.annotation.UifDisplayHintType.NONE))


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.