Class LinkTargetAttributeContentConverter

    • Constructor Detail

      • LinkTargetAttributeContentConverter

        public LinkTargetAttributeContentConverter()
    • Method Detail

      • convertModelToData

        public java.lang.Object convertModelToData​(AttributeDescriptorModel attribute,
                                                   java.lang.Object source)
        Description copied from interface: AttributeContentConverter
        Converts a property value to a serializable representation in case that the predicate defined is true for a given attribute descriptor.
        Specified by:
        convertModelToData in interface AttributeContentConverter<AttributeDescriptorModel>
        Parameters:
        attribute - the object describing the source
        source - the persistent source described by the attribute that needs be converted to some serializable representation
        Returns:
        the converter instance. Never null.
      • convertDataToModel

        public java.lang.Object convertDataToModel​(AttributeDescriptorModel attributeDescriptor,
                                                   java.lang.Object source)
        Description copied from interface: AttributeContentConverter
        Converts a serializable representation to a property value in case that the predicate defined is true for a given attribute descriptor.
        Specified by:
        convertDataToModel in interface AttributeContentConverter<AttributeDescriptorModel>
        Parameters:
        attributeDescriptor - the object describing the source
        source - the serializable representation described by the attribute that needs be converted to some persistent property
        Returns:
        the converter instance. Never null.