br.edu.fei.dcc.raciocinioespacial.simulador.persistencia
Class PersistenciaSimulacao
java.lang.Object
br.edu.fei.dcc.raciocinioespacial.simulador.persistencia.PersistenciaSimulacao
- All Implemented Interfaces:
- IPersistencia
public class PersistenciaSimulacao
- extends java.lang.Object
- implements IPersistencia
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PersistenciaSimulacao
public PersistenciaSimulacao(java.lang.String nomeArquivo)
PersistenciaSimulacao
public PersistenciaSimulacao(java.lang.String nomeArquivo,
Simulacao simulacao)
getNomeArquivo
public java.lang.String getNomeArquivo()
getSimulacao
public Simulacao getSimulacao()
setNomeArquivo
public void setNomeArquivo(java.lang.String nomeArquivo)
setSimulacao
public void setSimulacao(Simulacao simulacao)
obter
public Simulacao obter()
throws java.lang.Exception
- Throws:
java.lang.Exception
salvar
public void salvar()
throws java.lang.Exception
- Throws:
java.lang.Exception