cincamipd/src/main/java/org/ciedayap/ipd/measurement/TraceGroup.java
public static synchronized TraceGroup create(String ID, String name)
    {
        if(StringUtils.isEmpty(ID) || StringUtils.isEmpty(name)) return null;
        
        TraceGroup tg=new TraceGroup();
        tg.setTraceGroupID(ID);
        tg.setName(name);
        
        return tg;
    }
/**
     * A factory method 
     * @param ID The ID of the trace group
     * @param name The name of the trace group
     * @return It returns an instance when the parameters are defined properly, null otherwise.
     */
A factory method
@param ID The ID of the trace group
@param name The name of the trace group
@return It returns an instance when the parameters are defined properly, null otherwise.
A factory method @param ID The ID of the trace group @param name The name of the trace group @return It returns an instance when the parameters are defined properly null otherwise .
public static synchronized TraceGroup create(String ID, String name)
    {
        if(StringUtils.isEmpty(ID) || StringUtils.isEmpty(name)) return null;
        TraceGroup tg=new TraceGroup();
        tg.setTraceGroupID(ID);
        tg.setName(name);
        return tg;
    }
public static synchronized TraceGroup create ( String ID , String name ) { if ( StringUtils . isEmpty ( ID ) || StringUtils . isEmpty ( name ) ) return null ; TraceGroup tg = new TraceGroup ( ) ; tg . setTraceGroupID ( ID ) ; tg . setName ( name ) ; return tg ; }
A factory method
 @param ID The ID of the trace group
 @param name The name of the trace group
 @return It returns an instance when the parameters are defined properly, null otherwise.
A factory method @param ID The ID of the trace group @param name The name of the trace group @return It returns an instance when the parameters are defined properly null otherwise .