Class IRIIdentifierImpl<T>
java.lang.Object
cz.cvut.kbss.jopa.model.metamodel.IRIIdentifierImpl<T>
- All Implemented Interfaces:
Bindable,FieldSpecification,Identifier,IRIIdentifier
-
Nested Class Summary
Nested classes/interfaces inherited from interface cz.cvut.kbss.jopa.model.metamodel.Bindable
Bindable.BindableType -
Constructor Summary
ConstructorsConstructorDescriptionIRIIdentifierImpl(ManagedType<T> declaringType, Field javaField, boolean generated) -
Method Summary
Modifier and TypeMethodDescriptionvoidClass<?>Return the Java type of the represented object.Return the bindable type of the represented object.Return the managed type representing the type in which the attribute was declared.Whether the association is lazily loaded or must be eagerly fetched.Return the java.lang.reflect.Member for the represented attribute.Class<?>Return the Java type of the represented attribute.getName()Return the name of the attribute.booleanIf this field is inferred, can it contain explicit data as well?booleanIs the attribute collection-valued (represents a Collection, Set, List, or Map).booleanbooleanWhether this field can contain inferred data.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface cz.cvut.kbss.jopa.model.metamodel.FieldSpecification
isMappedAttribute
-
Constructor Details
-
IRIIdentifierImpl
-
-
Method Details
-
getDeclaringType
Description copied from interface:FieldSpecificationReturn the managed type representing the type in which the attribute was declared.- Specified by:
getDeclaringTypein interfaceFieldSpecification- Returns:
- declaring type
-
getJavaType
Description copied from interface:FieldSpecificationReturn the Java type of the represented attribute.- Specified by:
getJavaTypein interfaceFieldSpecification- Returns:
- Java type
-
getJavaField
Description copied from interface:FieldSpecificationReturn the java.lang.reflect.Member for the represented attribute.- Specified by:
getJavaFieldin interfaceFieldSpecification- Returns:
- corresponding java.lang.reflect.Member
-
getFetchType
Description copied from interface:FieldSpecificationWhether the association is lazily loaded or must be eagerly fetched.- Specified by:
getFetchTypein interfaceFieldSpecification- Returns:
- Fetch type of the field specification
-
isInferred
public boolean isInferred()Description copied from interface:FieldSpecificationWhether this field can contain inferred data.- Specified by:
isInferredin interfaceFieldSpecification- Returns:
- Whether field is inferred
- See Also:
-
includeExplicit
public boolean includeExplicit()Description copied from interface:FieldSpecificationIf this field is inferred, can it contain explicit data as well?- Specified by:
includeExplicitin interfaceFieldSpecification- Returns:
- Whether inferred field can contain explicit knowledge
- See Also:
-
getName
Description copied from interface:FieldSpecificationReturn the name of the attribute.- Specified by:
getNamein interfaceFieldSpecification- Returns:
- name
-
isCollection
public boolean isCollection()Description copied from interface:FieldSpecificationIs the attribute collection-valued (represents a Collection, Set, List, or Map).- Specified by:
isCollectionin interfaceFieldSpecification- Returns:
- boolean indicating whether the attribute is collection-valued
-
accept
- Specified by:
acceptin interfaceIdentifier
-
isGenerated
public boolean isGenerated()- Specified by:
isGeneratedin interfaceIdentifier
-
getBindableType
Description copied from interface:BindableReturn the bindable type of the represented object.- Specified by:
getBindableTypein interfaceBindable<T>- Returns:
- bindable type
-
getBindableJavaType
Description copied from interface:BindableReturn the Java type of the represented object. If the bindable type of the object isBindable.BindableType.PLURAL_ATTRIBUTE, the Java element type is returned. If the bindable type isBindable.BindableType.SINGULAR_ATTRIBUTEorBindable.BindableType.ENTITY_TYPE, the Java type of the represented entity or attribute is returned.- Specified by:
getBindableJavaTypein interfaceBindable<T>- Returns:
- Java type
-