Java persistencia objetos Flashcards

1
Q

Declarar clase x de paquete y heredada de clase del sistema Persistent, en ODL Cache

A

Class y.x Extends %Persistent
{
-> (cuerpo)
}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Declarar atributo x en una clase de tipo y con parametros Z que es n W que es m, en ODL Cache

A

Property x As %Y(Z=n, W=m);

¿que es cada?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Declarar metodo x con parametros y tipo z que devuelve un tipo w, en ODL Cache

A
Method x(y As %Z) As %W
{
-> (cuerpo)
}

(¿que es cada?)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Indicar a traves de un indice x que atributo y es llave primaria

A

Index x On y [PrimaryKey];

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Indicar a traves de un indice x que atributo y es unico

A

Index x On y [Unique];

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Crear proyeccion x de tipo y.y

A

Projection x As %Y.y;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly