Interface PluralAttribute<X,C,E>
- Type Parameters:
X
- The type the represented collection belongs toC
- The type of the represented collectionE
- The element type of the represented collection
- All Superinterfaces:
Attribute<X,
,C> Bindable<E>
,FieldSpecification<X,
C>
- All Known Subinterfaces:
CollectionAttribute<X,
,E> ListAttribute<X,
,E> MapAttribute<X,
,K, V> RDFContainerAttribute<X,
,C, E> SetAttribute<X,
E>
- All Known Implementing Classes:
AbstractPluralAttribute
,CollectionAttributeImpl
,ListAttributeImpl
,RDFCollectionAttribute
,RdfContainerAttributeImpl
,SetAttributeImpl
Instances of the type PluralAttribute represent persistent collection-valued attributes.
-
Nested Class Summary
Nested classes/interfaces inherited from interface cz.cvut.kbss.jopa.model.metamodel.Attribute
Attribute.PersistentAttributeType
Nested classes/interfaces inherited from interface cz.cvut.kbss.jopa.model.metamodel.Bindable
Bindable.BindableType
-
Method Summary
Modifier and TypeMethodDescriptionReturn the collection type.Return the type representing the element type of the collection.default boolean
Checks whether this attribute represents an RDF container.Methods inherited from interface cz.cvut.kbss.jopa.model.metamodel.Attribute
getCascadeTypes, getConstraints, getDatatype, getIRI, getJavaMember, getLanguage, getPersistentAttributeType, hasLanguage, isAssociation, isLexicalForm, isMappedAttribute, isNonEmpty, isSimpleLiteral
Methods inherited from interface cz.cvut.kbss.jopa.model.metamodel.Bindable
getBindableJavaType, getBindableType
Methods inherited from interface cz.cvut.kbss.jopa.model.metamodel.FieldSpecification
getDeclaringType, getFetchType, getJavaField, getJavaType, getName, includeExplicit, isCollection, isInferred
-
Method Details
-
getCollectionType
CollectionType getCollectionType()Return the collection type.- Returns:
- collection type
-
getElementType
Return the type representing the element type of the collection.- Returns:
- element type
-
isRdfContainer
default boolean isRdfContainer()Checks whether this attribute represents an RDF container.- Returns:
true
if this plural attribute is an RDF container,false
otherwise
-