Class ObjectMetadataAction

    • Constructor Detail

      • ObjectMetadataAction

        public ObjectMetadataAction​(@CheckForNull
                                    String objectDisplayName,
                                    @CheckForNull
                                    String objectDescription,
                                    @CheckForNull
                                    String objectUrl)
    • Method Detail

      • getObjectDisplayName

        @Exported
        @CheckForNull
        public String getObjectDisplayName()
        Returns the display name of the object or null. Consumers should assume the content is plain text that needs escaping with Util.escape(String) when being included in HTML output.
        Returns:
        the display name of the object or null
      • getObjectDescription

        @Exported
        @CheckForNull
        public String getObjectDescription()
        Returns the description of the object or null. Consumers should assume the content is plain text that needs escaping with Util.escape(String) when being included in HTML output.
        Returns:
        the description of the object or null.
      • getObjectUrl

        @Exported
        @CheckForNull
        public String getObjectUrl()
        Returns the external url of the object or null if the object does not have an external url.
        Returns:
        the display name of the object or null
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object