return(false);
}
@Override
protected MenuElementDefinitionREF typeCheck(Object value) throws DmcValueException {
MenuElementDefinitionREF rc = null;
if (value instanceof MenuElementDefinitionREF)
rc = (MenuElementDefinitionREF)value;
else if (value instanceof MenuElementDefinitionDMO)
rc = new MenuElementDefinitionREF((MenuElementDefinitionDMO)value);
else if (value instanceof CamelCaseName)
rc = new MenuElementDefinitionREF((CamelCaseName)value);
else if (value instanceof String)
rc = new MenuElementDefinitionREF((String)value);
else
throw(new DmcValueException("Object of class: " + value.getClass().getName() + " passed where object compatible with MenuElementDefinitionREF, MenuElementDefinitionDMO or String expected."));
return(rc);
}