public static EquipmentCacheObject createTestEquipment(){
  EquipmentCacheObject equipmentCacheObject=new EquipmentCacheObject(new Long(100),"Test Equipment","Test desc","Test class name","Test address",new Long(1222),new Long(5000200),10,new Long(1223),new Long(90));
  equipmentCacheObject.setStatusDescription("Status description");
  equipmentCacheObject.setStatusTime(new Timestamp(System.currentTimeMillis()));
  equipmentCacheObject.setSupervisionStatus(SupervisionStatus.DOWN);
  return equipmentCacheObject;
}

public static EquipmentCacheObject createTestEquipment ( ) { EquipmentCacheObject equipmentCacheObject = new EquipmentCacheObject ( new Long ( 100 ) , "Test Equipment" , "Test desc" , "Test class name" , "Test address" , new Long ( 1222 ) , new Long ( 5000200 ) , 10 , new Long ( 1223 ) , new Long ( 90 ) ) ; equipmentCacheObject . setStatusDescription ( "Status description" ) ; equipmentCacheObject . setStatusTime ( new Timestamp ( System . currentTimeMillis ( ) ) ) ; equipmentCacheObject . setSupervisionStatus ( SupervisionStatus . DOWN ) ; return equipmentCacheObject ; }
creates test equipment ( uses jectest03 foreign keys ) .
