Interface SingularAttribute<X,T>
- Type Parameters:
X- The type containing the represented attributeT- The type of the represented attribute
- All Superinterfaces:
Attribute<X,,T> Bindable<T>,FieldSpecification<X,T>
- All Known Implementing Classes:
SingularAttributeImpl
Instances of the type SingularAttribute represents persistent single-valued properties or fields.
-
Nested Class Summary
Nested classes/interfaces inherited from interface cz.cvut.kbss.jopa.model.metamodel.Attribute
Attribute.PersistentAttributeTypeNested classes/interfaces inherited from interface cz.cvut.kbss.jopa.model.metamodel.Bindable
Bindable.BindableType -
Method Summary
Methods inherited from interface cz.cvut.kbss.jopa.model.metamodel.Attribute
getCascadeTypes, getConstraints, getDatatype, getIRI, getJavaMember, getLanguage, getPersistentAttributeType, hasLanguage, isAssociation, isLexicalForm, isMappedAttribute, isNonEmpty, isSimpleLiteralMethods inherited from interface cz.cvut.kbss.jopa.model.metamodel.Bindable
getBindableJavaType, getBindableTypeMethods inherited from interface cz.cvut.kbss.jopa.model.metamodel.FieldSpecification
getDeclaringType, getFetchType, getJavaField, getJavaType, getName, includeExplicit, isCollection, isInferred
-
Method Details
-
isId
default boolean isId()Is the attribute an id attribute.Always returns false, as identifiers are represented by
Identifierattributes.- Returns:
false
-
isVersion
boolean isVersion()Is the attribute a version attribute.- Returns:
- boolean indicating whether the attribute is a version attribute
-
getType
Return the type that represents the type of the attribute.- Returns:
- type of attribute
-