예제 #1
0
 public String getTypeCode() {
   if (baUnitType != null) {
     return baUnitType.getCode();
   } else {
     return null;
   }
 }
예제 #2
0
 public void setTypeCode(String typeCode) {
   String oldValue = null;
   if (baUnitType != null) {
     oldValue = baUnitType.getCode();
   }
   setBaUnitType(CacheManager.getBeanByCode(CacheManager.getBaUnitTypes(), typeCode));
   propertySupport.firePropertyChange(TYPE_CODE_PROPERTY, oldValue, typeCode);
 }