ObjectDB ObjectDB

Internal Website Search

1-10 of 16 resultsRefresh
85

javax.persistence.metamodel.IdentifiableType

javax.persistence.metamodel Interface IdentifiableType<X> Superinterfaces: ManagedType<X>, Type<X> Subinterfaces: EntityType, MappedSuperclassType Instances of the type IdentifiableType represent ... IdentifiableType<?> getSupertype() Return the identifiable type that corresponds to the most specific mapped
83

getSupertype()

Method javax.persistence.metamodel.IdentifiableType IdentifiableType<?> getSupertype() Return the identifiable type that corresponds to the most specific mapped superclass or entity extended by the entity or mapped superclass. Returns: supertype of identifiable type or null if no such supertype Since: JPA 2.0
79

hasVersionAttribute()

Method javax.persistence.metamodel.IdentifiableType boolean hasVersionAttribute() Whether the identifiable type has a version attribute. Returns: boolean indicating whether the identifiable type has a version attribute Since: JPA 2.0
79

hasSingleIdAttribute()

Method javax.persistence.metamodel.IdentifiableType boolean hasSingleIdAttribute() Whether the identifiable type has a single id attribute. Returns true for a simple id or embedded id; returns false for an idclass. Returns: boolean indicating whether the identifiable type has a single id attribute Since: JPA 2.0
79

getIdClassAttributes()

Method javax.persistence.metamodel.IdentifiableType Set<SingularAttribute<?,?>> getIdClassAttributes() Return the attributes corresponding to the id class of the identifiable type. Returns: id attributes Throws: IllegalArgumentException - if the identifiable type does not have an id class Since: JPA 2.0
79

getIdType()

Method javax.persistence.metamodel.IdentifiableType Type<?> getIdType() Return the type that represents the type of the id. Returns: type of id Since: JPA 2.0
79

getVersion(type)

Method javax.persistence.metamodel.IdentifiableType SingularAttribute<?,Y> getVersion( Class<Y> type ) Return the attribute that corresponds to the version attribute of the entity or mapped superclass. Parameters: type - the type of the represented version attribute Returns: version attribute
79

getId(type)

Method javax.persistence.metamodel.IdentifiableType SingularAttribute<?,Y> getId( Class<Y> type ) Return the attribute that corresponds to the id attribute of the entity or mapped superclass. Parameters: type - the type of the represented id attribute Returns: id attribute Throws
79

getDeclaredVersion(type)

Method javax.persistence.metamodel.IdentifiableType SingularAttribute<X,Y> getDeclaredVersion( Class<Y> type ) Return the attribute that corresponds to the version attribute declared by the entity or mapped superclass. Parameters: type - the type of the represented declared version attribute
79

getDeclaredId(type)

Method javax.persistence.metamodel.IdentifiableType SingularAttribute<X,Y> getDeclaredId( Class<Y> type ) Return the attribute that corresponds to the id attribute declared by the entity or mapped superclass. Parameters: type - the type of the represented declared id attribute Returns: declared id

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support