Class Contents

    • Constructor Detail

      • Contents

        public Contents()
    • Method Detail

      • getId

        @Default
        public String getId()
        Unique id for this object.

        This id is unique for the entire lifetime of this Contents object and persists across renames. Two contents with the same key will have different id.

      • unwrap

        public <T> Optional<T> unwrap​(Class<T> clazz)
        Unwrap object if possible, otherwise throw.
        Type Parameters:
        T - Type to wrap to.
        Parameters:
        clazz - Class we're trying to return.
        Returns:
        The return value