plp.orientadaObjetos2.memoria
Class ContextoExecucaoOO2
java.lang.Object
plp.orientadaObjetos1.memoria.ContextoExecucao
plp.orientadaObjetos2.memoria.ContextoExecucaoOO2
- All Implemented Interfaces:
- Ambiente, AmbienteExecucao, AmbienteExecucaoOO2
public class ContextoExecucaoOO2
- extends ContextoExecucao
- implements AmbienteExecucaoOO2
Methods inherited from class plp.orientadaObjetos1.memoria.ContextoExecucao |
changeValor, getContextoIdValor, getDefClasse, getEntrada, getObjeto, getPilha, getPilhaDefClasse, getPilhaObjeto, getProxRef, getRef, getSaida, getValor, incrementa, mapDefClasse, mapObjeto, mapValor, read, restaura, toString, write |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface plp.orientadaObjetos1.memoria.AmbienteExecucao |
changeValor, getContextoIdValor, getDefClasse, getEntrada, getObjeto, getPilha, getPilhaDefClasse, getPilhaObjeto, getProxRef, getRef, getSaida, getValor, mapDefClasse, mapObjeto, mapValor, read, write |
ContextoExecucaoOO2
public ContextoExecucaoOO2()
ContextoExecucaoOO2
public ContextoExecucaoOO2(AmbienteExecucao ambiente)
throws VariavelJaDeclaradaException
- Throws:
VariavelJaDeclaradaException
mapSuperClasse
public void mapSuperClasse(Id classe,
Id superClasse)
throws ClasseNaoDeclaradaException
- Description copied from interface:
AmbienteExecucaoOO2
- Mapeia um identificador de classe com o identificador da super-classe.
- Specified by:
mapSuperClasse
in interface AmbienteExecucaoOO2
- Parameters:
classe
- identificador da sub-classesuperClasse
- identificador da super-classe
- Throws:
ClasseNaoDeclaradaException
- Quando a super-classe nao foi declarada
getSuperClasse
public DefClasse getSuperClasse(Id classe)
throws ClasseNaoDeclaradaException
- Description copied from interface:
AmbienteExecucaoOO2
- Dado um identificador da classe, recupera a super-classe
- Specified by:
getSuperClasse
in interface AmbienteExecucaoOO2
- Parameters:
classe
- identificador da classe base
- Returns:
- Definicao da super classe
- Throws:
ClasseNaoDeclaradaException
- Quando a classe ainda nao foi definida
getMapSuperClasse
public java.util.Map<Id,Id> getMapSuperClasse()
- Specified by:
getMapSuperClasse
in interface AmbienteExecucaoOO2