Subversion Repositories SmartDukaan

Rev

Rev 5519 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5519 Rev 5759
Line 48... Line 48...
48
			tEntity.setId(entity.getId());
48
			tEntity.setId(entity.getId());
49
			tEntity.setEntityType(entity.getEntityType());
49
			tEntity.setEntityType(entity.getEntityType());
50
			tEntity.setEventType(entity.getEventType());
50
			tEntity.setEventType(entity.getEventType());
51
			tEntity.setEntityIdentifier(entity.getEntityIdentifier());
51
			tEntity.setEntityIdentifier(entity.getEntityIdentifier());
52
			tEntity.setEntityProcessedState(entity.getEntityProcessedState());
52
			tEntity.setEntityProcessedState(entity.getEntityProcessedState());
-
 
53
			if(entity.getWarnExpiryTime()!=null){
53
			tEntity.setWarnExpiryTime(entity.getWarnExpiryTime().getTime());
54
				tEntity.setWarnExpiryTime(entity.getWarnExpiryTime().getTime());
-
 
55
			}
-
 
56
			if(entity.getCriticalExpiryTime()!=null){
54
			tEntity.setCriticalExpiryTime(entity.getCriticalExpiryTime().getTime());
57
				tEntity.setCriticalExpiryTime(entity.getCriticalExpiryTime().getTime());
-
 
58
			}
55
			tEntity.setDescription(entity.getEntityProperties());
59
			tEntity.setDescription(entity.getEntityProperties());
56
			return tEntity;
60
			return tEntity;
57
		}
61
		}
58
		return null;
62
		return null;
59
	}
63
	}