ObjectDB ObjectDB

Internal Website Search

161-170 of 200 resultsRefresh
5

getCollection(name, elementType)

, Class<E> elementType ) Return the Collection-valued attribute of the managed type that corresponds ... attribute elementType - the element type of the represented attribute Returns: CollectionAttribute of the given name and element type Throws: IllegalArgumentException - if attribute of the given name and type is not present in the managed type Since: JPA 2.0
5

javax.persistence.metamodel.Bindable

Bindable represent object or attribute types that can be bound into a Path. Since: JPA 2.0 Class<T ... of the represented object. If the bindable type of the object is PLURAL_ATTRIBUTE, the Java element type is returned. If the bindable type is SINGULAR_ATTRIBUTE or ENTITY_TYPE, the Java type of the represented
5

isVersion()

Method javax.persistence.metamodel.SingularAttribute boolean isVersion() Is the attribute a version attribute. Returns: boolean indicating whether the attribute is a version attribute Since: JPA 2.0
5

getSingularAttribute(name)

name ) Return the single-valued attribute of the managed type that corresponds to the specified name. Parameters: name - the name of the represented attribute Returns: single-valued attribute with the given name Throws: IllegalArgumentException - if attribute of the given name is not present in the managed type Since: JPA 2.0
5

getPluralAttributes()

() Return all multi-valued attributes (Collection-, Set-, List-, and Map-valued attributes) of the managed type. Returns empty set if the managed type has no multi-valued attributes. Returns: Collection-, Set-, List-, and Map-valued attributes Since: JPA 2.0
5

isLoaded(entity, attributeName)

) Determine the load state of a given persistent attribute. Parameters: entity - entity containing the attribute attributeName - name of attribute whose load state is to be determined Returns: false if entity's state has not been loaded or if the attribute state has not been loaded, else true Since: JPA 2.0
5

getDeclaredAttributes()

Method javax.persistence.metamodel.ManagedType Set<Attribute<X,?>> getDeclaredAttributes() Return the attributes declared by the managed type. Returns empty set if the managed type has no declared attributes. Returns: declared attributes of the managed type Since: JPA 2.0
5

getDeclaredList(name, elementType)

, Class<E> elementType ) Return the List-valued attribute declared by the managed type that corresponds to the specified name and Java element type. Parameters: name - the name of the represented attribute elementType - the element type of the represented attribute Returns: declared ListAttribute
5

getDeclaredCollection(name, elementType)

( String name, Class<E> elementType ) Return the Collection-valued attribute declared by the managed type ... of the represented attribute elementType - the element type of the represented attribute Returns: declared CollectionAttribute of the given name and element type Throws: IllegalArgumentException - if attribute
5

getDeclaredSet(name, elementType)

<E> elementType ) Return the Set-valued attribute declared by the managed type that corresponds to the specified name and Java element type. Parameters: name - the name of the represented attribute elementType - the element type of the represented attribute Returns: declared SetAttribute

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