Home » Search

About type

11-20 of 200Refresh
JPA Doc
44

getSingularAttribute(name, type)

(   String name,   Class type ) Return the single-valued attribute of the managed type that corresponds to the specified name and Java type. Parameters: name - the name of the represented attribute type - the type of the represented attribute Returns: single-valued attribute with given name and type
JDO Doc
44

Persistent.types

Annotation Element javax.jdo.annotations.Persistent Class[] types Types of the member. Used when the declared member type is a supertype of the actual type that is stored in the member. For example, the declared member type might be an interface type that must contain an object of a concrete type
JPA Doc
44

as(type)

Method javax.persistence.criteria.Expression Expression as(   Class type ) Perform a typecast upon the expression, returning a new expression object. This method does not cause type conversion: the runtime type is not changed. Warning: may result in a runtime failure. Parameters: type
JPA Doc
44

getDeclaredId(type)

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 attribute Throws: IllegalArgumentException - if id attribute of the given type is not declared in
JPA Doc
44

getId(type)

Method javax.persistence.metamodel.IdentifiableType SingularAttribute getId(   Class type ... . Parameters: type - the type of the represented id attribute Returns: id attribute Throws: 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
JDO Doc
43

Element.types

Annotation Element javax.jdo.annotations.Element Class[] types Types of the elements. This can be determined if using JDK1.5 generics but is required otherwise. Multiple types can be specified if the implementation supports multiple types. Returns: the types of elements Default value: {} Since: JDO 2.1
JPA Doc
43

getDeclaredVersion(type)

(   Class 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 Returns: declared version attribute Throws: IllegalArgumentException - if version attribute of the type is not declared in the identifiable type Since: JPA 2.0
JPA Doc
43

getParameter(name, type)

Method javax.persistence.Query Parameter getParameter(   String name,   Class type ) Get the parameter object corresponding to the declared parameter of the given name and type. This method is required to be supported for criteria queries only. Parameters: name - parameter name type - type
JPA Doc
43

getParameter(position, type)

Method javax.persistence.Query Parameter getParameter(   int position,   Class type ... and type. This method is not required to be supported by the provider. Parameters: position - position type - type Returns: parameter object Throws: IllegalArgumentException - if the parameter
JPA Doc
43

getVersion(type)

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 Throws: IllegalArgumentException - if version attribute of the given type is not present in the identifiable type Since: JPA 2.0