public static SubEquipmentCacheObject createTestSubEquipment(){
  SubEquipmentCacheObject subEquipmentCacheObject=new SubEquipmentCacheObject(new Long(101),"Test SubEquipment","Test desc","Test class name",new Long(1222),new Long(5000300),10,new Long(1223),new Long(100));
  subEquipmentCacheObject.setStatusDescription("Status description");
  subEquipmentCacheObject.setStatusTime(new Timestamp(System.currentTimeMillis()));
  subEquipmentCacheObject.setSupervisionStatus(SupervisionStatus.DOWN);
  return subEquipmentCacheObject;
}

public static SubEquipmentCacheObject createTestSubEquipment ( ) { SubEquipmentCacheObject subEquipmentCacheObject = new SubEquipmentCacheObject ( new Long ( 101 ) , "Test SubEquipment" , "Test desc" , "Test class name" , new Long ( 1222 ) , new Long ( 5000300 ) , 10 , new Long ( 1223 ) , new Long ( 100 ) ) ; subEquipmentCacheObject . setStatusDescription ( "Status description" ) ; subEquipmentCacheObject . setStatusTime ( new Timestamp ( System . currentTimeMillis ( ) ) ) ; subEquipmentCacheObject . setSupervisionStatus ( SupervisionStatus . DOWN ) ; return subEquipmentCacheObject ; }
creates a test subequipment of the created equipment . again uses tags from jectest03 .
