1700471104
1700471105
public String getState1(){
1700471106
1700471107
return state1;
1700471108
1700471109
}
1700471110
1700471111
public void setState1(String state1){
1700471112
1700471113
this.state1=state1;
1700471114
1700471115
}
1700471116
1700471117
public String getState2(){
1700471118
1700471119
return state2;
1700471120
1700471121
}
1700471122
1700471123
public void setState2(String state2){
1700471124
1700471125
this.state2=state2;
1700471126
1700471127
}
1700471128
1700471129
public String getState3(){
1700471130
1700471131
return state3;
1700471132
1700471133
}
1700471134
1700471135
public void setState3(String state3){
1700471136
1700471137
this.state3=state3;
1700471138
1700471139
}
1700471140
1700471141
//创建一个备忘录
1700471142
1700471143
public Memento createMemento(){
1700471144
1700471145
return new Memento(BeanUtils.backupProp(this));
1700471146
1700471147
}
1700471148
1700471149
//恢复一个备忘录
1700471150
1700471151
public void restoreMemento(Memento_memento){
1700471152
1700471153
BeanUtils.restoreProp(this,_memento.getStateMap());
[
上一页 ]
[ :1.700471104e+09 ]
[
下一页 ]