Interface ListDescriptor

All Known Subinterfaces:
ListValueDescriptor<T>, ReferencedListDescriptor, SimpleListDescriptor
All Known Implementing Classes:
ReferencedListDescriptorImpl, ReferencedListValueDescriptor, SimpleListDescriptorImpl, SimpleListValueDescriptor

public interface ListDescriptor
Describes storage of a list.
  • Method Details

    • getContext

      URI getContext()
      Gets context in which the list is stored.
      Returns:
      Context URI, null if it is not set and the default is assumed
    • setContext

      void setContext(URI context)
      Sets context of the list.
      Parameters:
      context - Context URI, can be null
    • getListOwner

      NamedResource getListOwner()
      Gets owner of the list.

      That is, the named resource which is at the head of the list. In object model, it is the owning entity.

      Returns:
      List owner
    • getListProperty

      Assertion getListProperty()
      Gets the property assertion which connects the list to its owner.
      Returns:
      Property assertion
      See Also:
    • getNextNode

      Assertion getNextNode()
      Gets the property assertion which connects the list nodes to each other.
      Returns:
      Property assertion