mil.dod.th.ose.gui.webapp/src/mil/dod/th/ose/gui/webapp/asset/CommandNodeModel.java
public void validateValue(final FacesContext context, final UIComponent component, final Object value) 
            throws ValidatorException
    {
        if (!m_Type.isPrimitive() && (value == null || value.equals("")))
        {
            return;
        }
        
        final ValidationEnum result = 
                ArgumentValidatorUtil.isValidValue((String)value, null, null, m_Type);
        if (result != ValidationEnum.PASSED)
        {
            final FacesMessage msg = new FacesMessage(FacesMessage.SEVERITY_ERROR, result.toString(), null);
            throw new ValidatorException(msg);
        }
    }
/**
     * Method used to validate the value being set for the command field. This validation only happens for primitive
     * types and their wrapper classes.
     * 
     * @param context
     *          The current faces context, method interface is defined by JSF so parameter is required even if not used
     * @param component
     *          The JSF component calling the validate method, , method interface is defined by JSF so parameter is 
     *          required even if not used
     * @param value
     *          The value being validated.
     * @throws ValidatorException
     *          Thrown value passed is not valid.
     */
Method used to validate the value being set for the command field. This validation only happens for primitive
types and their wrapper classes.

@param context
The current faces context, method interface is defined by JSF so parameter is required even if not used
@param component
The JSF component calling the validate method, , method interface is defined by JSF so parameter is
required even if not used
@param value
The value being validated.
@throws ValidatorException
Thrown value passed is not valid.
Method used to validate the value being set for the command field . This validation only happens for primitive types and their wrapper classes . @param context The current faces context method interface is defined by JSF so parameter is required even if not used @param component The JSF component calling the validate method method interface is defined by JSF so parameter is required even if not used @param value The value being validated . @throws ValidatorException Thrown value passed is not valid .
public void validateValue(final FacesContext context, final UIComponent component, final Object value) 
            throws ValidatorException
    {
        if (!m_Type.isPrimitive() && (value == null || value.equals("")))
        {
            return;
        }
        final ValidationEnum result = 
                ArgumentValidatorUtil.isValidValue((String)value, null, null, m_Type);
        if (result != ValidationEnum.PASSED)
        {
            final FacesMessage msg = new FacesMessage(FacesMessage.SEVERITY_ERROR, result.toString(), null);
            throw new ValidatorException(msg);
        }
    }
public void validateValue ( final FacesContext context , final UIComponent component , final Object value ) throws ValidatorException { if ( ! m_Type . isPrimitive ( ) && ( value == null || value . equals ( "" ) ) ) { return ; } final ValidationEnum result = ArgumentValidatorUtil . isValidValue ( ( String ) value , null , null , m_Type ) ; if ( result != ValidationEnum . PASSED ) { final FacesMessage msg = new FacesMessage ( FacesMessage . SEVERITY_ERROR , result . toString ( ) , null ) ; throw new ValidatorException ( msg ) ; } }
Method used to validate the value being set for the command field.
Method used to validate the value being set for the command field .