public static ProcessCacheObject createTestProcess1(){
  ProcessCacheObject processCacheObject=new ProcessCacheObject(new Long(90),"Test Process",new Long(1200),100,100);
  processCacheObject.setDescription("Test process description");
  processCacheObject.setAliveInterval(60);
  processCacheObject.setAliveTagId(new Long(510));
  processCacheObject.setStateTagId(510L);
  processCacheObject.setSupervisionStatus(SupervisionStatus.DOWN);
  processCacheObject.setStatusTime(new Timestamp(System.currentTimeMillis()));
  processCacheObject.setStartupTime(new Timestamp(0));
  processCacheObject.setStatusDescription("Status description");
  processCacheObject.setCurrentHost("test host");
  processCacheObject.setRequiresReboot(false);
  processCacheObject.setProcessPIK(12345L);
  processCacheObject.setLocalConfig(LocalConfig.Y);
  return processCacheObject;
}

public static ProcessCacheObject createTestProcess1 ( ) { ProcessCacheObject processCacheObject = new ProcessCacheObject ( new Long ( 90 ) , "Test Process" , new Long ( 1200 ) , 100 , 100 ) ; processCacheObject . setDescription ( "Test process description" ) ; processCacheObject . setAliveInterval ( 60 ) ; processCacheObject . setAliveTagId ( new Long ( 510 ) ) ; processCacheObject . setStateTagId ( 510L ) ; processCacheObject . setSupervisionStatus ( SupervisionStatus . DOWN ) ; processCacheObject . setStatusTime ( new Timestamp ( System . currentTimeMillis ( ) ) ) ; processCacheObject . setStartupTime ( new Timestamp ( 0 ) ) ; processCacheObject . setStatusDescription ( "Status description" ) ; processCacheObject . setCurrentHost ( "test host" ) ; processCacheObject . setRequiresReboot ( false ) ; processCacheObject . setProcessPIK ( 12345L ) ; processCacheObject . setLocalConfig ( LocalConfig . Y ) ; return processCacheObject ; }
uses jectest01 alive id and state id ( for fk constraints ) .
