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 Summary
Modifier and TypeMethodDescriptionGets context in which the list is stored.Gets owner of the list.Gets the property assertion which connects the list to its owner.Gets the property assertion which connects the list nodes to each other.void
setContext
(URI context) Sets context of the 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
Sets context of the list.- Parameters:
context
- Context URI, can benull
-
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
-