mil.dod.th.ose.core/test/mil/dod/th/ose/core/factory/api/data/TestBaseFactoryObjectDataManager.java
public FactoryObjectData createFactoryObjectData(final String name, final String pid)
    {
        if (pid == null)
        {
            return FactoryObjectData.newBuilder().setName(name).build();
        }
        else
        {
            return FactoryObjectData.newBuilder().setName(name).setPid(pid).build();
        }
    }
/**
     * Helper method to create a factory object data entry with the given name and pid.
     * @param name
     *     name to assign to the data object
     * @param pid
     *     pid to assign to the data object, if null then no pid will be assigned
     */
Helper method to create a factory object data entry with the given name and pid.
@param name
name to assign to the data object
@param pid
pid to assign to the data object, if null then no pid will be assigned
Helper method to create a factory object data entry with the given name and pid . @param name name to assign to the data object @param pid pid to assign to the data object if null then no pid will be assigned
public FactoryObjectData createFactoryObjectData(final String name, final String pid)
    {
        if (pid == null)
        {
            return FactoryObjectData.newBuilder().setName(name).build();
        }
        else
        {
            return FactoryObjectData.newBuilder().setName(name).setPid(pid).build();
        }
    }
public FactoryObjectData createFactoryObjectData ( final String name , final String pid ) { if ( pid == null ) { return FactoryObjectData . newBuilder ( ) . setName ( name ) . build ( ) ; } else { return FactoryObjectData . newBuilder ( ) . setName ( name ) . setPid ( pid ) . build ( ) ; } }
Helper method to create a factory object data entry with the given name and pid.
Helper method to create a factory object data entry with the given name and pid .