Class EditLinkDecorator

  • All Implemented Interfaces:
    IAttributeDecorator

    public class EditLinkDecorator
    extends java.lang.Object
    implements IAttributeDecorator
    This decorator decorates the link to another object with the name property of the linked object.
    Version:
    $Id: $Id
    Author:
    lrosenberg
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String decorate​(DataObject obj, java.lang.String attributeName, java.lang.String rule)
      Returns the decorated form.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EditLinkDecorator

        public EditLinkDecorator()
    • Method Detail

      • decorate

        public java.lang.String decorate​(DataObject obj,
                                         java.lang.String attributeName,
                                         java.lang.String rule)
        Returns the decorated form.
        Specified by:
        decorate in interface IAttributeDecorator
        Parameters:
        obj - target document.
        attributeName - name of the attribute for decoration.
        rule - evtl decoration rule (if configured in view definition file).
        Returns:
        a String object.