Class SimpleListValueDescriptor
java.lang.Object
cz.cvut.kbss.ontodriver.descriptor.SimpleListDescriptorImpl
cz.cvut.kbss.ontodriver.descriptor.SimpleListValueDescriptor
- All Implemented Interfaces:
ListDescriptor
,ListValueDescriptor<NamedResource>
,SimpleListDescriptor
public class SimpleListValueDescriptor
extends SimpleListDescriptorImpl
implements ListValueDescriptor<NamedResource>
Represents values of a simple sequence.
- See Also:
-
Field Summary
Fields inherited from class cz.cvut.kbss.ontodriver.descriptor.SimpleListDescriptorImpl
descriptor
-
Constructor Summary
ConstructorDescriptionSimpleListValueDescriptor
(NamedResource listOwner, Assertion listProperty, Assertion nextNodeProperty) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addValue
(NamedResource value) Adds value to this list descriptor.boolean
Gets values from the list described by this descriptor.int
hashCode()
toString()
Methods inherited from class cz.cvut.kbss.ontodriver.descriptor.SimpleListDescriptorImpl
getContext, getListOwner, getListProperty, getNextNode, setContext
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface cz.cvut.kbss.ontodriver.descriptor.ListDescriptor
getContext, getListOwner, getListProperty, getNextNode, setContext
-
Constructor Details
-
SimpleListValueDescriptor
public SimpleListValueDescriptor(NamedResource listOwner, Assertion listProperty, Assertion nextNodeProperty)
-
-
Method Details
-
getValues
Description copied from interface:ListValueDescriptor
Gets values from the list described by this descriptor.- Specified by:
getValues
in interfaceListValueDescriptor<NamedResource>
- Returns:
- List of value identifiers
-
addValue
Description copied from interface:ListValueDescriptor
Adds value to this list descriptor.- Specified by:
addValue
in interfaceListValueDescriptor<NamedResource>
- Parameters:
value
- The value to add, i.e. identifier of the list element
-
hashCode
public int hashCode()- Overrides:
hashCode
in classSimpleListDescriptorImpl
-
equals
- Overrides:
equals
in classSimpleListDescriptorImpl
-
toString
- Overrides:
toString
in classSimpleListDescriptorImpl
-