net.nitus.museu.context
Class Imatge

java.lang.Object
  extended by net.nitus.museu.context.Imatge

public class Imatge
extends java.lang.Object

Classe que implementa les imatges d'un objecte

Author:
xnavarro

Constructor Summary
Imatge()
          Constructor null;
Imatge(java.lang.String registre)
          Constructor a partir d'una línia del fitxer font.
 
Method Summary
 java.lang.String afegeix()
          Retorna una cadena sql per afegir el registre a la taula d'imatges
 java.lang.String getComentari()
           
 int getJaciment()
           
 int getN()
           
 int getObjecte()
           
 int getPeriode()
           
 java.lang.String getUrl()
           
 java.lang.Integer getxImatge()
           
 java.lang.Integer getyImatge()
           
 void setComentari(java.lang.String comentari)
           
 void setJaciment(int jaciment)
           
 void setJaciment(java.lang.String jaciment)
           
 void setN(int n)
           
 void setN(java.lang.String n)
           
 void setObjecte(int objecte)
           
 void setObjecte(java.lang.String objecte)
           
 void setPeriode(int periode)
           
 void setPeriode(java.lang.String periode)
           
 void setUrl(java.lang.String url)
           
 void setxImatge(int xImatge)
           
 void setxImatge(java.lang.String xImatge)
           
 void setyImatge(int yImatge)
           
 void setyImatge(java.lang.String yImatge)
           
 java.lang.String toString()
          Sobres-escriu el mètode toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Imatge

public Imatge()
Constructor null;


Imatge

public Imatge(java.lang.String registre)
Constructor a partir d'una línia del fitxer font.

Parameters:
registre - Una fila del fitxer amb les dades del període.
Method Detail

toString

public java.lang.String toString()
Sobres-escriu el mètode toString

Overrides:
toString in class java.lang.Object

afegeix

public java.lang.String afegeix()
Retorna una cadena sql per afegir el registre a la taula d'imatges

Returns:

getPeriode

public int getPeriode()

setPeriode

public void setPeriode(int periode)

setPeriode

public void setPeriode(java.lang.String periode)

getJaciment

public int getJaciment()

setJaciment

public void setJaciment(int jaciment)

setJaciment

public void setJaciment(java.lang.String jaciment)

getObjecte

public int getObjecte()

setObjecte

public void setObjecte(int objecte)

setObjecte

public void setObjecte(java.lang.String objecte)

getN

public int getN()

setN

public void setN(int n)

setN

public void setN(java.lang.String n)

getUrl

public java.lang.String getUrl()

setUrl

public void setUrl(java.lang.String url)

getComentari

public java.lang.String getComentari()

setComentari

public void setComentari(java.lang.String comentari)

getxImatge

public java.lang.Integer getxImatge()

setxImatge

public void setxImatge(int xImatge)

setxImatge

public void setxImatge(java.lang.String xImatge)

getyImatge

public java.lang.Integer getyImatge()

setyImatge

public void setyImatge(int yImatge)

setyImatge

public void setyImatge(java.lang.String yImatge)