mil.dod.th.ose.test/src/mil/dod/th/ose/test/AttributeDefinitionMocker.java
public static AttributeDefinition[] mockArrayOptional()
    {
        AttributeDefinition[] attrs = new AttributeDefinition[4];
        attrs[0] = mockIt("id1","name1", "desc1", AttributeDefinition.BOOLEAN, "false");
        attrs[1] = mockIt("id2","name2", "desc2", AttributeDefinition.INTEGER, "1");
        attrs[2] = mockIt("id3","name3", "desc3", AttributeDefinition.STRING, "value");
        attrs[3] = mockIt("id4","name4", "desc4", AttributeDefinition.FLOAT, "1.1");
        
        return attrs;
    }
/**
     * Create an array of optional {@link AttributeDefinition}s for testing.
     */
Create an array of optional  AttributeDefinitions for testing.
Create an array of optional AttributeDefinitions for testing .
public static AttributeDefinition[] mockArrayOptional()
    {
        AttributeDefinition[] attrs = new AttributeDefinition[4];
        attrs[0] = mockIt("id1","name1", "desc1", AttributeDefinition.BOOLEAN, "false");
        attrs[1] = mockIt("id2","name2", "desc2", AttributeDefinition.INTEGER, "1");
        attrs[2] = mockIt("id3","name3", "desc3", AttributeDefinition.STRING, "value");
        attrs[3] = mockIt("id4","name4", "desc4", AttributeDefinition.FLOAT, "1.1");
        return attrs;
    }
public static AttributeDefinition [ ] mockArrayOptional ( ) { AttributeDefinition [ ] attrs = new AttributeDefinition [ 4 ] ; attrs [ 0 ] = mockIt ( "id1" , "name1" , "desc1" , AttributeDefinition . BOOLEAN , "false" ) ; attrs [ 1 ] = mockIt ( "id2" , "name2" , "desc2" , AttributeDefinition . INTEGER , "1" ) ; attrs [ 2 ] = mockIt ( "id3" , "name3" , "desc3" , AttributeDefinition . STRING , "value" ) ; attrs [ 3 ] = mockIt ( "id4" , "name4" , "desc4" , AttributeDefinition . FLOAT , "1.1" ) ; return attrs ; }
Create an array of optional {@link AttributeDefinition}s for testing.
Create an array of optional { @link AttributeDefinition } s for testing .