mil.dod.th.ose.core/src/mil/dod/th/ose/core/factory/impl/FactoryConfigurationService.java
private ArrayList<AttributeDefinition> buildAdList(final int filter)
    {
        final ArrayList<AttributeDefinition> adList = new ArrayList<AttributeDefinition>();

        // Add the service specific attributes
        final AttributeDefinition[] serviceAttrs = getServiceAttributeDefinitions(filter);
        if (serviceAttrs != null)
        {
            for (AttributeDefinition attr : serviceAttrs)
            {
                adList.add(attr);
            }
        }

        // Add the product specific attributes
        final AttributeDefinition[] pluginAttrs = m_Factory.getPluginAttributeDefinitions(filter);
        if (pluginAttrs != null)
        {
            for (AttributeDefinition attr : pluginAttrs)
            {
                adList.add(attr);
            }
        }
        
        return adList;
    }
/**
     * Builds an ArrayList of attributes.
     * 
     * @param filter
     *  Whether the attribute is required or optional
     * @return
     *  Filter specific definitions 
     */
Builds an ArrayList of attributes.

@param filter
Whether the attribute is required or optional
@return
Filter specific definitions
Builds an ArrayList of attributes . @param filter Whether the attribute is required or optional @return Filter specific definitions
private ArrayList<AttributeDefinition> buildAdList(final int filter)
    {
        final ArrayList<AttributeDefinition> adList = new ArrayList<AttributeDefinition>();
        final AttributeDefinition[] serviceAttrs = getServiceAttributeDefinitions(filter);
        if (serviceAttrs != null)
        {
            for (AttributeDefinition attr : serviceAttrs)
            {
                adList.add(attr);
            }
        }
        final AttributeDefinition[] pluginAttrs = m_Factory.getPluginAttributeDefinitions(filter);
        if (pluginAttrs != null)
        {
            for (AttributeDefinition attr : pluginAttrs)
            {
                adList.add(attr);
            }
        }
        return adList;
    }
private ArrayList < AttributeDefinition > buildAdList ( final int filter ) { final ArrayList < AttributeDefinition > adList = new ArrayList < AttributeDefinition > ( ) ; final AttributeDefinition [ ] serviceAttrs = getServiceAttributeDefinitions ( filter ) ; if ( serviceAttrs != null ) { for ( AttributeDefinition attr : serviceAttrs ) { adList . add ( attr ) ; } } final AttributeDefinition [ ] pluginAttrs = m_Factory . getPluginAttributeDefinitions ( filter ) ; if ( pluginAttrs != null ) { for ( AttributeDefinition attr : pluginAttrs ) { adList . add ( attr ) ; } } return adList ; }
Builds an ArrayList of attributes.
Builds an ArrayList of attributes .
// Add the service specific attributes // Add the product specific attributes