About identifier

21-30 of 177Refresh
JPA Doc
4

getDeclaredId(type)

the identifiable type or if the identifiable type has an id class Since: JPA 2.0
JPA Doc
4

getId(type)

: IllegalArgumentException - if id attribute of the given type is not present in the identifiable type or if the identifiable type has an id class Since: JPA 2.0
JPA Doc
4

getIdClassAttributes()

Method javax.persistence.metamodel.IdentifiableType Set> 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
JPA Doc
4

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
JPA Doc
4

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
JPA Doc
4

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
JDO Doc
3

addInstanceLifecycleListener(listener, classes)

Method javax.jdo.PersistenceManager void addInstanceLifecycleListener(   InstanceLifecycleListener listener,   Class... classes ) Adds the listener instance to the list of lifecycle event listeners. The classes parameter identifies all of the classes of interest. If the classes parameter
JDO Doc
3

addInstanceLifecycleListener(listener, classes)

is configurable (before the first time getPersistenceManager is called). The classes parameter identifies
JDO Doc
3

declareImports(imports)

Method javax.jdo.Query void declareImports(   String imports ) Set the import statements to be used to identify the fully qualified name of variables or parameters. Parameters and unbound variables might come from a different class from the candidate class, and the names need to be declared in
JPA Doc
3

getDeclaredVersion(type)

Returns: declared version attribute Throws: IllegalArgumentException - if version attribute of the type is not declared in the identifiable type Since: JPA 2.0