About types

11-20 of 200Refresh
JPA Doc
39

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
39

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
39

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
39

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
39

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
39

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
39

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

Key.types

Annotation Element javax.jdo.annotations.Key Class[] types Types of the keys. 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 keys Default value: {} Since: JDO 2.1
JDO Doc
39

Value.types

Annotation Element javax.jdo.annotations.Value Class[] types Types of the values. 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 values Default value: {} Since: JDO 2.1
JPA Doc
38

get(i, type)

Method javax.persistence.Tuple X get(   int i,   Class type ) Get the value of the element ... result tuple type - type of the tuple element Returns: value of the tuple element Throws: IllegalArgumentException - if i exceeds length of result tuple or element cannot be assigned to the specified type Since: JPA 2.0