mil.dod.th.ose.core.integration/src/mil/dod/th/ose/core/integration/TestObservation.java
private Observation createBaseObservation()
    {
        Observation observation = new Observation();

        // set minimum fields
        observation.setAssetUuid(UUID.randomUUID());
        observation.setAssetName("asset.name");
        observation.setAssetType("asset.product.type");
        observation.setSystemInTestMode(false);
        observation.setSensorId("asset.sensor.id");
        observation.setCreatedTimestamp(3L);
        observation.setUuid(UUID.randomUUID());
        observation.setVersion(new Version(1,2));
        observation.setSystemId(159);

        return observation;
    }
/**
     * Create a base observation with only the common/required fields set.
     * 
     * @return
     *  the base observation
     */
Create a base observation with only the common/required fields set.

@return
the base observation
Create a base observation with only the common / required fields set . @return the base observation
private Observation createBaseObservation()
    {
        Observation observation = new Observation();
        observation.setAssetUuid(UUID.randomUUID());
        observation.setAssetName("asset.name");
        observation.setAssetType("asset.product.type");
        observation.setSystemInTestMode(false);
        observation.setSensorId("asset.sensor.id");
        observation.setCreatedTimestamp(3L);
        observation.setUuid(UUID.randomUUID());
        observation.setVersion(new Version(1,2));
        observation.setSystemId(159);
        return observation;
    }
private Observation createBaseObservation ( ) { Observation observation = new Observation ( ) ; observation . setAssetUuid ( UUID . randomUUID ( ) ) ; observation . setAssetName ( "asset.name" ) ; observation . setAssetType ( "asset.product.type" ) ; observation . setSystemInTestMode ( false ) ; observation . setSensorId ( "asset.sensor.id" ) ; observation . setCreatedTimestamp ( 3L ) ; observation . setUuid ( UUID . randomUUID ( ) ) ; observation . setVersion ( new Version ( 1 , 2 ) ) ; observation . setSystemId ( 159 ) ; return observation ; }
Create a base observation with only the common/required fields set.
Create a base observation with only the common / required fields set .
// set minimum fields