question: public static DataTagCacheObject createTestDataTag ( ) { DataTagCacheObject cacheObject = new DataTagCacheObject ( ) ; cacheObject . setId ( new Long ( 100000 ) ) ; cacheObject . setName ( "Junit_test_datatag1" ) ; cacheObject . setDescription ( "test description" ) ; cacheObject . setMode ( DataTagConstants . MODE_TEST ) ; cacheObject . setDataType ( "Boolean" ) ; cacheObject . setLogged ( false ) ; cacheObject . setUnit ( "test unit m/sec" ) ; cacheObject . setDipAddress ( "testDIPaddress" ) ; cacheObject . setJapcAddress ( "testJAPCaddress" ) ; cacheObject . setValue ( Boolean . TRUE ) ; cacheObject . setValueDescription ( "test value description" ) ; cacheObject . setSimulated ( false ) ; cacheObject . setEquipmentId ( new Long ( 100 ) ) ; cacheObject . setMinValue ( new Float ( 23.3 ) ) ; cacheObject . setMaxValue ( new Float ( 12.2 ) ) ; cacheObject . setValueDictionary ( new DataTagValueDictionary ( ) ) ; cacheObject . setAddress ( new DataTagAddress ( ) ) ; cacheObject . setDataTagQuality ( createValidQuality ( ) ) ; cacheObject . setCacheTimestamp ( new Timestamp ( System . currentTimeMillis ( ) ) ) ; cacheObject . setDaqTimestamp ( new Timestamp ( System . currentTimeMillis ( ) ) ) ; cacheObject . setSourceTimestamp ( new Timestamp ( System . currentTimeMillis ( ) ) ) ; cacheObject . setRuleIdsString ( "130" ) ; return cacheObject ; }
target:  Need to first insert test equipment using EquipmentMapper